Re: How to load balance under DHCP

From: Donghai Zhang (zdh1207@gmail.com)
Date: Sun Sep 02 2007 - 07:59:44 ART


thanks for your kindness,Narbik. However, what I need is that half of the
hosts have the 131.1.25.2 as their default gatewany, and the other half have
131.1.25.22 as their gateway. If you set those PCs one by one , surely they
do. But with a DHCP server, how to tell the server to do as you wish?

2007/9/2, Narbik Kocharians <narbikk@gmail.com>:
>
> *Task 1*
>
>
>
> Configure VLAN25 such that half of the users use R2 as the primary default
> gateway and R5 as the backup. The other half should use R5 as the primary
> and R2 as their backup default gateway. Use the following IP addresses to
> accomplish this task:
>
>
>
> 131.1.25.22 /24 and 131.1.25.55 /24
>
>
>
> * *
>
> *On R2*
>
> * *
>
> R2(config)#int f0/0
>
> *R2(config-if)#standby 1 priority 200*
>
> *R2(config-if)#standby 1 preempt*
>
> *R2(config-if)#standby 1 ip 131.1.25.22*
>
> R2(config-if)#standby 2 ip 131.1.25.55
>
>
>
> *On R5*
>
>
>
> R5(config)#int f0/0
>
> R5(config-if)#standby 1 ip 131.1.25.22
>
> *R5(config-if)#standby 2 ip 131.1.25.55*
>
> *R5(config-if)#standby 2 preempt*
>
> *R5(config-if)#standby 2 priority 200*
>
> * *
>
> * *
>
> *To verify the configuration:*
>
> * *
>
>
>
> *On R2*
>
> * *
>
> *show standby brief*
>
> * *
>
> P indicates configured to preempt.
>
> |
>
> Interface Grp Prio P State Active Standby Virtual
> IP
>
> Fa0/0 *1 200 P Active local* 131.1.25.5
> 131.1.25.22
>
> Fa0/0 2 100 Standby 131.1.25.5 local
> 131.1.25.55
>
> * *
>
> * *
>
> *On R5*
>
> * *
>
> *Show standby brief*
>
> * *
>
> P indicates configured to preempt.
>
> |
>
> Interface Grp Prio P State Active Standby Virtual
> IP
>
> Fa0/0 1 100 Standby 131.1.25.2 local
> 131.1.25.22
>
> Fa0/0 * 2 200 P Active local* 131.1.25.2
> 131.1.25.55
>
>
>
> *Note R2 is the active router for group 1 and standby for group 2, whereas
> R5 is the active for group 2 and standby for group 1.*
>
>
> I thought i should copy one of the tasks from my work book, is this what
> you were looking for?
>
>
> On 9/2/07, Donghai Zhang <zdh1207@gmail.com> wrote:
> >
> > Dear Travis,
> > HSRP groups can serve as gateway redundancy, not as load balance.
> > Actually what I have done is seting two groups,one for half of the
> > hosts,and
> > one for the rest. The problems is how to let hosts get the right
> > default-gateway address? Maybe you could do it manually, but with DHCP,
> > how
> > to let the DHCP server give one host this default gateway and next host
> > the
> > other one?
> >
> >
> > 2007/9/2, Travis Anderson <totaldrive2000@yahoo.com>:
> > >
> > > You can use HSRP groups.
> > >
> > >
> > >
> > http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094e90.shtml
> > >
> > > Travis,
> > > --- Donghai Zhang <zdh1207@gmail.com> wrote:
> > >
> > > > Hey,dear friends,
> > > > I have my local LAN with two HSRP routers
> > > > implemented, as the gateways.
> > > > I also have a DHCP servers deployed. There's only
> > > > one C type address that I
> > > > can use inside the DHCP pool. What I need is that
> > > > half of the hosts get one
> > > > default gateway, and the other half get a different
> > > > gateway, I have the only
> > > > choice of using HSRP as the gateway backup protocol.
> > > > How Can I do it ? I
> > > > know by GLBP is OK,but which is out of question.
> > > > thanx.
> > > >
> > > >
> > >
> > _______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > ____________________________________________________________________________________
> > > Choose the right car based on your needs. Check out Yahoo! Autos new
> > Car
> > > Finder tool.
> > > http://autos.yahoo.com/carfinder/
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
>
>
>
> --
> Narbik Kocharians
> CCIE# 12410 (R&S, SP, Security)
> CCSI# 30832
> www.Net-WorkBooks.com <http://www.net-workbooks.com/>



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:09 ART