Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2024 12:56:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 278028] VXLAN interface is not working
Message-ID:  <bug-278028-7501-9KZ19PcSd0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278028-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278028-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278028

Dmitriy V. <d@voronin.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d@voronin.it

--- Comment #8 from Dmitriy V. <d@voronin.it> ---
vxlan doesn't work for me.

gw1:

root@gw1:/etc # uname -a
FreeBSD host 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 releng/14.1-86d01789b
GENERIC amd64
root@gw1:/etc # ifconfig=20
vmx0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metr=
ic 0
mtu 1500
=20=20=20=20=20=20=20
options=3D48400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,=
HWSTATS,MEXTPG>
        ether 00:50:56:ab:65:f8
        inet 10.11.3.10 netmask 0xffffff00 broadcast 10.11.3.255
        media: Ethernet autoselect
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vmx1: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metr=
ic 0
mtu 1500
=20=20=20=20=20=20=20
options=3D48400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,=
HWSTATS,MEXTPG>
        ether 00:50:56:ab:e3:d8
        media: Ethernet autoselect
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1=
6384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
vxlan0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> me=
tric 0
mtu 1450
        options=3D80020<JUMBO_MTU,LINKSTATE>
        ether 58:9c:fc:00:51:74
        inet 192.168.254.1 netmask 0xffffff00 broadcast 192.168.254.255
        groups: vxlan
        vxlan vni 1 local 10.11.3.10:4789 remote 10.11.3.11:4789
        media: Ethernet autoselect (autoselect <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

gw2:

root@gw2:/etc # uname -a
FreeBSD host 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 releng/14.1-86d01789b
GENERIC amd64
root@gw2:/etc # ifconfig=20
vmx0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metr=
ic 0
mtu 1500
=20=20=20=20=20=20=20
options=3D48400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,=
HWSTATS,MEXTPG>
        ether 00:50:56:ab:ec:42
        inet 10.11.3.11 netmask 0xffffff00 broadcast 10.11.3.255
        media: Ethernet autoselect
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vmx1: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metr=
ic 0
mtu 1500
=20=20=20=20=20=20=20
options=3D48400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,=
HWSTATS,MEXTPG>
        ether 00:50:56:ab:1a:65
        media: Ethernet autoselect
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1=
6384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
vxlan0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> me=
tric 0
mtu 1450
        options=3D80020<JUMBO_MTU,LINKSTATE>
        ether 58:9c:fc:00:51:74
        inet 192.168.254.2 netmask 0xffffff00 broadcast 192.168.254.255
        groups: vxlan
        vxlan vni 1 local 10.11.3.11:4789 remote 10.11.3.10:4789
        media: Ethernet autoselect (autoselect <full-duplex>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

root@gw1:/etc # tcpdump -vv -ni vmx0 host 10.11.3.11
tcpdump: listening on vmx0, link-type EN10MB (Ethernet), snapshot length 26=
2144
bytes
15:53:02.968609 IP (tos 0x0, ttl 64, id 15597, offset 0, flags [none], proto
UDP (17), length 78)
    10.11.3.11.5785 > 10.11.3.10.4789: [no cksum] VXLAN, flags [I] (0x08), =
vni
1
ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.254.1 tell
192.168.254.2, length 28
15:53:04.041181 IP (tos 0x0, ttl 64, id 15599, offset 0, flags [none], proto
UDP (17), length 78)
    10.11.3.11.5785 > 10.11.3.10.4789: [no cksum] VXLAN, flags [I] (0x08), =
vni
1
ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.254.1 tell
192.168.254.2, length 28
15:53:05.113726 IP (tos 0x0, ttl 64, id 15601, offset 0, flags [none], proto
UDP (17), length 78)
    10.11.3.11.5785 > 10.11.3.10.4789: [no cksum] VXLAN, flags [I] (0x08), =
vni
1
ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.254.1 tell
192.168.254.2, length 28
15:53:06.166138 IP (tos 0x0, ttl 64, id 15603, offset 0, flags [none], proto
UDP (17), length 78)
    10.11.3.11.5785 > 10.11.3.10.4789: [no cksum] VXLAN, flags [I] (0x08), =
vni
1
ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.254.1 tell
192.168.254.2, length 28

root@gw2:/etc # arp -a
? (10.11.3.1) at 00:50:56:95:1a:df on vmx0 expires in 1140 seconds [etherne=
t]
? (10.11.3.10) at 00:50:56:ab:65:f8 on vmx0 expires in 1140 seconds [ethern=
et]
? (10.11.3.11) at 00:50:56:ab:ec:42 on vmx0 permanent [ethernet]
? (192.168.254.2) at 58:9c:fc:00:51:74 on vxlan0 permanent [ethernet]
? (192.168.254.1) at (incomplete) on vxlan0 expired [ethernet]

root@gw1:/etc # arp -an
? (10.11.3.1) at 00:50:56:95:1a:df on vmx0 expires in 1103 seconds [etherne=
t]
? (10.11.3.10) at 00:50:56:ab:65:f8 on vmx0 permanent [ethernet]
? (10.11.3.11) at 00:50:56:ab:ec:42 on vmx0 expires in 1103 seconds [ethern=
et]
? (192.168.254.2) at (incomplete) on vxlan0 expired [ethernet]
? (192.168.254.1) at 58:9c:fc:00:51:74 on vxlan0 permanent [ethernet]

Does anyone have any ideas why it might not work?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278028-7501-9KZ19PcSd0>