How to delete/replace default route using ppp?
fbsd_User
fbsd_user at a1poweruser.com
Fri Jul 4 13:44:00 PDT 2003
Try adding this to your ppp.conf
enable dns # Gets the ISP's DNS IP address & places them
# in resolv.conf for reference by FBSD box.
disable iface-alias # Stop adding old IP addr as alias when ppp
# redials because line was lost. These old
ips
# showed using ifconfig -a on tun0.
iface clear # Remove all previous IP address
add default HISADDR # Add a (sticky) default route (Mandatory)
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of stan
Sent: Friday, July 04, 2003 12:13 PM
To: Free BSD Questions list
Subject: How to delete/replace default route using ppp?
I'm trying to get a new laptop set up for a quick out of town trip.
Can anyone help me with the ppp.conf syntax to clear/replace an
existing
default rout for the duration of a ppp linkup?
That is, the machine starts off with a default route, which I want
to
delete and replace with the ppp route for the duration of the
conection.
Then I wnat to put the orignal route back.
Sugestions?
--
"They that would give up essential liberty for temporary safety
deserve
neither liberty nor safety."
-- Benjamin Franklin
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list