Re: [Fwd: Re: Newbie Needs help w/ Local eth network]
<fbrian@nac.net> writes:
> # /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.1.2
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> up route add default gw 192.168.1.1
>
> output of route
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface 192.168.1.0 * 255.255.255.0 U 0 0
> 0 eth0
You don't have a default route, so packets going to places besides
192.168.1/24 get dropped and you get a "no route" error. Why are you
trying to use 'route add default' manually here, though? Add 'gateway
192.168.1.1' in your /etc/network/interfaces instead. See
interfaces(5) for details.
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: