arp changes causing network interruptions (point-to-point gateway)

harmonyp

Member
Nov 26, 2020
196
4
23
46
I have installed Proxmox on a virtual machine and am attempting nesting (vm within the vm) but am having some issues getting the network to work correctly. Due to the host having MAC filtering I am trying to use the main Proxmox IP 107.189.30.xxx as the gateway IP for virtual machines. .1 is the gateway for each /24 IP block.

When it's working the following is returned:

arp

Code:
Address HWtype HWaddress Flags Mask Iface
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth

But then about 10 minutes later it comes and goes. The following is returned.

arp

Code:
Address HWtype HWaddress Flags Mask Iface
104.244.72.1 ether 0c:81:26:30:b8:78 C eth0
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth0
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth0

It also swaps to the following (outbound works but no inbound during this)

arp

Code:
Address HWtype HWaddress Flags Mask Iface
104.244.72.1 ether 0c:81:26:30:b8:78 C eth0
107.189.30.1 ether 0c:81:26:30:b8:78 C eth0
107.189.30.xxx ether 00:16:cd:0b:1e:7c C eth0

/etc/network/interfaces

Code:
auto lo
iface lo inet loopback
    dns-nameservers 107.189.0.68

auto eth0
iface eth0 inet static
address 104.244.72.xxx/32
gateway 107.189.30.xxx
pointopoint 107.189.30.xxx
netmask 255.255.255.255

/etc/network/interfaces (Proxmox node)

Code:
auto lo
iface lo inet loopback

iface ens3 inet manual

auto vmbr0
iface vmbr0 inet static
        address 107.189.30.xxx/24
        gateway 107.189.30.1
        bridge-ports ens3
        bridge-stp off
        bridge-fd 0
post-up ip route add 104.244.72.xxx/32 dev vmbr0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp

What could be the cause of this?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!