Skip to content

ts: verD: use br-lan as a sink

Janusz Dziedzic requested to merge devel-ts into devel

This required to add primary_vid untagged to APs.

Best if you have serial/tty connection to board before testing, while we set ethX VLAN tagged - so ssh connection need to setup correct tag eg.1 on your PC.

To enable:

  • set enable_ts '1' in mapcontroller
  • set some vid for FH APs - eg. 10
  • /etc/init.d/mapcontroller restart
  • /etc/init.d/mapagent restart

Before we crate sink interface on each VLAN/tag and run separate NAT and DHCP. Each configuration have some pro and cons.

This one is the simplest one where br-lan is our sink.

GW setup (wds1.1.1 bhaul as a trunk): root@eagle-44D43771BE80:# bridge vlan port vlan-id eth3 1 10 wl0 1 Egress Untagged 10 PVID Egress Untagged wl1 1 Egress Untagged 10 PVID Egress Untagged wl1.1 1 PVID Egress Untagged wl0.1 1 PVID Egress Untagged br-lan 1 PVID Egress Untagged 10 Egress Untagged wds1.1.1 1 10 root@eagle-44D43771BE80:# root@eagle-44D43771BE80:~# ifconfig br-lan br-lan Link encap:Ethernet HWaddr 44:D4:37:71:BE:82 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fdaa:1148:c9e0::1/60 Scope:Global inet6 addr: fe80::46d4:37ff:fe71:be82/64 Scope:Link UP BROADCAST RUNNING ALLMULTI MULTICAST MTU:1500 Metric:1 RX packets:163 errors:0 dropped:1 overruns:0 frame:0 TX packets:687 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:30795 (30.0 KiB) TX bytes:57939 (56.5 KiB)

NAT and DHCP server run on br-lan.

And LEAF setup: root@eagle-44D43771BF30:# bridge vlan port vlan-id eth3 1 10 eth4 1 10 wl0 1 10 br-lan 1 PVID Egress Untagged 10 Egress Untagged wl0.1 1 Egress Untagged 10 PVID Egress Untagged wl1.1 1 Egress Untagged 10 PVID Egress Untagged wl0.2 1 PVID Egress Untagged wl1.2 1 PVID Egress Untagged root@eagle-44D43771BF30:# root@eagle-44D43771BF30:~# ifconfig br-lan br-lan Link encap:Ethernet HWaddr 44:D4:37:71:BF:32 inet addr:192.168.1.133 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::46d4:37ff:fe71:bf32/64 Scope:Link inet6 addr: fdaa:1148:c9e0::f79/128 Scope:Global inet6 addr: fdaa:1148:c9e0:0:46d4:37ff:fe71:bf32/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:40644 errors:0 dropped:15 overruns:0 frame:0 TX packets:57366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2860750 (2.7 MiB) TX bytes:14047471 (13.3 MiB)

Signed-off-by: Janusz Dziedzic janusz.dziedzic@iopsys.eu

Merge request reports