Community discussions

MikroTik App
 
yaskar
just joined
Topic Author
Posts: 6
Joined: Mon Mar 09, 2009 1:19 pm

Bridge with enabled VLAN

Wed May 06, 2009 2:26 pm

Hi All,

I have configured two RB433AH as a transparent bridge (Bridge mode at one end and Station wds at the other) . I want to enable VLAN scenario on this link. I created VLAN interface at both ends and assign IPs to their interfaces but it did not work.

The question is: Does transparent bridge support VLANs? If yes what is the right procedure to create them, else what modification should be done at both ends in order to be able to do that.


Thanks in advance.
 
User avatar
vegard
just joined
Posts: 24
Joined: Sat Feb 12, 2005 6:55 pm

Re: Bridge with enabled VLAN

Thu May 07, 2009 6:01 pm

Show us your setup, please.

Remember to assign the VLAN to the wds interface on the access point/bridge, not directly on the wlan interface.
 
meno
Member Candidate
Member Candidate
Posts: 233
Joined: Sat Jul 19, 2008 4:45 am

Re: Bridge with enabled VLAN

Fri May 08, 2009 5:54 am

the test what I did was to create the vlan on the bridge interface, and the client side WDS/client.. and works perfectly

RB333-- (bridge)-vlan1 )))))((((((( vlan1(bridge) ---RB333
 
yaskar
just joined
Topic Author
Posts: 6
Joined: Mon Mar 09, 2009 1:19 pm

Re: Bridge with enabled VLAN

Sun May 10, 2009 10:36 am

I tried to create the VLANs on the wds interface but I could not sucess.

Here is the configuration:

1st AP:
# NAME TYPE MTU
0 R ether1 ether 1500
1 X ether2 ether 1500
2 X ether3 ether 1500
3 R wlan1 wlan 1500
4 R wds-bridge bridge 1500
5 R wds1 wds 1500
6 R vlan1 vlan 1500

Flags: X - disabled, R - running
0 R name="wlan1" mtu=1500 mac-address=00:0C:42:1F:39:41 arp=enabled interface-type=Atheros AR5413 mode=bridge ssid="MikroTik" frequency=5180 band=5ghz
scan-list=default antenna-mode=ant-a wds-mode=static wds-default-bridge=wds-bridge wds-ignore-ssid=no default-authentication=yes default-forwarding=yes
default-ap-tx-limit=0 default-client-tx-limit=0 hide-ssid=no security-profile=default compression=no

[admin@MikroTik] /interface vlan> print
Flags: X - disabled, R - running, S - slave
# NAME MTU ARP VLAN-ID INTERFACE
0 R vlan1 1500 enabled 1 wds1

[admin@MikroTik] /interface bridge> print
Flags: X - disabled, R - running
0 R name="wds-bridge" mtu=1500 arp=enabled mac-address=00:0C:42:2D:30:7E
protocol-mode=none priority=0x8000 auto-mac=yes
admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
transmit-hold-count=6 ageing-time=5m

[admin@MikroTik] /interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 ether1 wds-bridge 0x80 10 none
1 D wds1 wds-bridge 0x80 74 none

[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.1.0.215/24 10.1.0.0 10.1.0.255 wds-bridge
1 172.16.1.3/24 172.16.1.0 172.16.1.255 ether1

2nd AP:
[admin@MikroTik] > interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU
0 ether1 ether 1500
1 ether2 ether 1500
2 ether3 ether 1500
3 R wlan1 wlan 1500
4 R wds-bridge bridge 1500
5 wds1 wds 1500
6 vlan1 vlan 1500

[admin@MikroTik] /interface> wireless print
Flags: X - disabled, R - running
0 R name="wlan1" mtu=1500 mac-address=00:0C:42:1F:25:E3 arp=enabled
interface-type=Atheros AR5413 mode=station-wds ssid="MikroTik"
frequency=5180 band=5ghz scan-list=default antenna-mode=ant-a
wds-mode=static wds-default-bridge=wds-bridge wds-ignore-ssid=no
default-authentication=yes default-forwarding=yes default-ap-tx-limit=0
default-client-tx-limit=0 hide-ssid=no security-profile=default
compression=no

[admin@MikroTik] /interface> vlan print
Flags: X - disabled, R - running, S - slave
# NAME MTU ARP VLAN-ID INTERFACE
0 vlan1 1500 enabled 1 wds1

[admin@MikroTik] /interface bridge> print
Flags: X - disabled, R - running
0 R name="wds-bridge" mtu=1500 arp=enabled mac-address=00:0C:42:1F:25:E3
protocol-mode=none priority=0x8000 auto-mac=yes
admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s
transmit-hold-count=6 ageing-time=5m

[admin@MikroTik] /interface bridge> port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 I ether1 wds-bridge 0x80 10 none
1 wlan1 wds-bridge 0x80 10 none

[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 10.1.0.216/24 10.1.0.0 10.1.0.255 wds-bridge
1 172.16.1.4/24 172.16.1.0 172.16.1.255 ether1
 
sasskass
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Wed Mar 15, 2006 4:39 pm

Re: Bridge with enabled VLAN

Sun May 10, 2009 3:55 pm

Dont include wds into your bridges on both sides, put VLAN instead

Who is online

Users browsing this forum: No registered users and 61 guests