D
darude
Guest
Hi,
I configured only one vmbr0 and the additional routes, no OpenVZ is configured.
You may want to also test this scenario.
Additionally I added three vmbr's for private LAN usage. The firewall is connected with pub if (vmbr0) and private if (vmbr198), VMs are connected with if only to vmbr198.
if = interface
i.e.:
# device: eth0
auto eth0
iface eth0 inet static
address xx.xx.78.143
netmask 255.255.255.255
broadcast xx.xx.78.159
gateway xx.xx.78.129
pointopoint xx.xx.78.129
post-up iptables-restore < /etc/iptables.up.rules
auto vmbr0
iface vmbr0 inet static
address xx.xx.78.143
netmask 255.255.255.255
broadcast xx.xx.78.159
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add xx.xx.75.198/32 dev vmbr0
up ip route add xx.xx.75.199/32 dev vmbr0
up ip route add xx.xx.75.200/32 dev vmbr0
auto vmbr198
iface vmbr198 inet static
address 192.168.198.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr199
iface vmbr199 inet static
address 192.168.199.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr200
iface vmbr200 inet static
address 192.168.200.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
I configured only one vmbr0 and the additional routes, no OpenVZ is configured.
You may want to also test this scenario.
Additionally I added three vmbr's for private LAN usage. The firewall is connected with pub if (vmbr0) and private if (vmbr198), VMs are connected with if only to vmbr198.
if = interface
i.e.:
# device: eth0
auto eth0
iface eth0 inet static
address xx.xx.78.143
netmask 255.255.255.255
broadcast xx.xx.78.159
gateway xx.xx.78.129
pointopoint xx.xx.78.129
post-up iptables-restore < /etc/iptables.up.rules
auto vmbr0
iface vmbr0 inet static
address xx.xx.78.143
netmask 255.255.255.255
broadcast xx.xx.78.159
bridge_ports none
bridge_stp off
bridge_fd 0
up ip route add xx.xx.75.198/32 dev vmbr0
up ip route add xx.xx.75.199/32 dev vmbr0
up ip route add xx.xx.75.200/32 dev vmbr0
auto vmbr198
iface vmbr198 inet static
address 192.168.198.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr199
iface vmbr199 inet static
address 192.168.199.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr200
iface vmbr200 inet static
address 192.168.200.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0