Re: Gateway of HSRP

From: kym blair (kymblair@xxxxxxxxxxx)
Date: Mon Jun 17 2002 - 10:37:16 GMT-3


   
Correct, set the default gateway of the PCs to the HSRP address. In fact,
you can share the load. For example, you have a LAN with two routers out.
You can point the default gateway for half of the PCs to 192.168.1.1 and the
default gateway for the other half of the PC to 192.168.1.2.

ROUTER1

interface ethernet 0
  ip address 192.168.1.251 255.255.255.0
  standby 12 ip 192.168.1.1
  standby 12 priority 115 preempt
  standby 21 ip 192.168.1.2
  standby 21 priority 110

ROUTER2

interface ethernet 0
  ip address 192.168.1.252 255.255.255.0
  standby 12 ip 192.168.1.1
  standby 12 priority 110
  standby 21 ip 192.168.1.2
  standby 21 priority 115 preempt

In this example, PCs with a default gateway of 192.168.1.1 will use R1 as
their active gateway (group 12 higher priority) and R2 as the standby
gateway. PCs with a default gateway of 192.168.1.2 (group 21 higher
priority) will use R2 as their active gateway and R1 as the standby gateway.

Note: you can use 192.168.1.251 and 192.168.1.252 as default gateways too,
but any PC pointing to those addresses won't have a standby default gateway.

Note2: you can have more routers in a standby group (set to a lower
priority), but what are the chances of the first two routers both dying? A
third HSRP router is overkill.

Note3: the default HSRP priority is 100, so you don't really have to put the
priority on the backup router, just make sure the primary router has a
priority higher than 100.

HTH, Kym

>From: Tom Young <gitsyoung@yahoo.co.jp>
>Reply-To: Tom Young <gitsyoung@yahoo.co.jp>
>To: ccielab@groupstudy.com
>Subject: Gateway of HSRP
>Date: Mon, 17 Jun 2002 18:07:02 +0900 (JST)
>
>If I use the HRSP in LAN, so all the PC's default gateway
>should be the virtual IP address of the HSRP , right?
>
>Thanks alot
>
>



This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:34 GMT-3