Help.
I have proxmox 3 running on a bare metal machine.
The 65GB OpenVZ container cannot reach the internet,
DNS serves are configured right,
During debian upgrade (not sure), something changed the network config of the containers, possibly the bridge, venet, or vmbr0 ?!
Whatever happened, the OpenVZ container can't reach the internet!
Need the container to reach the internet so in order to backup the OpenVZ container externally, then wipe the bare metal machine, install proxmox 5 over it with ZFS, and import/restore the OpenVZ container into a new LXC container.
Here's the network config of the bare metal machine
Inside the OpenVZ container here's the network config:
From the proxmox machine:
* DNS works.
* Internet traffic works.
Inside the container:
* DNS servers are configured correctly
* DNS doesn't work - "nslookup yahoo.com" gives: ";; connection timed out; no servers could be reached".
* PING works only to the proxmox IP (192.168.0.100) and to the local internet gateway (192.168.0.1)
* PING fails both for internet DNS names and for internet IP addresses.
Help. How to fix this broken network config inside the OpenVZ container??
I have proxmox 3 running on a bare metal machine.
The 65GB OpenVZ container cannot reach the internet,
DNS serves are configured right,
During debian upgrade (not sure), something changed the network config of the containers, possibly the bridge, venet, or vmbr0 ?!
Whatever happened, the OpenVZ container can't reach the internet!
Need the container to reach the internet so in order to backup the OpenVZ container externally, then wipe the bare metal machine, install proxmox 5 over it with ZFS, and import/restore the OpenVZ container into a new LXC container.
Here's the network config of the bare metal machine
Code:
root@proxmox:~# ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/64 Scope:Global
inet6 addr: fe80::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:170816 errors:0 dropped:0 overruns:0 frame:0
TX packets:95042 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19499959 (18.5 MiB) TX bytes:9268083 (8.8 MiB)
Interrupt:18
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1432 (1.3 KiB) TX bytes:1432 (1.3 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1/128 Scope:Link
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:112490 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8988280 (8.5 MiB) TX bytes:2634 (2.5 KiB)
vmbr0 Link encap:Ethernet HWaddr 0e:19:92:71:3d:cc
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::c19:92ff:fe71:3dcc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2562 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:220284 (215.1 KiB)
Inside the OpenVZ container here's the network config:
Code:
root@container000:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:436636 errors:0 dropped:0 overruns:0 frame:0
TX packets:436636 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:233415463 (222.6 MiB) TX bytes:233415463 (222.6 MiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.2 P-t-P:127.0.0.2 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:76012 errors:0 dropped:798 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:6104456 (5.8 MiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.1.114 P-t-P:192.168.1.114 Bcast:192.168.1.114 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
From the proxmox machine:
* DNS works.
* Internet traffic works.
Inside the container:
* DNS servers are configured correctly
* DNS doesn't work - "nslookup yahoo.com" gives: ";; connection timed out; no servers could be reached".
* PING works only to the proxmox IP (192.168.0.100) and to the local internet gateway (192.168.0.1)
* PING fails both for internet DNS names and for internet IP addresses.
Help. How to fix this broken network config inside the OpenVZ container??