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.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to