Re: Routing doesn't start automatically
I'm not that well versed on calculating netmasks and broadcast address,
but these look a bit strange. You might try the standard settings:
auto eth0
iface eth0 inet static
address 192.168.0.14
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.3
On Mon, Oct 14, 2002 at 02:48:49PM -0400, Andrew Perrin wrote:
> Greetings-
>
> In setting up my new machine, I've run into an odd problem. When the
> machine boots, the routing table doesn't get restored correctly. I have
> to type the following:
>
> route add 192.168.0.3 eth0
> route add default gw 192.168.0.3
>
> in order to use any networking.
>
> Here's my /etc/network/interfaces:
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
>
> # The loopback interface
> auto lo
> iface lo inet loopback
>
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> auto eth0
> iface eth0 inet static
> address 192.168.0.14
> netmask 255.255.255.252
> network 192.168.0.12
> broadcast 192.168.0.15
> gateway 192.168.0.3
>
>
>
> Any ideas?
>
> ----------------------------------------------------------------------
> Andrew J Perrin - http://www.unc.edu/~aperrin
> Assistant Professor of Sociology, U of North Carolina, Chapel Hill
> clists@perrin.socsci.unc.edu * andrew_perrin (at) unc.edu
>
>
>
Reply to: