Been working on this the whole day and unable to get it to work.
This is the recommended setup where you have a single NIC and 2 Ip addresses using routed configuration.
This is on a bare-metal machine hosted by a data centre.
I need to isolate the proxmox web management console (enp1s0f0np0) from the guests such that the guest public IP cannot access the host.
The intention is for vmbr0 to route to a opnsense guest on vmbr0 and then it will manage routing to the other guests.
https://pve.proxmox.com/wiki/Network_Configuration
While I can ping on the main interface enp1s0f0np0, I cannot ping using vmbr0:
I have also added the routes:
I have also had lots of suggestions from chatGPT and googled lots of threads and gitub examples and tried many of them, but none succeed in routing vmbr0 to the main gateway.
Any help / suggestions much appreciated
Thanks
This is the recommended setup where you have a single NIC and 2 Ip addresses using routed configuration.
This is on a bare-metal machine hosted by a data centre.
I need to isolate the proxmox web management console (enp1s0f0np0) from the guests such that the guest public IP cannot access the host.
The intention is for vmbr0 to route to a opnsense guest on vmbr0 and then it will manage routing to the other guests.
https://pve.proxmox.com/wiki/Network_Configuration
Code:
auto lo
iface lo inet loopback
auto enp1s0f0np0
iface enp1s0f0np0 inet static
address 1XX.235.225.170/32
gateway 1XX.64.0.1
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/eno0/proxy_arp
auto vmbr0
iface vmbr0 inet static
address 1XX.99.84.229/32
bridge-ports none
bridge-stp off
bridge-fd 0
While I can ping on the main interface enp1s0f0np0, I cannot ping using vmbr0:
Code:
# ping -I enp1s0f0np0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from xxx.235.225.170 enp1s0f0np0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=0.858 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=0.856 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=54 time=0.852 ms
ping -I vmbr0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from xxx.99.84.229 vmbr0: 56(84) bytes of data.
>> No Reply
I have also added the routes:
Code:
# ip route
default via xxx.64.0.1 dev enp1s0f0np0 proto kernel onlink
10.0.0.0/24 dev mynet proto kernel scope link src 10.0.0.1
xxx.64.0.1 dev vmbr0 scope link
192.168.100.0/24 dev xnet proto kernel scope link src 192.168.100.1
`
I have also had lots of suggestions from chatGPT and googled lots of threads and gitub examples and tried many of them, but none succeed in routing vmbr0 to the main gateway.
Any help / suggestions much appreciated
Thanks
Last edited: