Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2024 21:11:00 +0000
From:      Benoit Chesneau <benoitc@enki-multimedia.eu>
To:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   dot1 issue, can't ping 2 interfaces each others
Message-ID:  <fqfJ3qmoWaOjnsclu4yr4Em68RUvbm8wBsYAQq5LpDzfrWZwyaNfekbz33XZv56RsV6CbEejYlWRyxx0b64W2mLJ1B-GB4B3ixL8USmmpyU=@enki-multimedia.eu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I have 2 machines connected on 2 ports of the same switch on which I try to pass a vlan 10 encapsulated in vlan 330 using dot1 q protocol. The configuration is very generic, but I cant ping each others machines

Ex:
```
# ping 1.1.1.198
PING 1.1.1.1.198 (1.1.1.1.198): 56 data bytes
ping: sendto: Host is down
```

Configuration:

M1:
```
vlan330: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=680703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether 50:65:f3:8b:98:71
groups: vlan
vlan: 330 vlanproto: 802.1ad vlanpcp: 0 parent interface: mlxen0
media: Ethernet autoselect (40Gbase-CR4 <full-duplex,rxpause,txpause>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vlan330.10: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1480
options=80000<LINKSTATE>
ether 50:65:f3:8b:98:71
inet 1.1.1.199 netmask 0xfffffffe broadcast 255.255.255.255
groups: vlan
vlan: 10 vlanproto: 802.1q vlanpcp: 0 parent interface: vlan330
media: Ethernet autoselect (40Gbase-CR4 <full-duplex,rxpause,txpause>)
status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
```

M2:

```
vlan330: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
description: service
options=1c680703<RXCSUM,TXCSUM,TSO4,TSO6,LRO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,MEXTPG,TXTLS4,TXTLS6>
ether 02:01:02:02:01:00
groups: vlan
vlan: 330 vlanproto: 802.1ad vlanpcp: 0 parent interface: mce0
media: Ethernet 25GBase-SR <full-duplex,txpause>
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vlan330.10: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1480
options=1c080000<LINKSTATE,MEXTPG,TXTLS4,TXTLS6>
ether 02:01:02:02:01:00
inet 1.1.1.198 netmask 0xfffffffe broadcast 255.255.255.255
inet6 fe80::1:2ff:fe02:100%vlan330.10 prefixlen 64 scopeid 0xe
groups: vlan
vlan: 10 vlanproto: 802.1q vlanpcp: 0 parent interface: vlan330
media: Ethernet 25GBase-SR <full-duplex,txpause>
status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

```

On the switch:

```
interface eth-0-29
switchport mode trunk
switchport trunk allowed vlan all!
interface eth-0-30
switchport mode trunk
switchport trunk allowed vlan all!

```

Any idea is welcome :)

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;">I have 2 machines connected on 2 ports of the same switch on which I try to pass a vlan 10 encapsulated &nbsp;in vlan 330 using dot1 q protocol. The configuration is very generic, but I cant ping each others machines</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Ex:</div><div style="font-family: Arial, sans-serif; font-size: 14px;">```</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>&nbsp;# ping 1.1.1.198</span><br><span>PING <span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">1.1.1.1.</span>198 (<span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">1.1.1.1</span>.198): 56 data bytes</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>ping: sendto: Host is down</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;">Configuration:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">M1:</div><div style="font-family: Arial, sans-serif; font-size: 14px;">```</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>vlan330: flags=1008843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP&gt; metric 0 mtu 1500</span><div><span>	options=680703&lt;RXCSUM,TXCSUM,TSO4,TSO6,LRO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6&gt;</span></div><div><span>	ether 50:65:f3:8b:98:71</span></div><div><span>	groups: vlan</span></div><div><span>	vlan: 330 vlanproto: 802.1ad vlanpcp: 0 parent interface: mlxen0</span></div><div><span>	media: Ethernet autoselect (40Gbase-CR4 &lt;full-duplex,rxpause,txpause&gt;)</span></div><div><span>	status: active</span></div><div><span>	nd6 options=29&lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&gt;</span></div><div><span>vlan330.10: flags=1008843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP&gt; metric 0 mtu 1480</span></div><div><span>	options=80000&lt;LINKSTATE&gt;</span></div><div><span>	ether 50:65:f3:8b:98:71</span></div><div><span>	inet 1.1.1.199 netmask 0xfffffffe broadcast 255.255.255.255</span></div><div><span>	groups: vlan</span></div><div><span>	vlan: 10 vlanproto: 802.1q vlanpcp: 0 parent interface: vlan330</span></div><div><span>	media: Ethernet autoselect (40Gbase-CR4 &lt;full-duplex,rxpause,txpause&gt;)</span></div><div><span>	status: active</span></div><span>	nd6 options=29&lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&gt;</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;"><span>M2:</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;">```</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span>vlan330: flags=1008843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP&gt; metric 0 mtu 1500</span><div><span>	description: service</span></div><div><span>	options=1c680703&lt;RXCSUM,TXCSUM,TSO4,TSO6,LRO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,MEXTPG,TXTLS4,TXTLS6&gt;</span></div><div><span>	ether 02:01:02:02:01:00</span></div><div><span>	groups: vlan</span></div><div><span>	vlan: 330 vlanproto: 802.1ad vlanpcp: 0 parent interface: mce0</span></div><div><span>	media: Ethernet 25GBase-SR &lt;full-duplex,txpause&gt;</span></div><div><span>	status: active</span></div><div><span>	nd6 options=29&lt;PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL&gt;</span></div><div><span>vlan330.10: flags=1008843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP&gt; metric 0 mtu 1480</span></div><div><span>	options=1c080000&lt;LINKSTATE,MEXTPG,TXTLS4,TXTLS6&gt;</span></div><div><span>	ether 02:01:02:02:01:00</span></div><div><span>	inet 1.1.1.198 netmask 0xfffffffe broadcast 255.255.255.255</span></div><div><span>	inet6 fe80::1:2ff:fe02:100%vlan330.10 prefixlen 64 scopeid 0xe</span></div><div><span>	groups: vlan</span></div><div><span>	vlan: 10 vlanproto: 802.1q vlanpcp: 0 parent interface: vlan330</span></div><div><span>	media: Ethernet 25GBase-SR &lt;full-duplex,txpause&gt;</span></div><div><span>	status: active</span></div><span>	nd6 options=21&lt;PERFORMNUD,AUTO_LINKLOCAL&gt;</span><br></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;">On the switch:</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>interface eth-0-29</span><div><span>&nbsp;switchport mode trunk</span></div><div><span>&nbsp;switchport trunk allowed vlan all</span></div><span>!</span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span>interface eth-0-30</span><div><span>&nbsp;switchport mode trunk</span></div><div><span>&nbsp;switchport trunk allowed vlan all</span></div><span>!</span><br></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;">Any idea is welcome :)</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></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&nbsp;<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?fqfJ3qmoWaOjnsclu4yr4Em68RUvbm8wBsYAQq5LpDzfrWZwyaNfekbz33XZv56RsV6CbEejYlWRyxx0b64W2mLJ1B-GB4B3ixL8USmmpyU=>