On Thu, May 18, 2006 at 03:57:47PM +0200, Jean-Michel Caricand wrote:
> Hi,
>
> I try to configure a server with 2 physical interfaces (eth0
> and eth1).
> The host uses eth0 with IP 172.20.128.110.
> I created a vserver named vs03. It uses eth1 with IP
> 194.57.88.253.
>
> On my host (debian sarge), I configure my network with :
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> auto eth0
> iface eth0 inet static
> address 172.20.128.110
> netmask 255.255.255.0
> network 172.20.128.0
> broadcast 172.20.128.255
> gateway 172.20.128.254
> up ip route add 172.20.128.0/24 dev eth0 src 172.20.128.110
> table 64
> up ip route add default via 172.20.128.254 table 64
> up ip rule add from 172.20.128.0/24 table 64
> post-down ip rule delete from 172.20.128.0/24 table 64
>
> auto eth1
> iface eth1 inet static
> address 194.57.88.253
> netmask 255.255.255.0
> network 194.57.88.0
> broadcast 194.57.88.255
> up ip route add 194.57.88.0/24 dev eth1 src 194.57.88.253
> table 68
> up ip route add default via 194.57.88.254 table 68
> up ip rule add from 194.57.88.0/24 table 68
> post-down ip rule delete from 194.57.88.0/24 table 68
>
>
> When I disconnect eth1, I can ping 172.20.128.110. Why ?
from where, and why is that unusual?
> Where I make a mistake ?
what do you want to accomplish?
btw, it would help to have an output of the
routing and rule tables as well as the pure
addr/link setup
best,
Herbert
>
> Thank.
>
> Jean-Michel Caricand
>
> jean-michel.caricand@laposte.net
>
>
> Accédez au courrier électronique de La Poste : www.laposte.net ;
> 3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
>
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat May 20 15:31:06 2006