Hi,
I'm trying to setup and few vms and containers inside a VXLAN with a gateway to my local network and to the internet. Everything is working except for package updates (I've tried ubuntu, debian and centos). Every VM and container can communicate with each other inside the VLAN. Each VM and container also has a working internet connection trough the gateway with no apparent DNS issue (I tried to ping or do nslookups on multiple domains and they all worked, even the ubuntu repos).
When running apt update inside one the VMs connected to the VXLAN, I get stuck at
This only happens when the VM is only inside the VXLAN. I tried to clone VMs to put them inside my LAN and the package updates started working.
VXLAN subnet : 172.22.0.0/16
LAN: 192.168.1.0/24
ip a output from one of the VMs concerned :
Netplan configuration of the same VM :
Content of the /etc/network/interface.d/sdn file :
I've already tried changing my gateway's policy to ACCEPT, and turning off the firewalls inside Proxmox but it's still not working.
Any help is appreciated and let me know If I can provide any information that would help to resolve this issue.
Thanks
I'm trying to setup and few vms and containers inside a VXLAN with a gateway to my local network and to the internet. Everything is working except for package updates (I've tried ubuntu, debian and centos). Every VM and container can communicate with each other inside the VLAN. Each VM and container also has a working internet connection trough the gateway with no apparent DNS issue (I tried to ping or do nslookups on multiple domains and they all worked, even the ubuntu repos).
When running apt update inside one the VMs connected to the VXLAN, I get stuck at
0% [Waiting for headers]
This only happens when the VM is only inside the VXLAN. I tried to clone VMs to put them inside my LAN and the package updates started working.
VXLAN subnet : 172.22.0.0/16
LAN: 192.168.1.0/24
ip a output from one of the VMs concerned :
Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether b6:d9:ad:48:3d:6c brd ff:ff:ff:ff:ff:ff
inet 172.22.6.1/16 brd 172.22.255.255 scope global ens18
valid_lft forever preferred_lft forever
inet6 fe80::b4d9:adff:fe48:3d6c/64 scope link
valid_lft forever preferred_lft forever
Netplan configuration of the same VM :
Code:
network:
ethernets:
ens18:
addresses:
- 172.22.6.1/16
gateway4: 172.22.0.254
nameservers:
addresses:
- 8.8.8.8
search: []
version: 2
Content of the /etc/network/interface.d/sdn file :
Code:
auto vnet1
iface vnet1
address 172.22.0.0/16
bridge_ports vxlan_vnet1
bridge_stp off
bridge_fd 0
mtu 1500
auto vxlan_vnet1
iface vxlan_vnet1
vxlan-id 10
mtu 1500
I've already tried changing my gateway's policy to ACCEPT, and turning off the firewalls inside Proxmox but it's still not working.
Any help is appreciated and let me know If I can provide any information that would help to resolve this issue.
Thanks
Last edited: