|
From: Serge L. <ser...@gm...> - 2010-09-29 18:35:47
|
Bogdan, you are welcome Serge On 09/28/2010 08:33 PM, Bogdan Petrisor wrote: > I removed DHCP from eth0 and seems to work now > The thing is my DSL router (TP-Link) has a DHCP server even when you set it in bridge mode and I thought it was a good idea to enable it on my gateway too. It worked until now so I completely ignored this setting. > > Again thank you for your help and keep up the good work > > -------------------------------- > In the beginning there was nothing. Then, God said, "Let there be light". > And there was still nothing, but at least you could see it. > -------------------------------- > > > --- On Mon, 9/27/10, Bogdan Petrisor <pet...@ya...> wrote: > >> From: Bogdan Petrisor <pet...@ya...> >> Subject: Re: [Devil-Linux-discuss] devil-linux-1.4RC4 default gateway >> To: dev...@li... >> Date: Monday, September 27, 2010, 10:35 PM >> Hi Serge, >> >> I'll try this tomorrow (it's a bit late here) and let you >> know how it works. >> The DSL modem should be in bridge mode, I'll check that too >> ... >> >> Thank you for your time >> >> -------------------------------- >> In the beginning there was nothing. Then, God said, "Let >> there be light". >> And there was still nothing, but at least you could see >> it. >> -------------------------------- >> >> >> --- On Mon, 9/27/10, Serge Leschinsky >> <ser...@gm...> >> wrote: >> >>> From: Serge Leschinsky <ser...@gm...> >>> Subject: Re: [Devil-Linux-discuss] devil-linux-1.4RC4 >> default gateway >>> To: dev...@li... >>> Date: Monday, September 27, 2010, 2:40 AM >>> Hi Bogdan, >>> >>> After some tests I'm sure that pppoe server and client >> on >>> DL work correctly. The >>> specific of pppd behavior is declared in >>> '/usr/sbin/pppoe-start' script (and in >>> log file if you start pppoe in debug mode) >>> >>> $ECHO "* The following section lists your routing >> table." >>>>> $DEBUG >>> $ECHO "* If you have an entry which starts with >> '0.0.0.0', >>> you probably" >> $DEBUG >>> $ECHO "* have defined a default route and gateway, and >> pppd >>> will" >> $DEBUG >>> $ECHO "* not create a default route using your ISP. >>> Try getting" >> $DEBUG >>> $ECHO "* rid of this route." >> $DEBUG >>> >>> Unfortunately, I still don't understand your setup. If >> your >>> adsl modem works in >>> bridge mode, it shouldn’t respond on DHCP, if it's >> in >>> router mode - there is no >>> necessity to use pppoe... Assuming that it's in brige >> mode >>> I'd suggest keeping >>> the interface connected to adsl modem unconfigured >> (i.e. >>> set "DHCP=no" in the >>> config you posted) or add a line to adsl init script >> which >>> will remove default >>> gateway before pppd starting. >>> >>> Serge >>> >>> On 09/19/2010 08:15 PM, Bogdan Petrisor wrote: >>>> Hi Serge, >>>> >>>> root@annuminas:~ # cat >> /etc/sysconfig/nic/ifcfg-eth0 >>>> DEVICE=eth0 >>>> ONBOOT=yes >>>> MODULE="8139too" >>>> DHCP=yes >>>> IP= >>>> NETMASK= >>>> BROADCAST="" >>> >>> ..... >>> >>> |