> aphro writes:
> > did you configure your PPP connection with the a new default route and
> > give it the defaultroute flag (run pppconfig) it should add the new
> > defeault route once the ppp link is up.
> 
> pppd won't replace an existing defaultroute.  The solution is a script in
> /etc/ppp/ip-up.d to delete the eth0 route and add one to ppp0, and a
> script in /etc/ppp/ip-down.d to reverse the process.

A related question:
Suppose both eth0 and ppp0 are connected to the Internet. Is there a way the 
user can determine dynamically if he gets connected through ppp0 or eth0? For 
example, can I tell terminal A apt-get to work through ppp0 and terminal B ftp 
to work through eth0?

Reply via email to