Re: /etc/network/interfaces not strictly correct?
I wrote:
> I rebooted woody after an uptime of 48 days to find my network
> setup incomplete:
>
> $ ping www.debian.org
> PING www.debian.org (198.186.203.20): 56 data bytes
> ping: sendto: Network is unreachable
> ping: wrote www.debian.org 64 chars, ret=-1
>
> Here's my /etc/network/interfaces file:
>
> auto lo
> iface lo inet loopback
> auto eth0
> iface eth0 inet static
> address 142.130.48.235
> netmask 255.255.252.0
>
> Anything wrong with that?
>
> -
>
> I couldn't ping past my gateway.
Thanks to Miguel Griffa and Viktor Rosenfeld who both advised me
to speficy the gateway in the /etc/network/interfaces file.
There is no need to manually add a route when this is done.
I still can't ping past my gateway but all other services work
(it's possible that I haven't been able to ping past my gateway
for a while and hadn't yet noticed!)
Thanks!
Peter
Reply to: