Community discussions

MikroTik App
 
gustawm
just joined
Topic Author
Posts: 3
Joined: Wed Jan 07, 2009 1:40 pm

VLAN and WDS problem

Wed Jan 07, 2009 2:01 pm

Hello everybody,

I have a small network, all connections are in WDS and all works fine... but today I try to separate one segment using vlan.
Schema of network:

LINUX RTR eth0 <----> e0-MT-wlan1-WDS1<-------->wlan1-MTx-e0---sw-LAN
| \-WDS2<-------->wlan1-MTy-e0---sw-LAN
---WDS3<--------->wlan1-MTz-e0---sw-LAN

All WDS interfaces and ether1 are in the same bridge.

Now, i create vlan ID 123 on eth0 on LINUX RTR and vlan1 (vlan ID 123) on wlan1 on MTz, then put vlan1 and ether1 to bridge.
It's look fine, but not work.

On LINUX RTR tcpdump shows some broadcast packets like dhcp requests but nobody can get IP address.
(vlan interface is up and configured, dhcp server too)

Can somebody tell me what is wrong?


sorry for my english.

Best regards,
Gustaw
 
netrat
Member
Member
Posts: 402
Joined: Thu Jun 07, 2007 1:16 pm
Location: Virginia

Re: VLAN and WDS problem

Wed Jan 07, 2009 4:49 pm

You need to put the vlan on the WDS interface and not the WLAN.
 
gustawm
just joined
Topic Author
Posts: 3
Joined: Wed Jan 07, 2009 1:40 pm

Re: VLAN and WDS problem

Wed Jan 07, 2009 9:54 pm

Hi,

Thanks for reply.

If I understood You right You have been taking about WDS interface on first MT behind LINUX RTR??

Thanks,

Best regards,
Gustaw
 
gustawm
just joined
Topic Author
Posts: 3
Joined: Wed Jan 07, 2009 1:40 pm

Re: VLAN and WDS problem

Fri Jan 16, 2009 11:42 pm

Hi,

Problem is solved.

This configuration needs to create two bridges, then create VLAN on first bridge.
In second step add WLAN interface to first bridge and add ethernet and vlan interfaces to second bridge.
It's working fine.

Here is my config
---------------------------
/interface vlan
add arp=enabled comment="" disabled=no interface=br_wlan mtu=1500 name=vlan_ID21 vlan-id=21
/interface bridge
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes comment="" disabled=no forward-delay=15s max-message-age=20s mtu=1500 name=br_wlan \
priority=0x8000 protocol-mode=none transmit-hold-count=6
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes comment="" disabled=no forward-delay=15s max-message-age=20s mtu=1500 name=\
br_vlan21 priority=0x8000 protocol-mode=none transmit-hold-count=6
/interface bridge port
add bridge=br_wlan comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=wlan1 path-cost=10 point-to-point=auto priority=0x80
add bridge=br_vlan21 comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=ether1 path-cost=10 point-to-point=auto priority=0x80
add bridge=br_vlan21 comment="" disabled=no edge=auto external-fdb=auto horizon=none interface=vlan_ID21 path-cost=10 point-to-point=auto priority=0x80
----------------------

Best regards,
Gustaw
 
nmthaker
Member Candidate
Member Candidate
Posts: 145
Joined: Wed Jan 05, 2011 6:10 am

Re: VLAN and WDS problem

Tue Nov 27, 2012 5:35 am

Hello


I want to create VLAN on dynamic wds, can you please advice me the steps to follow to use the same with winbox ??


Nishit