c0mm0n
New Around Here
Hi,
I've discovering merlin, robocfg, etc... and needed to do something which is usually trivial : tag a VLAN on a given port, or LAN, etc...
I think I got it and wanted to share as it seems it's a frequent question.
You must have your ways in SSH, etc I don't go into the detail,s just giving you the big picture.
With default settings on AC66U Merlin firmware , a "robocfg show" would give me
1 2 = LAN ports 1/2
0 = WAN port
8 refers to router's internal interface, I'm not sure about the t and u so won't elaborate.
Let's say I would like to TAG the VLAN 835 on port 2
I would :
Which means (for me) : create vlan 835 and have it TAGGUED (t) on port 2.
If I want it on port 1 and 2 you can
Tagging it on the wan would have you use "0t" etc...
Robocfg is the switch configuration utility So from there If you want IFs, IP adresses, etc... you still have to use vconfig for that afterwards.
These 2 links were useful and may give you hints at more commands with vconfig, etc...
English : http://zwizwa.be/-/openwrt/20110302-002431
Another one in French but commands still useful
http://www.neufbox4.org/wiki/index.php?title=Configurer_les_VLANs
Hope it helps, please report If I misinterpreted something.
I've discovering merlin, robocfg, etc... and needed to do something which is usually trivial : tag a VLAN on a given port, or LAN, etc...
I think I got it and wanted to share as it seems it's a frequent question.
You must have your ways in SSH, etc I don't go into the detail,s just giving you the big picture.
With default settings on AC66U Merlin firmware , a "robocfg show" would give me
Code:
1: vlan1: 1 2 8t
2: vlan2: 0 8u
1 2 = LAN ports 1/2
0 = WAN port
8 refers to router's internal interface, I'm not sure about the t and u so won't elaborate.
Let's say I would like to TAG the VLAN 835 on port 2
I would :
Code:
robocfg vlan 835 ports "2t 8t"
Which means (for me) : create vlan 835 and have it TAGGUED (t) on port 2.
If I want it on port 1 and 2 you can
Code:
robocfg vlan 835 ports "1t 2t 8t"
Tagging it on the wan would have you use "0t" etc...
Robocfg is the switch configuration utility So from there If you want IFs, IP adresses, etc... you still have to use vconfig for that afterwards.
These 2 links were useful and may give you hints at more commands with vconfig, etc...
English : http://zwizwa.be/-/openwrt/20110302-002431
Another one in French but commands still useful
http://www.neufbox4.org/wiki/index.php?title=Configurer_les_VLANs
Hope it helps, please report If I misinterpreted something.