Re: How to load balance under DHCP

From: Donghai Zhang (zdh1207@gmail.com)
Date: Sun Sep 02 2007 - 14:19:02 ART


Of course you are right but I could only use one router as DHCP server.

2007/9/3, daniel <igevioya@gmail.com>:
>
> Hi,
>
> You could use the routers as the dhcp servers with each router giving out
> seperate address range (from the same scope) and each router advertising the
> hsrp/glbp address as d default gateway.
>
> Rgds
> dan
>
> On 9/2/07, Donghai Zhang <zdh1207@gmail.com> wrote:
>
> > Dear Jerry,
> > I think you've given the right answer if it works. Thank you. As what
> > I
> > have done in this subject, I have only one dhcp server, so things left
> > to do
> > is to ask the boss to buy more a new one. But before I go to persuade
> > him,
> > can I have a little more simpler solution? Actually I have tried the way
> > similar to yours in one server (the difference is that mine has no VIP).
> > In
> > the dhcp server,I split the address, set into two different address
> > pools,each one having one half of the usable address;each pool has a
> > different default gateway. I found it works, but not so good as I wish.
> > The
> > dhcp didn't rotate between the two pools smoothly, basically hits counts
> > is
> > 10:2 or 10:3. that's what I got the best outcome. Loading balance did
> > occur,but not half vs.half.
> > Anyone show a solution as the way of Jerry's with only one DHCP will
> > be
> > appreciate.
> >
> > 2007/9/2, jerry.du@accenture.com <jerry.du@accenture.com>:
> > >
> > > 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.
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
> > _______________________________________________________________________
> > > > > > > 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/> <http://www.net-workbooks.com/
> > >
> > >
> > >
> > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> > > This message is for the designated recipient only and may contain
> > > privileged, proprietary, or otherwise private information. If you
> > have
> > > received it in error, please notify the sender immediately and delete
> > the
> > > original. Any other use of the email by you is prohibited.
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html



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