Re: "route add default" directive



Joerg Redmann staggered into the Black Sun and said:
Each time I boot my machine up, I have to issue "route add default
eth0" in order to be able to [do anything]. There is no router
involved, the box's NIC is directly connected to a cable modem.

Cablemodem, or DSL modem? The comments and "ppp" keyword in your file
say it's the latter.

my /etc/network/interfaces:
auto eth0
iface eth0 inet ppp
[snip lo config]
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
Do you see any mistake?

Look at /etc/ppp/peers/dsl-provider . There should probably be a
"defaultroute" line in there that isn't commented out, unless your
machine's routing situation is more complex than you've indicated here.

--
The night passed like a kidney stone: painfully and with the help of
major sedatives. --T. Delgado, Lyttle Lytton winner, 2001
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • gosh darn sharing of DSL with a router/modem: simple how questions
    ... i have two unix boxes behind a router which is currently ... connected to a cable modem. ... we have shared internet connections, ... MacOS box: eth0: static class C IP 192.168.1.100 ...
    (comp.os.linux.networking)
  • Re: "route add default" directive
    ... eth0" in order to be able to. ... There is no router ... the box's NIC is directly connected to a cable modem. ... "defaultroute" line in there that isn't commented out, ...
    (comp.os.linux.misc)
  • RE: Ethernet & DHCP Fails on Cable Modem to Internet
    ... Your not messing/playing around with a 2.5 or 2.6 kernel are you? ... Ethernet & DHCP Fails on Cable Modem to Internet ... When I try to activate eth0 using the Network ...
    (RedHat)
  • Re: Lost all network connectivity after clean FC3 install
    ... For some reason DHCP in FC3, unlike FC1, is not able ... to assign a correct gateway to eth0. ... Knoppix I found out which gateway was given to eth0. ... I have no idea on how to log into my cable modem. ...
    (Fedora)
  • [SLE] Roadrunner, Linksys, SUSE 8.2
    ... I fed the cable modem into a ... Linksys router, which I configured according to Eric ... resolution whether I used the cable modem or the phone ... % ifdown eth0 ...
    (SuSE)