Old Laptop + Ubuntu

Peter Schwenke peter at bluetoad.com.au
Fri Oct 28 09:01:17 UTC 2005


Conlan Kreher wrote:
> Ok I did that but i couldnt do any of the route add or route dels if
> eth0 was down :/
> 
> # netstat -r
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt
> Iface
> localnet        *               255.255.255.0 <http://255.255.255.0>  
> U         0 0          0 eth0
> localnet        *               255.255.255.0 <http://255.255.255.0>  
> U         0 0          0 eth0
> default         192.168.1.1 <http://192.168.1.1>     0.0.0.0
> <http://0.0.0.0>         UG        0 0          0 eth0
> root at ubuntu:~# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.1.0 <http://192.168.1.0>     0.0.0.0 <http://0.0.0.0>        
> 255.255.255.0 <http://255.255.255.0>   U     0      0        0 eth0
> 192.168.1.0 <http://192.168.1.0>     0.0.0.0 <http://0.0.0.0>        
> 255.255.255.0 <http://255.255.255.0>   U     0      0        0 eth0
> 0.0.0.0 <http://0.0.0.0>         192.168.1.1 <http://192.168.1.1>    
> 0.0.0.0 <http://0.0.0.0>         UG    0      0        0 eth0
> 

Hhhm.  That localnet is an oddity.  I've never seen that in netstat
output.  Have you got your hostname etc configured.  Can you try

grep localnet /etc/*
grep localnet /etc/*/*
grep localnet /etc/*/*/*

as root (so use sudo [eg sudo grep localnet /etc/*] or su to avoid
permission errors)

or

and we'll find out where that is set.

                                                     ...Peter








More information about the ubuntu-users mailing list