Hi,
Just installed a new Proxmox 6 box and checking network configuration.
https://pve.proxmox.com/wiki/Network_Configuration
Context:
- 1 public IP
- Several IP blocs
Right now I have everything working in bridge mode, but i'm under the issue mentionned in the article where I have to register mac @ at provider level.
So i'm digging the Routed mode and wanted to check how to implement it in the multi bloc context.
- So i'd start with the exact same config as in the wiki (replacing with my current IPs)
- Add one vmbr per IP bloc and use the first bloc IP for the VMBR (losing one IP there)
- Add IPs to containers and use the corresponding vmbr based on their IP bloc
Would look like this
Do I get it?
Thx
Just installed a new Proxmox 6 box and checking network configuration.
https://pve.proxmox.com/wiki/Network_Configuration
Context:
- 1 public IP
- Several IP blocs
Right now I have everything working in bridge mode, but i'm under the issue mentionned in the article where I have to register mac @ at provider level.
So i'm digging the Routed mode and wanted to check how to implement it in the multi bloc context.
- So i'd start with the exact same config as in the wiki (replacing with my current IPs)
- Add one vmbr per IP bloc and use the first bloc IP for the VMBR (losing one IP there)
- Add IPs to containers and use the corresponding vmbr based on their IP bloc
Would look like this
Code:
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address 198.51.100.5
netmask 255.255.255.0
gateway 198.51.100.1
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 203.0.113.17
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 10.0.1.17
netmask 255.255.255.248
bridge_ports none
bridge_stp off
bridge_fd 0
etc...
Do I get it?
Thx