OpenVZ Forum


Home » General » Support » No Network Connection using Precreated Templates: centos-7-x86_64-minimal, fedora-22-x86_64 (This worked in the past for CentOS 7 minimal, and networking does work at CentOS 7 (not minimal))
No Network Connection using Precreated Templates: centos-7-x86_64-minimal, fedora-22-x86_64 [message #52137] Wed, 12 August 2015 01:17 Go to previous message
i2internet is currently offline  i2internet
Messages: 2
Registered: August 2015
Location: USA
Junior Member
This worked in the past for CentOS 7 minimal, and networking does work at CentOS 7 (not minimal)

We have created quite a few CentOS 7 containers in the past using the CentOS 7 minimal template available at the time and there was never any issue pinging a device in the outside world from the container, nor in pinging the container itself.

After container creation, when entering containers created using the latest templates for CentOS 7 minimal, and Fedora 22, we are not able to Ping the outside world, nor Ping the container itself. What has changed, and/or what can we do to activate networking on fresh installs of these operating systems?

In contrast, the latest CentOS 7 template (not minimal) works as expected with respect to networking upon container creation.

---

[root@w61 /]# ip route list table all
169.254.0.0/16 dev venet0 scope link metric 1002
default dev venet0 scope link
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev venet0 table local proto kernel scope host src 127.0.0.1
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
unreachable ::/96 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 2002:a00::/24 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 2002:7f00::/24 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 2002:a9fe::/32 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 2002:ac10::/28 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 2002:c0a8::/32 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 2002:e000::/19 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
unreachable 3ffe:ffff::/32 dev lo metric 1024 error -101 mtu 16436 advmss 16376 hoplimit 0
default dev venet0 metric 1 mtu 1500 advmss 1440 hoplimit 0
unreachable default dev lo table unspec proto kernel metric 4294967295 error -101 hoplimit 255
local ::1 via :: dev lo table local proto none metric 0 mtu 16436 advmss 16376 hoplimit 0
unreachable default dev lo table unspec proto kernel metric 4294967295 error -101 hoplimit 255
[root@w61 /]# iptables -t nat -L && iptables -t filter -L && iptables -t mangle -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
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
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

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

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
[root@w61 /]# tcpdump -i venet0 -e host 192.99.110.61
-bash: tcpdump: command not found


Kevin JT Binder
i2 Internet Incorporated
www.i2internet.com

[Updated on: Wed, 12 August 2015 18:46]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Coud not start conteners form openvz 2.4.42 Centos6.1 to virtuozzo 3.10 CentOS 7.1
Next Topic: Using OpenVPN to access containers in OpenVZ host
Goto Forum:
  


Current Time: Wed Jun 26 06:13:12 GMT 2024

Total time taken to generate the page: 0.04002 seconds