Hi,
The whole idea is to make my CT use one NIC for trafick, while the other NIC is used just to connect to the proxmox gui and the CT via shell or browser.
I had a few problems resolving the bridging module concerning two NICs with proxmox. After configuring the bridge using the turorials and manuals on the wiki, I didn't have any success. I'll post my /etc/network/interfaces configuration below.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge_ports eht1
bridge_stp off
bridge_fd 0
And the open vz ct /etc/network/interfaces
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
auto venet0:0
iface venet0:0 inet static
address 192.168.0.11
netmask 255.255.255.255
auto eth0
iface eth0 inet static
address 10.11.0.98
netmask 255.255.255.248
gateway 10.11.0.97
post-up route add -net 10.11.0.96 netmask 255.255.255.248 gw 10.11.0.97 metric 2
pre-down route del -net 10.11.0.96 netmask 255.255.255.248 gw 10.11.0.97 metric 2
I edited the interfaces file before and after (i redid the whole configuration two times) editing the veth in the proxmox webbrowser GUI.
The whole idea is to make my CT use one NIC for trafick, while the other NIC is used just to connect to the proxmox gui and the CT via shell or browser.
I had a few problems resolving the bridging module concerning two NICs with proxmox. After configuring the bridge using the turorials and manuals on the wiki, I didn't have any success. I'll post my /etc/network/interfaces configuration below.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge_ports eht1
bridge_stp off
bridge_fd 0
And the open vz ct /etc/network/interfaces
auto venet0
iface venet0 inet manual
up ifconfig venet0 up
up ifconfig venet0 127.0.0.2
up route add default dev venet0
down route del default dev venet0
down ifconfig venet0 down
iface venet0 inet6 manual
up route -A inet6 add default dev venet0
down route -A inet6 del default dev venet0
auto venet0:0
iface venet0:0 inet static
address 192.168.0.11
netmask 255.255.255.255
auto eth0
iface eth0 inet static
address 10.11.0.98
netmask 255.255.255.248
gateway 10.11.0.97
post-up route add -net 10.11.0.96 netmask 255.255.255.248 gw 10.11.0.97 metric 2
pre-down route del -net 10.11.0.96 netmask 255.255.255.248 gw 10.11.0.97 metric 2
I edited the interfaces file before and after (i redid the whole configuration two times) editing the veth in the proxmox webbrowser GUI.