Date: Mon, 04 Dec 2023 10:25:25 +0000 From: Benoit Chesneau <benoitc@enki-multimedia.eu> To: "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org> Subject: vxlan with IPv6 underlay ? Message-ID: <bmkPdpqYkXzCqs5CYfBIZO6sXwmR1hU38pCr5cRlBeTxM4VIbzTj_A0YU6yFP2CbVxXHoOLeqHpdBY1reGJS_VvNBesk3J1HBWblpjijl2o=@enki-multimedia.eu>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, Is IPv6 underlay fully supported with FreebBSD ? I have created the a tunnel and associated an Ipv6 address to each side. I'm able to ping between each devicesl. But when I want to curl from the remote side it timeout. Locally on the remote side it is OK. Is this expected ? Should I rather create a bridge with vxlan as a member and bind nginx to it ? ``` $ ifconfig vxlan0 create vxlanid 108 vxlanlocal AAAA:BBBB:110b:102::100 vxlanremote AAAA:BBBB:110b:102::12 $ ifconfig vxlan0 vxlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1430 options=80020<JUMBO_MTU,LINKSTATE> ether 58:9c:fc:10:ff:eb groups: vxlan vxlan vni 108 local [AAAA:BBBB:102::100]:4789 remote [AAAA:BBBB:110b:102::12]:4789 media: Ethernet autoselect (autoselect <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> $ ifconfig vxlan0 inet6 AAAA:BBBB:110b:300::1/64 ```` Ping from remote is ok: ``` ifconfig vxlan0 vxlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1430 options=680323<RXCSUM,TXCSUM,JUMBO_MTU,TSO4,TSO6,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> ether 58:9c:fc:10:df:1f inet6 fe80::5a9c:fcff:fe10:df1f%vxlan0 prefixlen 64 scopeid 0xf inet6 AAAA:BBBB:110b:300::2 prefixlen 64 groups: vxlan vxlan vni 108 local [AAAA:BBBB110b:102::12]:4789 remote [AAAA:BBBB:110b:102::100]:4789 media: Ethernet autoselect (autoselect <full-duplex>) status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> $ ping6 AAAA:BBBB:110b:300::1 PING6(56=40+8+8 bytes) AAAA:BBBB:110b:300::2 --> AAAA:BBBB::110b:300::1 16 bytes from 2a0e:e701:110b:300::1, icmp_seq=0 hlim=64 time=0.071 ms 16 bytes from 2a0e:e701:110b:300::1, icmp_seq=1 hlim=64 time=0.078 ms 16 bytes from 2a0e:e701:110b:300::1, icmp_seq=2 hlim=64 time=0.076 ms 16 bytes from 2a0e:e701:110b:300::1, icmp_seq=3 hlim=64 time=0.104 ms 16 bytes from 2a0e:e701:110b:300::1, icmp_seq=4 hlim=64 time=0.077 ms^C ``` But when I run `curl -6 -v 'http://[AAAA:BBBB:110b:300::1]'` it timeout. Benoît Chesneau, Enki Multimedia — t. +33608655490 Sent with [Proton Mail](https://proton.me/) secure email. [-- Attachment #2 --] <div style="font-family: Arial, sans-serif; font-size: 14px;">Hi,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Is IPv6 underlay fully supported with FreebBSD ? I have created the a tunnel and associated an Ipv6 address to each side. I'm able to ping between each devicesl. But when I want to curl from the remote side it timeout. Locally on the remote side it is OK. Is this expected ? Should I rather create a bridge with vxlan as a member and bind nginx to it ?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">```</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>$ ifconfig vxlan0 create vxlanid 108 vxlanlocal AAAA:BBBB:110b:102::100 vxlanremote <span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB</span>:110b:102::12</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>$ <span>ifconfig vxlan0</span><div><span>vxlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1430</span></div><div><span> options=80020<JUMBO_MTU,LINKSTATE></span></div><div><span> ether 58:9c:fc:10:ff:eb</span></div><div><span> groups: vxlan</span></div><div><span> vxlan vni 108 local [AAAA:BBBB:102::100]:4789 remote [<span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB</span>:110b:102::12]:4789</span></div><div><span> media: Ethernet autoselect (autoselect <full-duplex>)</span></div><div><span> status: active</span></div><span> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL></span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>$ <span>ifconfig vxlan0 inet6 AAAA:BBBB:110b:300::1/64</span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;">````</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Ping from remote is ok:</div><div style="font-family: Arial, sans-serif; font-size: 14px;">```</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span> ifconfig vxlan0</span><div><span>vxlan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1430</span></div><div><span> options=680323<RXCSUM,TXCSUM,JUMBO_MTU,TSO4,TSO6,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6></span></div><div><span> ether 58:9c:fc:10:df:1f</span></div><div><span> inet6 fe80::5a9c:fcff:fe10:df1f%vxlan0 prefixlen 64 scopeid 0xf</span></div><div><span> inet6 <span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB</span>:110b:300::2 prefixlen 64</span></div><div><span> groups: vxlan</span></div><div><span> vxlan vni 108 local [<span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB</span>110b:102::12]:4789 remote [<span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB</span>:110b:102::100]:4789</span></div><div><span> media: Ethernet autoselect (autoselect <full-duplex>)</span></div><div><span> status: active</span></div><span> nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>$ ping6 AAAA:BBBB:110b:300::1</span><div><span>PING6(56=40+8+8 bytes) <span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB</span>:110b:300::2 --> <span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">AAAA:BBBB:</span>:110b:300::1</span></div><div><span>16 bytes from 2a0e:e701:110b:300::1, icmp_seq=0 hlim=64 time=0.071 ms</span></div><div><span>16 bytes from 2a0e:e701:110b:300::1, icmp_seq=1 hlim=64 time=0.078 ms</span></div><div><span>16 bytes from 2a0e:e701:110b:300::1, icmp_seq=2 hlim=64 time=0.076 ms</span></div><div><span>16 bytes from 2a0e:e701:110b:300::1, icmp_seq=3 hlim=64 time=0.104 ms</span></div><div><span>16 bytes from 2a0e:e701:110b:300::1, icmp_seq=4 hlim=64 time=0.077 ms</span></div><span>^C</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">```</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">But when I run `<span>curl -6 -v 'http://[AAAA:BBBB:110b:300::1]'` it timeout.</span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div> <div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;"> <div class="protonmail_signature_block-user"> <div style="font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">Benoît Chesneau, Enki Multimedia<br></div><div style="font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">—<br></div><div style="font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0);">t. +33608655490 <br></div> </div> <div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div> <div class="protonmail_signature_block-proton"> Sent with <a target="_blank" href="https://proton.me/" rel="noopener noreferrer">Proton Mail</a> secure email. </div> </div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bmkPdpqYkXzCqs5CYfBIZO6sXwmR1hU38pCr5cRlBeTxM4VIbzTj_A0YU6yFP2CbVxXHoOLeqHpdBY1reGJS_VvNBesk3J1HBWblpjijl2o=>
