Network on Centos6 container works intermittently

syncmaster4

New Member
Mar 25, 2012
3
0
1
Hello Everyone,

I'm fairly new to proxmox but love the product, very nice! I have some Windows 2008 R2 KVM instances running and they work great. I'm trying to setup a centos6 container. On install it works fine, I can use yum to update/install packages but eventually the container loses the ability to resolve hostnames. I don't think it's actually a resolution problem but rather a networking problem. I've been working on this on and off for the past week but nothing I've found has resolved the issue.

---
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0

---
[root@bdir2 /]# cat /etc/sysconfig/network
NETWORKING="yes"
GATEWAYDEV="venet0"
NETWORKING_IPV6="yes"
IPV6_DEFAULTDEV="venet0"
HOSTNAME="abc.xyz.com"

---
[root@bdir2 /]# cat /etc/sysconfig/network-scripts/ifcfg-venet0
DEVICE=venet0
BOOTPROTO=static
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.255
BROADCAST=0.0.0.0
IPV6INIT="yes"

---
[root@bdir2 /]# cat /etc/sysconfig/network-scripts/ifcfg-venet0:0
DEVICE=venet0:0
ONBOOT=yes
IPADDR=10.0.1.77
NETMASK=255.255.255.255


---
I know this is a configuration issue on my end as it relates to proxmox/centos6 but I can't put my finger on it. Can anyone out there shed some light on this for me?

Thanks!
-- Sync