Hello,
I am really new to proxmox and routing.
I want to setup two bridges vmbr0 and vmbr1.
vmbr0 should allow my networks to connect with the internet in a routed config (I only have one public ip-adress and need to have a static mac-adress)
vmbr1 should be an internal network so vms can talk with eachother (I would also like to ssh into those vms from the proxmox node).
My current setup is the following:
I have masked the first three blocks with <Main IP> but have left the last block so errors can be spotted more easily.
<Gateway> is <Main IP>.1
However I don't know if that's correct and what to implement on the vm's network config.
Can anyone help me with that?
I am really new to proxmox and routing.
I want to setup two bridges vmbr0 and vmbr1.
vmbr0 should allow my networks to connect with the internet in a routed config (I only have one public ip-adress and need to have a static mac-adress)
vmbr1 should be an internal network so vms can talk with eachother (I would also like to ssh into those vms from the proxmox node).
My current setup is the following:
I have masked the first three blocks with <Main IP> but have left the last block so errors can be spotted more easily.
<Gateway> is <Main IP>.1
Code:
auto lo
iface lo inet loopback
#https://pve.proxmox.com/pve-docs/images/default-network-setup-routed.svg
auto enp9s0
iface enp9s0 inet static
address <Main IP>.16/26
gateway <Gateway>
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/enp9s0/proxy_arp
up route add -net <Main IP>.0 netmask 255.255.255.192 gw <Gateway> dev enp9s0
iface enp9s0 inet6 static
address <Main IPv6>::2
netmask 128
gateway fe80::1
auto vmbr0 #Internet access
iface vmbr0 inet static
address 192.168.0.1/26
pointopoint <Gateway>
gateway <Gateway>
bridge-ports none #Setting this to enp9s0 seems to cause the whole network to become unavailable
bridge-stp off
bridge-fd 1
bridge_maxage 12
auto vmbr1 #Private network for vms to communicate
iface vmbr1 inet manual
bridge-ports none
bridge-stp off
bridge-fd 0
However I don't know if that's correct and what to implement on the vm's network config.
Can anyone help me with that?
Last edited: