Dear All, I have a network with 500 vlan and I bind all these 500 vlan into 1 bridge interface. Then I have run a dhcp server on this bridge interface to provide dhcp to all the computer in the vlan. It look find all the time, but sometime, some of the computer on vlan will not able to get the ip from dhcp server but after I remove the vlan and add back to the bridge it will work again. The most serious case is sometime there will be a dhcp problem on vlan 1 as well, and I need to reboot the server only can make the service back to normal. The setting is as below Vconfig add eth1 2 Vconfig add eth1 3 . . . . . .vconfig add eth1 500 Then ifconfig eth1.2 up ?. Ifconfig eth1.500 up Then brctl addbr br1, brctl addif br1 eth1.2 ??. Brctl addif br1 eth1.500 Does anyone have face this problem before? Your reply is highly appreciate. Thank you. Regards, Kian Yang, Liew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20101031/7694a88b/attachment.htm
On Sun, 31 Oct 2010 00:31:11 +0800 Kian Yang Liew <liewkianyang at gmail.com> wrote:> Dear All, > > > > I have a network with 500 vlan and I bind all these 500 vlan into 1 bridge > interface. Then I have run a dhcp server on this bridge interface to provide > dhcp to all the computer in the vlan. It look find all the time, but > sometime, some of the computer on vlan will not able to get the ip from dhcp > server but after I remove the vlan and add back to the bridge it will work > again. The most serious case is sometime there will be a dhcp problem on > vlan 1 as well, and I need to reboot the server only can make the service > back to normal. > > > > The setting is as below > > > > > > Vconfig add eth1 2 > > Vconfig add eth1 3 > > . > > . > > . > > . > > . > > .vconfig add eth1 500 > > > > Then ifconfig eth1.2 up ?. Ifconfig eth1.500 up > > Then brctl addbr br1, brctl addif br1 eth1.2 ??. Brctl addif br1 eth1.500 > > > > Does anyone have face this problem before? Your reply is highly appreciate. >brctl stp br0 off brctl setfd br0 0
Dear Stephen, Thank you for your information. I will try and let you know the result :) Regards, Kian Yang, Liew -----Original Message----- From: Stephen Hemminger [mailto:shemminger at linux-foundation.org] Sent: 2010?11?7? 12:27 To: Kian Yang Liew Cc: bridge at linux-foundation.org; Liew Kian Yang Subject: Re: [Bridge] DHCP problem on bridge On Sun, 31 Oct 2010 00:31:11 +0800 Kian Yang Liew <liewkianyang at gmail.com> wrote:> Dear All, > > > > I have a network with 500 vlan and I bind all these 500 vlan into 1 bridge > interface. Then I have run a dhcp server on this bridge interface toprovide> dhcp to all the computer in the vlan. It look find all the time, but > sometime, some of the computer on vlan will not able to get the ip fromdhcp> server but after I remove the vlan and add back to the bridge it will work > again. The most serious case is sometime there will be a dhcp problem on > vlan 1 as well, and I need to reboot the server only can make the service > back to normal. > > > > The setting is as below > > > > > > Vconfig add eth1 2 > > Vconfig add eth1 3 > > . > > . > > . > > . > > . > > .vconfig add eth1 500 > > > > Then ifconfig eth1.2 up ?. Ifconfig eth1.500 up > > Then brctl addbr br1, brctl addif br1 eth1.2 ??. Brctl addif br1eth1.500> > > > Does anyone have face this problem before? Your reply is highlyappreciate.>brctl stp br0 off brctl setfd br0 0