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 ? Where
I make a mistake ?

Thank.

Jean-Michel Caricand

[EMAIL PROTECTED]
 

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
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to