|
Home > Archive > alt.os.linux > October 2002 > About ppp0
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Fermion 2002-10-07, 9:24 pm |
| I get a problem with the ppp0 interface as I start connecting to the
Internet using adsl-start. I find that every time I need to send out data
the interface used is eth0 which is using DHCP and booted up on startup and
thus has a private IP bound to it (the private IP starting 10.*.*.* on DHCP
DISCOVER failure)
For example:
the command
ping -c 4 www.yahoo.com
will report a Request timout
while the command
ping -c 4 -I ppp0 www.yahoo.com
will report a normal ping operation
Therefore may I ask how to make the default interface be the ppp0 instead of
the eth0 every time I wanna send sth out?
| |
| Joe Fredrickson 2002-10-07, 9:24 pm |
| On Tue, 8 Oct 2002 11:43 am, Fermion posted to alt.os.linux the following
blurb ::
> I get a problem with the ppp0 interface as I start connecting to the
> Internet using adsl-start. I find that every time I need to send out data
> the interface used is eth0 which is using DHCP and booted up on startup
> and thus has a private IP bound to it (the private IP starting 10.*.*.* on
> DHCP DISCOVER failure)
You need eth0 to not have a IP address, your connection address
should be assigned to ppp0.....
To fix the traffic direction you need to change your route tables, running
route will show you the table and a man route will tell you how to configure
route to driect your traffic
--
cheerio
Registered Linux User 282072
<www.volutin.net -- everything irrelevant>
| |
| John Hasler 2002-10-07, 11:24 pm |
| Joe Fredrickson writes:
> You need eth0 to not have a IP address, your connection address should be
> assigned to ppp0.....
It's perfectly ok for eth0 to have an IP number. You just don't want your
defaul troute to point to it.
--
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin
|
|
|
|
|