Hi, I'm having some issues with multiple IPs (on the same subnet) with a single NIC.
I have a similar setup on a couple of other servers that work just fine, but this one doesn't for some reason. The others are using Proxmox 6.x and this one is using 7.x so maybe that has something to do with it?
My current attempt of setting it up looks like this:
As I said, all the IPs are on the same subnet and the exact same thing works on other servers which why I can't figure out why it won't work now.
Any ideas?
I have a similar setup on a couple of other servers that work just fine, but this one doesn't for some reason. The others are using Proxmox 6.x and this one is using 7.x so maybe that has something to do with it?
My current attempt of setting it up looks like this:
Code:
auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address AAA.BBB.CCC.111
netmask 255.255.255.192
gateway AAA.BBB.CCC.1
pointopoint AAA.BBB.CCC.1
auto vmbr0
iface vmbr0 inet static
address AAA.BBB.CCC.111
netmask 255.255.255.192
bridge_ports none
bridge_stp off
bridge_fd 0
bridge_maxwait 0
pre-up brctl addbr virbr0
post-up ip route add AAA.BBB.CCC.222/32 dev vmbr0
post-down ip route del AAA.BBB.CCC.222/32 dev vmbr0
post-up ip route add AAA.BBB.CCC.333/32 dev vmbr0
post-down ip route del AAA.BBB.CCC.333/32 dev vmbr0
As I said, all the IPs are on the same subnet and the exact same thing works on other servers which why I can't figure out why it won't work now.
Any ideas?