I'm a running proxmox 4.4 cluster in an OVH vRack. Public IPs are assigned to the nodes at eth0, an IP block is assigned to the vRack which reaches the nodes on eth1.
Everythings works fine.
I've added a second network to the vRack, which reaches eth1 and I have the problem, that I can't use the second network within a VM.
Problem ist probably a lack of network knwoledge. But maybe somebody can help.
My current configuration:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr1
iface vmbr1 inet static
address xxx
netmask xxx
bridge_ports eth1
bridge_stp off
bridge_fd 0
post-up /etc/pve/kvm-networking.sh
auto vmbr0
iface vmbr0 inet static
address xxx
netmask xxx
gateway xxx
broadcast xxx
bridge_ports eth0
bridge_stp off
bridge_fd 0
network xxx
# internal network, which is working
auto vmbr2
iface vmbr2 inet static
address xxx
netmask xxx
bridge_ports eth1.1
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
#Intern
# bridge, which was added to get the second netword (not working)
auto vmbr3
iface vmbr3 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
post-up /sbin/ip route add table vlan2 default via xxx dev vmbr3
post-up /sbin/ip rule add from xxx table vlan2
post-down /sbin/ip route del table vlan53 default via xxx dev vmbr3
post-down /sbin/ip rule del from xxx table vlan2
Does anybody has best practice tips, how to use multiple networks within a OVH vRack?
Everythings works fine.
I've added a second network to the vRack, which reaches eth1 and I have the problem, that I can't use the second network within a VM.
Problem ist probably a lack of network knwoledge. But maybe somebody can help.
My current configuration:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto vmbr1
iface vmbr1 inet static
address xxx
netmask xxx
bridge_ports eth1
bridge_stp off
bridge_fd 0
post-up /etc/pve/kvm-networking.sh
auto vmbr0
iface vmbr0 inet static
address xxx
netmask xxx
gateway xxx
broadcast xxx
bridge_ports eth0
bridge_stp off
bridge_fd 0
network xxx
# internal network, which is working
auto vmbr2
iface vmbr2 inet static
address xxx
netmask xxx
bridge_ports eth1.1
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
#Intern
# bridge, which was added to get the second netword (not working)
auto vmbr3
iface vmbr3 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
post-up /sbin/ip route add table vlan2 default via xxx dev vmbr3
post-up /sbin/ip rule add from xxx table vlan2
post-down /sbin/ip route del table vlan53 default via xxx dev vmbr3
post-down /sbin/ip rule del from xxx table vlan2
Does anybody has best practice tips, how to use multiple networks within a OVH vRack?