>
> On Fri, 24 Mar 2006 12:08:00 +1200
> Roger Searle wrote:
>
> > NINE:/home/roger # route -n
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
>
>
> the network is unreachable because you have no route to it. add the
> route. here is my table.
>
> [EMAIL PROTECTED] ~ $ /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
>
>
> there are three entries
>
> one for the 127.0.0.0 loopback network
> one for the 192.168.1.0 lan network
> one for the rest of the world (0.0.0.0)
>
> you are missing the second and third.
>
>
> --
> Nick Rout <[EMAIL PROTECTED]>
>
NINE:/home/roger # ifconfig eth0 10.1.1.20 netmask 255.0.0.0 broadcast
10.255.255.255 up
NINE:/home/roger # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0A:48:1D:B7:5A
inet addr:10.1.1.20 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20a:48ff:fe1d:b75a/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2059 (2.0 Kb) TX bytes:0 (0.0 b)
Interrupt:11
NINE:/home/roger # ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
>From 10.1.1.20: icmp_seq=1 Destination Host Unreachable
NINE:/home/roger # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
NINE:/home/roger # route add default gw 10.1.1.1
NINE:/home/roger # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth0
NINE:/home/roger # ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
>From 10.1.1.20: icmp_seq=1 Destination Host Unreachable