Background:
I had a working Proxmox setup with a single NIC, on static IP 192.168.0.105 and the gateway 192.168.0.1 (gateway is another physical box running PfSense on VMWare Esxi but should have no bearing)
Now: I recently added a second NIC, however now although all VMs and LXCs can ping the gateway and have internet access, dns etc, the Proxmox host itself can no longer ping the gateway, or external IP like 8.8.8.8 and in turn can't get updates etc. It can however ping othe VM's, LXCs and other machines on the subnet. Totally baffled.
I had a working Proxmox setup with a single NIC, on static IP 192.168.0.105 and the gateway 192.168.0.1 (gateway is another physical box running PfSense on VMWare Esxi but should have no bearing)
Now: I recently added a second NIC, however now although all VMs and LXCs can ping the gateway and have internet access, dns etc, the Proxmox host itself can no longer ping the gateway, or external IP like 8.8.8.8 and in turn can't get updates etc. It can however ping othe VM's, LXCs and other machines on the subnet. Totally baffled.
root@pve:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
auto enp1s0
iface enp1s0 inet manual
auto enp3s0
iface enp3s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.0.105
netmask 24
gateway 192.168.0.1
bridge-ports enp1s0 enp3s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
root@pve:~# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master vmbr0 state DOWN mode DEFAULT group default qlen 1000
link/ether 44:8a:5b:a2:25:96 brd ff:ff:ff:ff:ff:ff
3: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 68:05:ca:0a:7e:eb brd ff:ff:ff:ff:ff:ff
4: wlp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 80:86:f2:67:04:30 brd ff:ff:ff:ff:ff:ff
5: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 68:05:ca:0a:7e:eb brd ff:ff:ff:ff:ff:ff
8: tap302i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether b2:28:8a:55:cd:9e brd ff:ff:ff:ff:ff:ff
9: tap301i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 86:f4:eb:c7:6e:ce brd ff:ff:ff:ff:ff:ff
11: veth101i0@if10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP mode DEFAULT group default qlen 1000
link/ether fe:b3:4f:2a:8b:56 brd ff:ff:ff:ff:ff:ff link-netnsid 1
12: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 16:08:9d:72:e4:ff brd ff:ff:ff:ff:ff:ff
13: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 52:49:3d:dc:ef:20 brd ff:ff:ff:ff:ff:ff
14: fwln101i0@fwpr101p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP mode DEFAULT group default qlen 1000
link/ether 16:08:9d:72:e4:ff brd ff:ff:ff:ff:ff:ff
16: veth401i0@if15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether fe:32:05:29:aa:cb brd ff:ff:ff:ff:ff:ff link-netnsid 0
root@pve:~# ip route
default via 192.168.0.1 dev vmbr0 onlink
192.168.0.0/24 dev vmbr0 proto kernel scope link src 192.168.0.105