[ale] eth0 and ppp0 defaultroute question.

Mazukna, Thomas Thomas.Mazukna at delta.com
Thu Apr 17 09:28:20 EDT 2003


defaultroute is in /etc/ppp/peers/xxx file
pppd is not replacing it when i have defaultroute to eth0,
if I manually delete it, everything is fine.
all I need is the default route to be replaced by one to ppp0.
How to accomplish this ? drop defaultroute to eth0 in /etc/ppp/ip-up and read in down ?

thanks,
Tomas

-----Original Message-----
From: Jerry Z. Yu [mailto:z.yu at voicecom.com]
To: ale at ale.org
Sent: Thursday, April 17, 2003 8:55 AM
To: ale at ale.org
Subject: Re: [ale] eth0 and ppp0 defaultroute question.


	defaultroute (nodefaultroute) in /etc/ppp/OPTIONS

	To seperate work-related traffic from your other traffic, add 
special static routes to work-related subnets in  /etc/ppp/ip-up.local, or 
delete souch routes in ip-down.local.  (as ppp0  goes away, the route 
should go away automatically).  Strict firewall rules should 
be in place to police the ppp0 interface. 

	your company policy may require u to use ppp0 as default route, to 
subject all traffic to corporate firewall/security 
rules/monitoring thru-out the dial-up duration.

On Thu, 17 Apr 2003, Mazukna, Thomas wrote:

#Hi,
#
#security folks broke down and gave me dialin access to work for support.
#Now I have to solve defaultroute issue I have between eth0 and ppp0
#I have a home network with a NAT gateway through DSL so eth0 has a default route
#
#Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
#192.168.168.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
#0.0.0.0         192.168.168.1   0.0.0.0         UG    0      0        0 eth0
#
#when ppp0 comein it says 
#pppd[16338]: not replacing existing default route to eth0 [192.168.168.1]
#
#how to make pppd replace the defaultroute when ppp0 comes up and down
#
#thanks,
#Tomas
#_______________________________________________
#Ale mailing list
#Ale at ale.org
#http://www.ale.org/mailman/listinfo/ale
#

Jerry Z. Yu				+1-404-487-8544 (O)
systems engineer			z.yu at voicecom.com
is support, voicecom, llc		www.voicecom.com

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list