Page 1 of 1

Multiple VLAN ID over wireless link, possible?

Posted: Sat Jul 12, 2008 7:43 am
by unlimitedme
Dear all,

i have been trying to create a multiple VLAN connection over an existing wireless link, but every time i create a VLAN, and add the existing WLAN interface to VLAN, then the wireless connection will be broken, and disconnect.
The reason i do this, because i have multiple router behind the wireless link, and i need to separate each of them via a VLAN.
Please help, what method did i miss? or is this an incorrect setting?

I am using ROS 3.11.

Thanks a lot for your reply

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 13, 2008 2:38 pm
by QpoX
I think you need to use the WDS function...

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 13, 2008 2:47 pm
by QpoX

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 13, 2008 4:18 pm
by unlimitedme
QpoX,
Thank you for your reply, i have read those thread before.
but those thread use multiple interface wlan.


My situation is like this:

[Router A]**via LAN cable**[Client]~~~via wireless~~~[AP]**Via Lan cable**[Router B]

on Router A: 2 ether
on Client (routerboard) : 1 ether, 1 wlan
on AP (routerboard): 1 ether, 1 wlan
on Router B: 2 ether

The target is to create a vlan from network behind client to the other side of AP.
I just give example with router A and router B, in reality i have multiple router behind the client.
I have try to create vlan between router [A] and [Client], but since only 1 interface wlan,
i dont know how to create multiple vlan for another router behind [Client]

Do i make you dizzy?
Please help...do you have any direction?

Thank you so much for your kind reply

Re: Multiple VLAN ID over wireless link, possible?

Posted: Wed Jul 16, 2008 8:08 am
by unlimitedme
please help anyone?

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 20, 2008 7:15 am
by hytanium
You must use wds bridging. Create your vlans on wlan interface
Create a bridge for each vlan, in ports add vlan to appropriate bridge. We use wds bridging network wide... works very well.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 20, 2008 2:32 pm
by unlimitedme
hytanium,
Thank you so much for your reply...

I am not quite sure about the wds bridging.
What do i need to use as default bridging in the wlan for each network ?
Because there is only 1 wlan on the each side of the radio.

[Router A,B,C]**via LAN cable**[Client]~~~via wireless~~~[AP]**Via Lan cable**[Router D,E,F]

For network A:
wlan1 : default bridge: Bridge A
Bridge A, port = vlan_A_wlan1, ether 1

For network B:
wlan1 : default bridge: ???
Bridge B, port = vlan_B_wlan1, ether 1

For network C:
wlan1 : default bridge: ???
Bridge C, port = vlan_C_wlan1, ether 1

Please help me..

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 20, 2008 9:13 pm
by meno
any ideas how to make a VTP (trunk mode) on a P2P wireless conection ???



