On Thu, 12 Apr 2001, Michael Lake <[EMAIL PROTECTED]> wrote...
| Bernhard Luder wrote:
| > it needs a default route and default gateway
| > route add default gw 192.168.0.1 eth0
|
| OK thanks - working now. I did this but used the static IP address
| assigned to my machine instead of the 192 one - is that correct?. Well
| it certainly works, now I can reach outside.
|
| OK I can understand that the packets need to be told where to go but as
| I am at a uni site, ie not dialup, why would the gateway be set to be my
| own machine? Just to try things I therefore tried
| route add default gw localhost eth0
| but it does not work.
|
| Clearly I dont really follow whats happening here. RedHat obviously set
| this for me last time. Bless their souls :-)
|
| Mike
Your local systems administrator should be able to tell you the
address of your local gateway - often, if your ip address is
120.130.140.150, your gateway will be 120.130.140.1 (ie, the first
three parts the same, the last part set to '1'.
Once you know this address, you can type
route add default gw 120.130.140.1 eth0
and all should be working -- you should then be able to
'ping 120.130.140.1', and the rest of your internet connectivity
should be working.
----------------------------------------------------------------------
Matt 'Dopey' Hope [EMAIL PROTECTED]
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug