In the container config file I have
net0: name=eth0,bridge=vmbr0,firewall=0,gw=192.168.99.1,hwaddr=56:C9:75:FB:4E:8F,ip=192.168.99.40/24,type=veth
But in the container, I get
root@pihole:~# ip addr show dev eth0
43: eth0@if44: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 56:c9:75:fb:4e:8f brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 192.168.99.40/32 brd 192.168.99.40 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::54c9:75ff:fefb:4e8f/64 scope link
valid_lft forever preferred_lft forever
Note the resulting /32 netmask despite the configured /24. So the host can reach the gateway, and the Internet, but can not communicate on the LAN
Proxmox VE 6.1-5
net0: name=eth0,bridge=vmbr0,firewall=0,gw=192.168.99.1,hwaddr=56:C9:75:FB:4E:8F,ip=192.168.99.40/24,type=veth
But in the container, I get
root@pihole:~# ip addr show dev eth0
43: eth0@if44: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 56:c9:75:fb:4e:8f brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 192.168.99.40/32 brd 192.168.99.40 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::54c9:75ff:fefb:4e8f/64 scope link
valid_lft forever preferred_lft forever
Note the resulting /32 netmask despite the configured /24. So the host can reach the gateway, and the Internet, but can not communicate on the LAN
Proxmox VE 6.1-5