调试我试图让 q-in-q 在带有环回的 Arista 7050S 上工作的问题。
我有从交换机输出的数据包经过双重标记,但在输入时,我可以在 STAG 的 SVI 上看到它们。我假设他们被踢到控制平面上。两个 TPID 都是 0x8100。
interface Ethernet1
description QINQ PORT
switchport trunk allowed vlan 1001
switchport mode trunk
spanning-tree bpduguard disable
spanning-tree bpdufilter disable
spanning-tree guard none
interface Ethernet2
description LOOPBACK CONNECTED TO ET3
switchport access vlan 1001
switchport mode dot1q-tunnel
spanning-tree bpduguard disable
!
interface Ethernet3
description LOOPBACK CONNECTED TO ET2
switchport trunk allowed vlan 100-104
switch port mode trunk
spanning-tree bpduguard disable
在连接到 Et1 的主机上接收到格式正确的数据包:
tcpdump: listening on ens2f1np1, link-type EN10MB (Ethernet), capture size 262144 bytes
23:02:56.339095 00:1c:73:68:50:a1 (oui Unknown) > 00:0f:53:3f:1e:31 (oui Unknown), ethertype 802.1Q (0x8100), length 122: vlan 1001, p 0, ethertype 802.1Q, vlan 103, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 32392, offset 0, flags [none], proto ICMP (1), length 100)
在 7050 上的 SVI 1001 上接收的数据包:
tcpdump: listening on vlan1001, link-type EN10MB (Ethernet), capture size 65535 bytes
13:12:00.776276 00:0f:53:3f:1e:31 (oui Unknown) > 00:1c:73:68:50:a1 (oui Arista Networks), ethertype 802.1Q (0x8100), length 102: vlan 103, p 0, ethertype IPv4, (tos 0x0, ttl 64, id 37014, offset 0, flags [DF], proto ICMP (1), length 84)
1.0.0.4 > 1.0.0.3: ICMP echo request, id 4856, seq 1973, length 64
有任何想法吗?头发正在被拉扯。