Hi everybody tanks for your help
On my CT id 70 i have this:
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.2.70
NETMASK=255.255.255.0
BROADCAST=0.0.0.0
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 venet0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0
Well, on my OpenVZ Server i have this:
iptable -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- 192.168.2.0/24 anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.8.75.ZZZ 192.168.150.1 255.255.255.255 UGH 0 0 0 eth1
192.168.2.72 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
192.168.2.70 0.0.0.0 255.255.255.255 UH 0 0 0 veth70.0
190.145.2.WWW 0.0.0.0 255.255.255.255 UH 0 0 0 veth72.2
192.168.150.3 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
192.168.150.0 0.0.0.0 255.255.255.248 U 0 0 0 eth1
190.145.2.XXX 0.0.0.0 255.255.255.248 U 0 0 0 eth2
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 190.145.2.YYY 0.0.0.0 UG 0 0 0 eth2
Thanks for you help.