Proxmox Network Configuration with Range of Public IP Addresses
Public IPv4 Addresses
IP Allocation
104.219.44.16/29
Usable IP(s)
104.219.44.18 - 22Gateway IP
104.219.44.17Subnet Mask
255.255.255.248
I’ll create a bridge using .18
How do I set up proxmox so that all traffic travels via the bridge?
Would something like this work?
‘’’
auto lo
iface lo inet loopback
iface ens18 inet manual
auto vmbr0
iface vmbr0 inet static
address 172.99.233.2/24
gateway 172.99.233.1
bridge_ports ens18
bridge_stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp
post-up ip route add 172.99.233.3/32 dev vmbr0
post-up ip route add 172.99.233.4/32 dev vmbr0
post-up ip route add 172.99.233.5/32 dev vmbr0
‘’’
This is another example I found online obviously, I’ll have to use the correct IP addresses.
Comments
I'd be inclined to a separate bridge for each IP.
Also don't think you need thatt proxy arp thing?
I about that but I don’t want the IP used by the bridge I want to pass them thought to a VM.
Read Hetzner's guide.
It has examples for both routed and bridged setup and how to configure both single IP addresses and subnets.
https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve