Hello. I’m trying to create l2 tunnel to connect two remote network segments. wireguard is used as l3 transport for tun0 interface.
Problem: I am not receiving arp packets inside vm
Schematic:
R1 vyos wireguard (br1 tun0+eth0) ===(tun0) ===> R2 vyos wireguard === (br1 tun0, eth2) ===> VM (virtual nic e1000e).
Config R2
br1
aging 200
hello-time 2
ip {
}
max-age 20
member {
interface eth2 {
}
interface tun0 {
}
}
priority 0
stp
tun0
encapsulation gretap
remote 10.3.3.1
source-address 10.3.3.3
Config R1
br1
bridge br1 {
member {
interface eth0 {
}
interface tun0 {
}
}
}
tun0
encapsulation gretap
remote 10.3.3.3
source-address 10.3.3.1
According to tcpdump ARP packets works fine between R1 and R2
Can you share your wireguard configuration and the status of the wireguard interface.
$ show interfaces wireguard
VMware? Or what hypervisor/solution are you using? Can you confirm those ARP packets are making it from R2 to the next upstream switch or vSwitch?
If it is VMware just for giggles go into the vswitch port for the VM and turn on promiscuous mode. I had problems in the past trying to run GNS3/EVE-NG through a VM because it required promiscuous mode.I wasn’t able to bridge the simulated devices on to the network proper. Sounds almost like the same thing here
I use Ovirt/KVM. ARP packets works fine between R1 and R2.
However, tcpdump result on the network interface of the virtualization host that is used to communicate with R2 to the VM does not detect the same ARP messages. I also think that the problem is at the virtualization level
Solved.
The problem was on the virtualization level in default vNIC profiles.
Solution:
https://www.mail-archive.com/users@ovirt.org/msg70631.html