Re: Problems with eth0 and 2.2R4
hi ya
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
....
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> # automatically added when upgrading
> auto eth0
> iface eth0 inet static
> address 128.165.245.10
> netmask 255.255.255.0
> network 128.165.245.0
> broadcast 128.165.245.255
> gateway 128.165.244.241
do you mean *.244.241 or *.245.241 in gateway ...
=== you have a typo !!
> Every time I boot, this is what I encounter...
>
> Attempting to perform a ping on a machine next to me:
>
> # ping 128.165.244.177
> PING 128.165.244.177 (128.165.244.177): 56 data bytes
> ping: sendto: Network is unreachable
> ping: wrote 128.165.244.177 64 chars, ret=-1
> ping: sendto: Network is unreachable
> ping: wrote 128.165.244.177 64 chars, ret=-1
>
> --- 128.165.244.177 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
>
> Here is the output of route:
>
> # route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> localnet * 255.255.255.0 U 0 0
> 0 eth0
>
routing table is wrong...
> When I add the following everything works:
>
> # route add default eth0
> # route add default gw 128.165.244.241
>
> Output from ping:
>
> # ping 128.165.244.177
> PING 128.165.244.177 (128.165.244.177): 56 data bytes
> 64 bytes from 128.165.244.177: icmp_seq=0 ttl=254 time=1.8 ms
yup.... it works...
c ya
alvin
Reply to: