Re: no ipchains with 2.2/no network with 2.4
Il giorno lun, 10-01-2005 alle 22:35 +0100, Pierre A. Damas ha scritto:
> The interface file contains:
>
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
[...]
> auto eth1
> iface eth1 inet static
> address 192.168.1.1
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> gateway 192.168.1.1
Remove this last line ( gateway 192.168.1.1 ), so that `route -n` (after
appropriate ifdown/ifup) should list:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.254.0 0.0.0.0 255.255.255.240 U 0 0 0 eth0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 0.0.0.0 192.168.254.1 0.0.0.0 UG 0 0 0 eth0
without the following line:
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
Ciao,
Gian Piero.
Reply to: