On Fri, 15 Jul 2011 16:00:52 +0300, Volkan YAZICI wrote:

(...)

> That is, the desired routing table is as follows.
> 
> --8<---------------cut here---------------start------------->8---
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
> 10.10.98.96     0.0.0.0         255.255.255.240 U     0      0        0 eth0 
> 192.168.100.0   192.168.100.98  255.255.255.0   U     0      0        0 eth1 
> 0.0.0.0         10.10.98.110    0.0.0.0         UG    0      0        0 eth0 
> --8<---------------cut here---------------end--------------->8---
> 
> How should I configure /etc/network/interfaces to have such a routing
> scheme?

Mmm, that's the gateway for eth1, you may want to remove it:

***
auto eth1
iface eth1 inet static
        address 192.168.100.100
        netmask 255.255.255.0
        #gateway 192.168.100.98
***

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.07.16.12.15...@gmail.com

Reply via email to