#12181: VLAN tagging of TP-Link WDR4300 v1.1
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  developers
  timo.gerlach           |     Status:  reopened
      Type:  defect      |  Milestone:  Barrier Breaker 14.07
  Priority:  response-   |    Version:  Attitude Adjustment 12.09 Beta
  needed                 |   Keywords:  WDR4300 AR8327N vlan tagging 802.1q
 Component:  base        |
  system                 |
Resolution:              |
-------------------------+-------------------------------------------------

Comment (by hudys):

 Anyone tested this patch on WR1043ND v2? I have problem with utagged and
 tagged vlan on the same port (wan). Can You look at my config?

 VLAN 10 - internet connection untagged (wan tag, 1-2 nat)
 VLAN 13 - mng (tag wan, to cpu)
 VLAN 14 - TV (wan tag, 3-4 untag)


 {{{

 config interface 'loopback'
         option ifname 'lo'
         option proto 'static'
         option ipaddr '127.0.0.1'
         option netmask '255.0.0.0'

 config globals 'globals'
         option ula_prefix 'fd85:2c86:fcc1::/48'

 config interface 'lan'
         option ifname 'eth1'
         option type 'bridge'
         option proto 'static'
         option ipaddr '192.168.5.1'
         option netmask '255.255.255.0'
         option ip6assign '64'
         option dns '192.168.5.1'
         option delegate '0'

 config interface 'wan'
         option _orig_ifname 'eth0'
         option _orig_bridge 'false'
         option proto 'dhcp'
         option ifname 'eth0.10'

 config switch
         option name 'switch0'
         option reset '1'
         option enable_vlan '1'
         option enable_vlan4k '1'

 config switch_vlan
         option device 'switch0'
         option vlan '1'
         option vid '1'
         option ports '0 3 4'

 config switch_vlan
         option device 'switch0'
         option vlan '2'
         option vid '2'

 config switch_vlan
         option device 'switch0'
         option vlan '3'
         option ports '5 6'
         option vid '10'

 config switch_vlan
         option device 'switch0'
         option vlan '4'
         option vid '14'
         option ports '1 2 5t'

 config switch_vlan
         option device 'switch0'
         option vlan '5'
         option vid '13'
         option ports '5t 6t'

 config interface 'mng'
         option proto 'dhcp'
         option ifname 'eth0.13'
         option delegate '0'
         option defaultroute '0'

 }}}


 {{{
 Global attributes:
         enable_vlan: 1
         enable_mirror_rx: 0
         enable_mirror_tx: 0
         mirror_monitor_port: 0
         mirror_source_port: 0
 Port 0:
         mib: Port 0 MIB counters
 RxBroad     : 509
 RxPause     : 0
 RxMulti     : 271
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 485
 Rx128Byte   : 167
 Rx256Byte   : 67
 Rx512Byte   : 34
 Rx1024Byte  : 26
 Rx1518Byte  : 1
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 89704
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 779
 TxBroad     : 1
 TxPause     : 0
 TxMulti     : 66
 TxUnderRun  : 0
 Tx64Byte    : 0
 Tx128Byte   : 11
 Tx256Byte   : 5
 Tx512Byte   : 51
 Tx1024Byte  : 0
 Tx1518Byte  : 0
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 17301
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 1
         link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
 Port 1:
         mib: Port 1 MIB counters
 RxBroad     : 0
 RxPause     : 0
 RxMulti     : 0
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 0
 Rx128Byte   : 0
 Rx256Byte   : 0
 Rx512Byte   : 0
 Rx1024Byte  : 0
 Rx1518Byte  : 0
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 0
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 0
 TxBroad     : 0
 TxPause     : 0
 TxMulti     : 0
 TxUnderRun  : 0
 Tx64Byte    : 0
 Tx128Byte   : 0
 Tx256Byte   : 0
 Tx512Byte   : 0
 Tx1024Byte  : 0
 Tx1518Byte  : 0
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 0
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 4
         link: port:1 link:down
 Port 2:
         mib: Port 2 MIB counters
 RxBroad     : 0
 RxPause     : 0
 RxMulti     : 0
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 0
 Rx128Byte   : 0
 Rx256Byte   : 0
 Rx512Byte   : 0
 Rx1024Byte  : 0
 Rx1518Byte  : 0
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 0
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 0
 TxBroad     : 0
 TxPause     : 0
 TxMulti     : 0
 TxUnderRun  : 0
 Tx64Byte    : 0
 Tx128Byte   : 0
 Tx256Byte   : 0
 Tx512Byte   : 0
 Tx1024Byte  : 0
 Tx1518Byte  : 0
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 0
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 4
         link: port:2 link:down
 Port 3:
         mib: Port 3 MIB counters
 RxBroad     : 0
 RxPause     : 0
 RxMulti     : 0
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 0
 Rx128Byte   : 0
 Rx256Byte   : 0
 Rx512Byte   : 0
 Rx1024Byte  : 0
 Rx1518Byte  : 0
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 0
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 0
 TxBroad     : 0
 TxPause     : 0
 TxMulti     : 0
 TxUnderRun  : 0
 Tx64Byte    : 0
 Tx128Byte   : 0
 Tx256Byte   : 0
 Tx512Byte   : 0
 Tx1024Byte  : 0
 Tx1518Byte  : 0
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 0
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 1
         link: port:3 link:down
 Port 4:
         mib: Port 4 MIB counters
 RxBroad     : 0
 RxPause     : 0
 RxMulti     : 0
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 0
 Rx128Byte   : 0
 Rx256Byte   : 0
 Rx512Byte   : 0
 Rx1024Byte  : 0
 Rx1518Byte  : 0
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 0
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 0
 TxBroad     : 0
 TxPause     : 0
 TxMulti     : 0
 TxUnderRun  : 0
 Tx64Byte    : 0
 Tx128Byte   : 0
 Tx256Byte   : 0
 Tx512Byte   : 0
 Tx1024Byte  : 0
 Tx1518Byte  : 0
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 0
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 1
         link: port:4 link:down
 Port 5:
         mib: Port 5 MIB counters
 RxBroad     : 594
 RxPause     : 0
 RxMulti     : 644
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 0
 Rx128Byte   : 275
 Rx256Byte   : 269
 Rx512Byte   : 2635
 Rx1024Byte  : 189
 Rx1518Byte  : 0
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 1071928
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 874
 TxBroad     : 2541
 TxPause     : 0
 TxMulti     : 20
 TxUnderRun  : 0
 Tx64Byte    : 390
 Tx128Byte   : 14
 Tx256Byte   : 6
 Tx512Byte   : 2150
 Tx1024Byte  : 0
 Tx1518Byte  : 1
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 772091
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 3
         link: port:5 link:up speed:100baseT full-duplex auto
 Port 6:
         mib: Port 6 MIB counters
 RxBroad     : 2542
 RxPause     : 0
 RxMulti     : 20
 RxFcsErr    : 0
 RxAlignErr  : 0
 RxRunt      : 0
 RxFragment  : 0
 Rx64Byte    : 391
 Rx128Byte   : 14
 Rx256Byte   : 6
 Rx512Byte   : 2151
 Rx1024Byte  : 0
 Rx1518Byte  : 0
 RxMaxByte   : 0
 RxTooLong   : 0
 RxGoodByte  : 780082
 RxBadByte   : 0
 RxOverFlow  : 0
 Filtered    : 2
 TxBroad     : 298
 TxPause     : 0
 TxMulti     : 0
 TxUnderRun  : 0
 Tx64Byte    : 0
 Tx128Byte   : 2
 Tx256Byte   : 0
 Tx512Byte   : 2242
 Tx1024Byte  : 183
 Tx1518Byte  : 1
 TxMaxByte   : 0
 TxOverSize  : 0
 TxByte      : 885597
 TxCollision : 0
 TxAbortCol  : 0
 TxMultiCol  : 0
 TxSingleCol : 0
 TxExcDefer  : 0
 TxDefer     : 0
 TxLateCol   : 0

         pvid: 3
         link: port:6 link:up speed:1000baseT full-duplex txflow rxflow
 VLAN 1:
         vid: 1
         ports: 0 3 4
 VLAN 3:
         vid: 10
         ports: 5 6
 VLAN 4:
         vid: 14
         ports: 1 2 5t
 VLAN 5:
         vid: 13
         ports: 5t 6t
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/12181#comment:110>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to