Hello. I have a request for help. I need to set up two subnets on proxmox. Because some virtual machines will go on subnet 192.168.158. * And the other part will go on subnet 192.168.159. *
the subnet 192.168.158 is connected to port enp1. * and the subnet 195.168.159 is connected to port enp2. *
I tried the setup but it doesn't work
auto lo
iface lo inet loopback
iface enp1 inet manual
iface enp2 inet manual
iface enp3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.158.21/24
netmask 255.255.255.0
gateway 192.168.158.254
bridge_ports enp1
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp2
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
the subnet 192.168.158 is connected to port enp1. * and the subnet 195.168.159 is connected to port enp2. *
I tried the setup but it doesn't work
auto lo
iface lo inet loopback
iface enp1 inet manual
iface enp2 inet manual
iface enp3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.158.21/24
netmask 255.255.255.0
gateway 192.168.158.254
bridge_ports enp1
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports enp2
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
Last edited: