Нич-ч-чего не понимаю (с)
Создаю простой стенд:
Код: Выделить всё
Клиент -- (fa1/0/1) MES-1124 (gi1/0/3) -- Linux
IP адрес клиента - 192.168.6.100/24.
На MES создаю простой конфиг:
Код: Выделить всё
console#sh running-config
no spanning-tree
!
port jumbo-frame
!
vlan database
vlan 101,3001
exit
!
interface fastethernet 1/0/1
switchport mode customer
switchport customer vlan 101
exit
!
interface gigabitethernet 1/0/3
switchport mode trunk
switchport trunk allowed vlan add 101,3001
exit
!
console#
Запускаю на клиенте ping, запускаю на Linux tcpdump -i eth1. Вижу приходящие пакеты в 101м VLAN'е:
Код: Выделить всё
13:11:33.497242 50:af:73:14:fa:c9 > Broadcast, ethertype 802.1Q (0x8100), length 64: vlan 101, p 0, ethertype ARP, Request who-has 192.168.6.1 tell 192.168.6.100, length 46
13:11:34.499278 50:af:73:14:fa:c9 > Broadcast, ethertype 802.1Q (0x8100), length 64: vlan 101, p 0, ethertype ARP, Request who-has 192.168.6.1 tell 192.168.6.100, length 46
13:11:35.494308 50:af:73:14:fa:c9 > Broadcast, ethertype 802.1Q (0x8100), length 64: vlan 101, p 0, ethertype ARP, Request who-has 192.168.6.1 tell 192.168.6.100, length 46
Вроде, так и должно быть. Включаю на коммутаторе override_vlan:
Код: Выделить всё
console#
console#configure
console(config)#interface GigabitEthernet 1/0/3
console(config-if)#selective-qinq list ingress override_vlan 3001 ingress_vlan 101
console(config-if)#exit
console(config)#exit
console#show selective-qinq
Direction Interface Rule type Vlan ID Classification by Parameter
--------- --------- --------------- -------- ---------------- ------------------
ingress gi1/0/3 override_vlan 3001 ingress_vlan 101
console#
И все равно вижу входящие пакеты в том же 101м vlan'е.
Код: Выделить всё
13:14:26.487766 50:af:73:14:fa:c9 > Broadcast, ethertype 802.1Q (0x8100), length 64: vlan 101, p 0, ethertype ARP, Request who-has 192.168.6.1 tell 192.168.6.100, length 46
13:14:27.485798 50:af:73:14:fa:c9 > Broadcast, ethertype 802.1Q (0x8100), length 64: vlan 101, p 0, ethertype ARP, Request who-has 192.168.6.1 tell 192.168.6.100, length 46
.
А должен быть 3001
На всякий случай,
SW version 1.1.22 ( date 14-May-2014 time 14:31:13 )
Boot version 0.0.0.3 ( date 23-Feb-2011 time 17:40:14 )
HW version 01.03