I have a router with 4 ports (1 wan, 3 lan). I want to tag one of the LAN ports to be picked up by a managed switch (TP-Link TL-SG105E), and put two of the ethernet ports of this switch into a separate VLAN.
So all other devices which are connected to this port on the router should be unaffected, only the 2 ports on the managed switch should pick up on this separate VLAN and be put inside this separate VLAN.
How is this done, tried understanding the Wiki, but I am lost.
Here's the output of brctl show
:
bridge name bridge id STP enabled interfaces
br-guest 7fff.28d1274d2dac no eth2.10
eth3.10
eth4.10
wl11
br-lan 7fff.28d1274d2dac no eth2
eth3
eth4
wl0
wl1
Here's the output of ls -l /sys/class/net
lrwxrwxrwx 1 root root 0 Apr 14 16:53 bond0 -> ../../devices/ virtual/net/bond0
-rw-r--r-- 1 root root 4096 Apr 14 16:53 bonding_masters
lrwxrwxrwx 1 root root 0 Apr 14 16:54 br-guest -> ../../devic es/virtual/net/br-guest
lrwxrwxrwx 1 root root 0 Apr 14 16:54 br-lan -> ../../devices /virtual/net/br-lan
lrwxrwxrwx 1 root root 0 Apr 14 16:53 eth0 -> ../../devices/v irtual/net/eth0
lrwxrwxrwx 1 root root 0 Apr 14 16:53 eth1 -> ../../devices/v irtual/net/eth1
lrwxrwxrwx 1 root root 0 Apr 14 16:53 eth2 -> ../../devices/v irtual/net/eth2
lrwxrwxrwx 1 root root 0 Apr 14 16:54 eth2.10 -> ../../device s/virtual/net/eth2.10
lrwxrwxrwx 1 root root 0 Apr 14 16:53 eth3 -> ../../devices/v irtual/net/eth3
lrwxrwxrwx 1 root root 0 Apr 14 16:54 eth3.10 -> ../../device s/virtual/net/eth3.10
lrwxrwxrwx 1 root root 0 Apr 14 16:53 eth4 -> ../../devices/v irtual/net/eth4
lrwxrwxrwx 1 root root 0 Apr 14 16:54 eth4.10 -> ../../device s/virtual/net/eth4.10
lrwxrwxrwx 1 root root 0 Apr 14 16:53 gre0 -> ../../devices/v irtual/net/gre0
lrwxrwxrwx 1 root root 0 Apr 14 16:53 gretap0 -> ../../device s/virtual/net/gretap0
lrwxrwxrwx 1 root root 0 Apr 14 16:53 ip6gre0 -> ../../device s/virtual/net/ip6gre0
lrwxrwxrwx 1 root root 0 Apr 14 16:53 ip6tnl0 -> ../../device s/virtual/net/ip6tnl0
lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/vir tual/net/lo
lrwxrwxrwx 1 root root 0 Apr 14 16:53 miireg -> ../../devices /virtual/net/miireg
lrwxrwxrwx 1 root root 0 Apr 14 16:53 sit0 -> ../../devices/v irtual/net/sit0
lrwxrwxrwx 1 root root 0 Apr 14 16:54 soc0 -> ../../devices/p latform/soc/c000000.wifi1/net/soc0
lrwxrwxrwx 1 root root 0 Apr 14 16:55 soc1 -> ../../devices/p latform/soc/20000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/net/soc1
lrwxrwxrwx 1 root root 0 Apr 14 16:53 teql0 -> ../../devices/ virtual/net/teql0
lrwxrwxrwx 1 root root 0 Apr 14 16:54 wifi0 -> ../../devices/ platform/soc/c000000.wifi1/net/wifi0
lrwxrwxrwx 1 root root 0 Apr 14 16:54 wifi1 -> ../../devices/ platform/soc/c000000.wifi1/net/wifi1
lrwxrwxrwx 1 root root 0 Apr 14 16:54 wifi2 -> ../../devices/ platform/soc/20000000.pci/pci0000:00/0000:00:00.0/0000:01:00.0/net/wifi2
lrwxrwxrwx 1 root root 0 Apr 14 16:55 wl0 -> ../../devices/vi rtual/net/wl0
lrwxrwxrwx 1 root root 0 Apr 14 16:55 wl1 -> ../../devices/vi rtual/net/wl1
lrwxrwxrwx 1 root root 0 Apr 14 16:55 wl11 -> ../../devices/v irtual/net/wl11
lrwxrwxrwx 1 root root 0 Apr 14 16:55 wl2 -> ../../devices/vi rtual/net/wl2