Child from KoRn
2005-Dec-31 02:23 UTC
Problem with /etc/shorewall/providers - GATEWAY DETECT
Hi all. (this is my first post, pls inform me if anything is missing) The joint file (trace.gz) contains all the information needed to let you help me. So pls take a look at it. To put you in context, heres a brief description of my problem: ------- My problem concerns the /etc/shorewall/providers file. I have a 3 Interfaces setup, (LAN(eth0), ISP1(ppp0) and ISP2(eth2)) If I boot my system with the loding of the interfaces in this order: LAN(eth0) ISP2(eth2) ISP1(ppp0) <---- Impose its Default Gateway. Then when shorewall starts, I get this error: ERROR: Unable to detect the gateway through interface eth2 But if I change the order at boot: LAN(eth0) ISP1(ppp0) ISP2(eth2) <---- Impose its Default Gateway. Then no errors. Why is this a problem ? How to fix this ? Thx SiO (remember, everything you need is in the joint attachement. thx Very Detailed, test, comments...)
Jerry Vonau
2005-Dec-31 02:45 UTC
Re: Problem with /etc/shorewall/providers - GATEWAY DETECT
Child from KoRn wrote:> Hi all. > > (this is my first post, pls inform me if anything is missing) > > The joint file (trace.gz) contains all the information needed to let you > help me. > So pls take a look at it. > > To put you in context, heres a brief description of my problem: > > ------- > > My problem concerns the /etc/shorewall/providers file. > > I have a 3 Interfaces setup, (LAN(eth0), ISP1(ppp0) and ISP2(eth2)) > > If I boot my system with the loding of the interfaces in this order: > > LAN(eth0) > ISP2(eth2) > ISP1(ppp0) <---- Impose its Default Gateway. > > Then when shorewall starts, I get this error: > > ERROR: Unable to detect the gateway through interface eth2 > > > But if I change the order at boot: > > LAN(eth0) > ISP1(ppp0) > ISP2(eth2) <---- Impose its Default Gateway. > > Then no errors. > > > Why is this a problem ? > How to fix this ? > > Thx > > SiO > > (remember, everything you need is in the joint attachement. thx Very > Detailed, test, comments...) >The short explanation is that your ppp network script replaced the default gateway on eth2 with the one from ppp0. Why it was allowed to do so would depend on how you setup your distro''s networking files. If I recall that is a defaultroute/nodefaultroute option for pppd, and in your case rp-ppoe, has set that flag to defaultroute, setting DEFAULTROUTE=no in the pppoe.conf file should change that for you. Jerry ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click