User Tools

Site Tools


proxmox:networking:add_additional_ips_on_different_subnets_using_the_same_ethernet_card

Proxmox - Networking - Add additional IPs on different subnets using the same Ethernet card

Add a custom route

route add -net 192.168.2.0 netmask 255.255.255.0 dev vmbr0

Update Network Settings

Add the following to your /etc/network/interfaces file:

/etc/network/interfaces
iface vmbr0 inet static
    …
    bridge_fd 0
    up route add -net 192.168.2.0 netmask 255.255.255.0 dev vmbr0
    down route del -net 192.168.2.0 netmask 255.255.255.0 dev vmbr0
    …

Remove the route

route del -net 192.168.2.0 netmask 255.255.255.0 dev vmbr0

NOTE: This should also be done if for some reason the above instructions did not work.

proxmox/networking/add_additional_ips_on_different_subnets_using_the_same_ethernet_card.txt · Last modified: 2021/07/09 09:05 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki