Community discussions

MikroTik App
 
AMatt
newbie
Topic Author
Posts: 25
Joined: Mon Nov 24, 2014 4:46 pm

Multiple VLANs Configuration over Wireless Bridge

Tue Dec 06, 2016 12:29 am

I need some help setting up the attached diagram :

[attachment=0]Setup.png[/attachment]

R1 :
ether1: Connected to 3Com switch with multiple VLANs
ether2: To SXT1
ether3: To PC with IP address (10.xx.xx.xx) matching the network (10.61.60.1)
ether4: (none)
ether5: (none)

SXT1 (TX) - (Station Bridge) :
ether1: Connected to R1 (ether2)
wlan1: Station Bridge for SXT2

SXT2 (RX) - (Bridge) :
wlan1: Bridge from SXT1
ether1: Connected to R2 (ether1)

R2 :
ether1: From SXT2
ether2: vlan100 (Automatic IP)
ether3: vlan200 (Static IP)
ether4: To Access Point with IP address (10.xx.xx.xx) matching the network (10.61.60.1)
ether5: (none)

Note:
vlan100 : VLAN ID=100
vlan200 : VLAN ID=200

How to configure R1, SXT1, SXT2 & R2 ?

Thank you
You do not have the required permissions to view the files attached to this post.
 
haik01
Member
Member
Posts: 404
Joined: Sat Mar 23, 2013 10:25 am
Location: Netherlands

Re: Multiple VLANs Configuration over Wireless Bridge

Tue Dec 06, 2016 4:17 pm

You can replace R2 with a L3 switch. Just define a trunk on eth 1, and untag all other ports and map the VID to the correct ports. There is nothing to route for R2.

That way everything "to the right" of the dish (behind R2) will be "controllable" from one point.

R1: standard router, with VLAN's on the ports.
Sxt1: Just a fixed IP like the SX2. Just make sure they are in a subnet you can reach.
 
AMatt
newbie
Topic Author
Posts: 25
Joined: Mon Nov 24, 2014 4:46 pm

Re: Multiple VLANs Configuration over Wireless Bridge

Wed Dec 07, 2016 10:53 am

You can replace R2 with a L3 switch. Just define a trunk on eth 1, and untag all other ports and map the VID to the correct ports. There is nothing to route for R2.

That way everything "to the right" of the dish (behind R2) will be "controllable" from one point.

R1: standard router, with VLAN's on the ports.
Sxt1: Just a fixed IP like the SX2. Just make sure they are in a subnet you can reach.
Thank you haik for your reply.

I would like to keep R2 for future network upgrade. I want to know the true config for each device. I manage to get the VLANs working at after R1, but I couldn't figure out how to configure the rest. specially SXT1 & SXT2.

Any Ideas ?
 
AMatt
newbie
Topic Author
Posts: 25
Joined: Mon Nov 24, 2014 4:46 pm

Re: Multiple VLANs Configuration over Wireless Bridge

Fri Dec 09, 2016 8:45 pm

UP UP UP
 
helipos
Member Candidate
Member Candidate
Posts: 132
Joined: Sat Jun 25, 2016 11:32 am

Re: Multiple VLANs Configuration over Wireless Bridge

Wed Dec 21, 2016 12:01 pm

Here is a configuration I have running on a SXT5nDr2
Should give you a start

# dec/07/2016 17:09:12 by RouterOS 6.37.2
# software id = 179R-CK5P
#
/interface bridge
add name=bridge-vlan20
add name=bridge-vlan30
add name=bridge-vlan40
/interface ethernet
set [ find default-name=ether1 ] mtu=1504
/ip neighbor discovery
set bridge-vlan20 discover=no
set bridge-vlan30 discover=no
/interface vlan
add interface=ether1 loop-protect-disable-time=0s loop-protect-send-interval=\
1s name=ether1-vlan20 vlan-id=20
add interface=ether1 loop-protect-disable-time=0s loop-protect-send-interval=\
1s name=ether1-vlan30 vlan-id=30
add interface=ether1 loop-protect-disable-time=0s loop-protect-send-interval=\
1s name=ether1-vlan40 vlan-id=40
/interface ethernet switch port
set 0 default-vlan-id=30 vlan-header=add-if-missing vlan-mode=secure
set 1 default-vlan-id=30 vlan-header=add-if-missing vlan-mode=secure
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk eap-methods="" management-protection=\
allowed mode=dynamic-keys name=profile1 supplicant-identity="" \
wpa2-pre-shared-key=********
add authentication-types=wpa2-psk eap-methods="" management-protection=\
allowed mode=dynamic-keys name=profile2 supplicant-identity="" \
wpa2-pre-shared-key=********
add authentication-types=wpa2-psk eap-methods="" management-protection=\
allowed mode=dynamic-keys name=profile3 supplicant-identity="" \
wpa2-pre-shared-key=********
add authentication-types=wpa2-psk eap-methods="" management-protection=\
allowed mode=dynamic-keys name=profile4 supplicant-identity="" \
wpa2-pre-shared-key=********
/interface wireless
set [ find default-name=wlan1 ] country=australia disabled=no frequency=5805 \
mode=station-bridge mtu=1504 security-profile=profile4 ssid="Lot94 5GHz"
/interface vlan
add interface=wlan1 loop-protect-disable-time=0s loop-protect-send-interval=\
1s name=wlan1-vlan20 vlan-id=20
add interface=wlan1 loop-protect-disable-time=0s loop-protect-send-interval=\
1s name=wlan1-vlan30 vlan-id=30
add interface=wlan1 loop-protect-disable-time=0s loop-protect-send-interval=\
1s name=wlan1-vlan40 vlan-id=40
/interface bridge port
add bridge=bridge-vlan20 interface=ether1-vlan20
add bridge=bridge-vlan20 interface=wlan1-vlan20
add bridge=bridge-vlan30 interface=ether1-vlan30
add bridge=bridge-vlan30 interface=wlan1-vlan30
add bridge=bridge-vlan40 interface=ether1-vlan40
add bridge=bridge-vlan40 interface=wlan1-vlan40
/interface ethernet switch vlan
add ports=switch1-cpu,ether1 switch=switch1 vlan-id=20
add ports=switch1-cpu,ether1 switch=switch1 vlan-id=30
add ports=switch1-cpu,ether1 switch=switch1 vlan-id=40
/ip address
add address=192.168.4.4/24 interface=bridge-vlan40 network=192.168.4.0
/ip dns
set servers=192.168.4.254
/ip route
add distance=1 gateway=192.168.4.254
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www port=8080
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-name=Australia/Perth
/system identity
set name="Glencoe Remote"
/system routerboard settings
set protected-routerboot=disabled

Who is online

Users browsing this forum: No registered users and 29 guests