From: jerry.du@accenture.com
Date: Sun Sep 02 2007 - 10:08:27 ART
Donghai,
You can consider split your DHCP to two DHCP servers and place those
DHCP server into a pool of load balance with a VIP. Config two DHCP
server to different gateway and config helper-address by DHCP VIP
address.
Like this:
1.DHCP server A(132.1.1.10) 132.1.25.0/24, reserved 128 IP address for
DHCP server B
2.DHCP server B(132.1.1.20) 132.1.25.0/24, reserved 128 IP address for
DHCP server A.
3. Put DHCP server 132.1.1.10 and 132.1.1.20 into load-balance pool with
VIP 132.1.1.30
4.Config helper-address 132.1.1.30 in HSRP configured router.
Regards,
Jerry
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Donghai Zhang
Sent: Sunday, September 02, 2007 7:00 PM
To: Narbik Kocharians
Cc: Travis Anderson; Cisco certification
Subject: Re: How to load balance under DHCP
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_e
xample09186a0080094e90.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.
> > > >
> > > >
> > >
> >
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:09 ART