Hello all i have a daul nic setup on my proxmox server and i am tring to get it working as a router for both CT KVM and real machines right now it is working for openvz ip/venet and my real machines. However it does not work for KVM or if try to get a veth working in a openvz container
eth0 is connected to the internet vi DHCP (unfortunetly) i can change this if nessary
auto eth0
iface eth0 inet dhcp
eth1 is connected to a router and my internal LAN
# network interface settings
auto eth1
iface eth1 inet static
address 192.168.1.200
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
vmbr0 I have added after reading several tutorials this configuration works for my LAN ie i have internet on the LAN.
It also works for openvz containers that use a ip/venet
however it does not work for KVM or if try to get a veth working in a openvz container
auto vmbr0
iface vmbr0 inet static
address 192.168.1.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
Some back story when i create the default vmbr0 using the gui it seems to break most everthing on my network ie the proxmox host can no longer ping google nor can any of the virtual machines or LAN machines. I thought i would try and keep it simple having all the the virtual machines and real LAN machines on the same subnet and use proxmox server as a gateway (shorewall). However i am not opposed to having 2 seperate networks and routing them togother if nessary/better anyhow how do i get veth and KVM's working on this router style of setup?? I have also tried adding vmbr1 using the GUI which also seems to break my network.
#auto vmbr1
#iface vmbr1 inet static
# address 192.168.1.253
# netmask 255.255.255.0
# gateway 192.168.1.200
# bridge_ports eth1
# bridge_stp off
# bridge_fd 0
eth0 is connected to the internet vi DHCP (unfortunetly) i can change this if nessary
auto eth0
iface eth0 inet dhcp
eth1 is connected to a router and my internal LAN
# network interface settings
auto eth1
iface eth1 inet static
address 192.168.1.200
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
vmbr0 I have added after reading several tutorials this configuration works for my LAN ie i have internet on the LAN.
It also works for openvz containers that use a ip/venet
however it does not work for KVM or if try to get a veth working in a openvz container
auto vmbr0
iface vmbr0 inet static
address 192.168.1.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
Some back story when i create the default vmbr0 using the gui it seems to break most everthing on my network ie the proxmox host can no longer ping google nor can any of the virtual machines or LAN machines. I thought i would try and keep it simple having all the the virtual machines and real LAN machines on the same subnet and use proxmox server as a gateway (shorewall). However i am not opposed to having 2 seperate networks and routing them togother if nessary/better anyhow how do i get veth and KVM's working on this router style of setup?? I have also tried adding vmbr1 using the GUI which also seems to break my network.
#auto vmbr1
#iface vmbr1 inet static
# address 192.168.1.253
# netmask 255.255.255.0
# gateway 192.168.1.200
# bridge_ports eth1
# bridge_stp off
# bridge_fd 0