Networking Forums

Networking Forums > Computer Networking > Linux Networking > Gateway Default Route Question

Reply
Thread Tools Display Modes

Gateway Default Route Question

 
 
Hank Kingwood
Guest
Posts: n/a

 
      10-15-2003, 12:38 PM
I have a Linux firewall with two etherenet interfaces and one ppp interface.

eth0: Internal network, no gateway set
eth1: Internet, no gateway set and gateway not needed
on this interface
ppp0: Roaring Penguin pppoe through eth1, gateway set
via "/etc/rc.d/init.d/adsl start" which reads
/etc/ppp/pppoe.conf

I haven't found documentation on how to configure the default route on a
gateway. Is it correct that eth0 needs no "GATEWAY=x.x.x.x" entry in
/etc/sysconfig/network-scripts/ifcfg-eth0.

Paul Lutus: Please do not reply.

Thanks,
Hank

 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      10-15-2003, 02:00 PM
Hank Kingwood <(E-Mail Removed)> wrote:

> eth0: Internal network, no gateway set
> eth1: Internet, no gateway set and gateway not needed
> on this interface
> ppp0: Roaring Penguin pppoe through eth1, gateway set
> via "/etc/rc.d/init.d/adsl start" which reads
> /etc/ppp/pppoe.conf


> I haven't found documentation on how to configure the default route on a
> gateway. Is it correct that eth0 needs no "GATEWAY=x.x.x.x" entry in
> /etc/sysconfig/network-scripts/ifcfg-eth0.


An Internet connection using pppd or pppoe usually requires that there
is no default route already set. Pppd - used by pppoe, see man pppoe -
doesn't set a default route, even with the defaultroute option (see man
pppd) present, if one already exists. You don't need a default route
to a single LAN anyway.

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Speak softly and carry a +6 two-handed sword. */
 
Reply With Quote
 
Hank Kingwood
Guest
Posts: n/a

 
      10-15-2003, 11:56 PM
> ...
> An Internet connection using pppd or pppoe usually requires that there
> is no default route already set. Pppd - used by pppoe, see man pppoe -
> doesn't set a default route, even with the defaultroute option (see man
> pppd) present, if one already exists. You don't need a default route
> to a single LAN anyway.


Thanks for the information. That definitely helps.
--
Hank

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
default gateway question strangelove Broadband 14 12-19-2007 10:32 PM
Question about default gateway George Windows Networking 2 11-15-2006 11:41 PM
Quick Question - Default gateway on a different subnet vishal78@gmail.com Linux Networking 3 10-18-2005 03:34 PM
Linux: Default gateway fails, must use local IP for default gw instead John Sasso Wireless Internet 2 07-08-2004 08:30 AM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM



1 2 3 4 5 6 7 8 9 10 11