LAN----- switch on Trunk port -----wireless()))))))(((((((((( wireless ---------switch on trunk port ---- LAN

Re: Multiple VLAN ID over wireless link, possible?

Posted: Mon Jul 21, 2008 12:00 pm
by unlimitedme
meno,

i think your case is similar with my case.
can you tell me, how many progress that you made?

i have try the following:

on client radio:
bridge port : vlan from ether , vlan from wlan

on router A behind client radio:
bridge port : vlan from ether1, ether 2

but the connection between client radio with AP, always failed to conect.

somebody have this same case?

Re: Multiple VLAN ID over wireless link, possible?

Posted: Mon Jul 21, 2008 12:15 pm
by unlimitedme
Normis/Janis/Everyone,

Please help...
I have try to draw my scenario, please give me advice.
I am using RouterOS 3.11 on both radio clients and Access Point radio

Image

Please advice, any reply will be highly appreciated

Thank you

note:
i updated the picture, to clearly explain the issue
we need to create separate vlan id between clients

Re: Multiple VLAN ID over wireless link, possible?

Posted: Mon Jul 21, 2008 10:16 pm
by wpeople
If i'm right, you have 3 clients connecting to AP.
VLAN1 is connecting to all 3 clients AND AP, but VLAN2 only to eth2 of clients.

For this, you have to make an AP, with WDS allowed.
-all clients will have it's own WDS interface (like wds-client1 or so)
-make VLAN1 interface bound to all wds-clientX interface (like vlan1-client1)
-put all the vlan1-clientX interface to bridge (if needed)
-make VLAN2 interface bound to all wds-clientX interface (like vlan2-client1)
-put all the vlan2-clientX interface to bridge (if needed)

On clients:
make station-wds interface
make VLAN1 interface bound to station-wds (bridge it with ether1)
make VLAN2 interface bound to station-wds (bridge it with ether2)

Keep in mind, if you want to use VLAN interfaces, don't use their master (physical) interface!

Re: Multiple VLAN ID over wireless link, possible?

Posted: Wed Jul 23, 2008 9:33 am
by unlimitedme
wpeople,

how to create multiple wds for each client?
please take a look at my updated picture.
thanks a lot for your kind reply

Re: Multiple VLAN ID over wireless link, possible?

Posted: Thu Jul 24, 2008 11:58 pm
by jorj
I don't really get the point of your separation in vlans, but you might use EOIP tunnels, between the client routers and the router in the right of your picture, and run them across any routed network in between, and in this way you have a "virtual ethernet" to your clients, passing layer 2 data.
After this, use your imagination.
:D

Re: Multiple VLAN ID over wireless link, possible?

Posted: Fri Jul 25, 2008 12:34 am
by onnoossendrijver
I currently use 4 EoIP tunnels and bridge them to a VLAN. Works very nice!

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sat Jul 26, 2008 2:09 am
by Diganet
Normis/Janis/Everyone,

Please help...
I have try to draw my scenario, please give me advice.
I am using RouterOS 3.11 on both radio clients and Access Point radio

Image

Please advice, any reply will be highly appreciated

Thank you

note:
i updated the picture, to clearly explain the issue
we need to create separate vlan id between clients
You have to start with putting in a managed, VLAN capable switch to allow for VLANs to get through.

Regards

Henrik

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sat Jul 26, 2008 1:49 pm
by wpeople
Well, EoIP should work, but its using extra resources, while VLAN is a simple bridge, with (i think) minimal extra resouce to put extra 22byte on the frames.

unlimitedme: you need only one WDS on each client, but need more VLAN

you need this on AP side:
add arp=enabled comment="" disabled=no interface=xxx-wds mtu=1500 \
name="backbone_vlan_xxx" vlan-id=1000
add arp=enabled comment="" disabled=no interface=xxx-wds mtu=1500 \
name="bridge_xxx" vlan-id=1

you need this on CPE side:
add arp=enabled comment="" disabled=no interface=wlan1 mtu=1500 \
name="backbone_vlan_xxx" vlan-id=1000
add arp=enabled comment="" disabled=no interface=wlan1 mtu=1500 \
name="bridge_xxx" vlan-id=1

than bridge the backbone_vlan_xxx interface with eth1 and bridge_xxx with eth2

oh, the above for passing VLAN over wireless.

if didn't realised - until now - that you want to pass VLAN on wire.
For this you must have an active node (let's say 802.1q capable switch) to work well - or have a mikrotik CPE with 3 ethernet ports
connecting client1 to eth1 and so.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jul 27, 2008 8:26 pm
by jorj
Well, EoIP should work, but its using extra resources, while VLAN is a simple bridge, with (i think) minimal extra resouce to put extra 22byte on the frames.
I participated in that topic, being worried about the eoip overhead. In my scenario, it prooved of little impact. I am transferring about 10 mbits over 2 hops, wireless, with just about no impact in performance, as far as i can see it.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Thu Jul 31, 2008 6:58 am
by unlimitedme
jorj,
I will try to use EOIP then, i will let you know the result.

onnoossendrijver,
Interesting, i will see if we can bridge EOIP with a VLAN.

Diganet,
Why use managable swith, if we can elaborate it with MikroTik?

wpeople,
we have minimal ethernet port resource on the AP and the client, so i am looking a way to outcome this situation.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Wed Aug 06, 2008 2:49 pm
by cybernet
you can try this configuration:

Radio AP:
on interface:
- create bridge1

on wireless:
- Radio Mode bridge or ap-bridge
- WDS mode dynamic
- WDS default bridge bridge1

on bridge :
Add port ether1-->bridge1
Add port wlan1--> bridge1

Radio Client:
on interface :
- create bridge1

on wireless
- Radio Mode station-wds
- WDS mode dynamic
- WDS default bridge bridge1

on bridge :
- Add port ether1-->bridge1
- Add port wlan1--> bridge1

hope work with your network.

sorry i not familiar with CLI. just using GUI.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Thu Aug 07, 2008 7:13 am
by unlimitedme
cybernet,
What you said is just an ordinary way to bridge two network over wireless, and that was not my question.
Thanks anyway for your post.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Fri Aug 08, 2008 5:39 am
by cybernet
a lot of unmanaged switches do not support 802.1q tags, so you'll have to treat it like an access port.

Re: Multiple VLAN ID over wireless link, possible?

Posted: Fri Aug 08, 2008 5:55 am
by unlimitedme
cybernet,
Thank you for your post, yes i am using unmanageable switch, so i want to overcome this situation.
I do not understand about your post,
If you have same situation, maybe you can post what you have accomplish.
For now, we are using EOIP.

Do you have other solution?

Thank you

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sun Jan 24, 2010 8:30 am
by sudiptakp
http://wiki.mikrotik.com/wiki/802.1q_Tr ... s_P2P_Link

This is all you require.

Thanks,

Sudipta

Re: Multiple VLAN ID over wireless link, possible?

Posted: Sat Jun 06, 2015 6:50 pm
by cmanciu
mr. sudiptakp

i've used that link b4, and i still couldn't get it to work....i know this is a old post reply.....but what else is needed to make it work...im using rb433uah i believe it is