OpenVZ Forum


Home » General » Discussions » Networking with OpenVz on Debian (My CT do not have internet access)
Re: Networking with OpenVz on Debian [message #36702 is a reply to message #36701] Fri, 10 July 2009 19:41 Go to previous messageGo to previous message
ceduardo is currently offline  ceduardo
Messages: 5
Registered: July 2009
Junior Member
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.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Any Idea why I cant post a question in Support?
Next Topic: VirtualComplete - new openvz panel
Goto Forum:
  


Current Time: Sat Aug 16 11:27:07 GMT 2025

Total time taken to generate the page: 0.16281 seconds