OpenVZ Forum


Home » General » Support » OpenVZ in ATOM with solusvm (Containers dont have Internet Access)
Re: OpenVZ in ATOM with solusvm [message #39300 is a reply to message #39286] Sat, 03 April 2010 21:30 Go to previous messageGo to previous message
abdicar is currently offline  abdicar
Messages: 17
Registered: April 2010
Junior Member
Ok, I checked another post for the driver, and now the driver it is updated, but still the container dont have internet access...

Quote:
[root@22491 network-scripts]# vzctl enter 101
entered into CT 101
[root@ns01 /]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.061 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.041 ms

[1]+ Stopped ping 127.0.0.1
[root@ns01 /]# hostname
ns01.test.com
[root@ns01 /]# hostname -i
x.73.100.179
[root@ns01 /]# ping x.73.100.179
PING x.73.100.179 (x.73.100.179) 56(84) bytes of data.
64 bytes from x.73.100.179: icmp_seq=1 ttl=64 time=0.047 ms
64 bytes from x.73.100.179: icmp_seq=2 ttl=64 time=0.035 ms

[2]+ Stopped ping x.73.100.179
[root@ns01 /]# ping x.73.100.178
PING x.73.100.178 (x.73.100.178) 56(84) bytes of data.
^X
[3]+ Stopped ping x.73.100.178
[root@ns01 /]# cat /etc/resolv.conf
nameserver 4.2.2.1
[root@ns01 /]# ping 4.2.2.1
PING 4.2.2.1 (4.2.2.1) 56(84) bytes of data.

[4]+ Stopped ping 4.2.2.1
[root@ns01 /]# service iptables status
Table: mangle
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination

Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination

Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

[root@ns01 /]# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: mangle filter [ OK ]
Unloading iptables modules: [ OK ]
[root@ns01 /]# service iptables status
Table: mangle
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination

Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination

Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination

Chain FORWARD (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

[root@ns01 /]# ping 4.2.2.1
PING 4.2.2.1 (4.2.2.1) 56(84) bytes of data.

[5]+ Stopped ping 4.2.2.1
[root@ns01 /]#



Please someone help me out.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Host and VE's all have external IP addresses.
Next Topic: SLM MODE is in OVZ or only virtuozo?
Goto Forum:
  


Current Time: Fri Jul 26 04:15:11 GMT 2024

Total time taken to generate the page: 0.03241 seconds