horizn
September 13, 2010, 8:01pm
1
there is:
http://wiki.mikrotik.com/wiki/Transparently_Bridge_two_Networks_using_MPLS
now i would like to configure two MPLS ‘bridges’ one per each wlan card:
first on wlan1, and the second one on wlan3.
how can i setup LDP and VPLS?
on wlan1:
/mpls ldp set enabled=yes lsr-id=172.16.1.1 transport-address=172.16.1.1
/mpls ldp interface add interface=wlan1
/interface vpls add name=vpls1 remote-peer=172.16.1.2 vpls-id=1:1 disabled=no
and on wlan3:
/mpls ldp set enabled=yes lsr-id=172.16.1.5 transport-address=172.16.1.5
/mpls ldp interface add interface=wlan3
/interface vpls add name=vpls2 remote-peer=172.16.1.6 vpls-id=2:2 disabled=no
what about lsr-id option? if i type it for wlan3, then wlan1 link stops working.
blake
September 13, 2010, 11:43pm
2
Specify different transport-address es under the ldp interface declaration.
/mpls ldp set enabled=yes lsr-id=172.16.1.1 transport-address=0.0.0.0
/mpls ldp interface
add interface=wlan1 transport-address=172.16.1.1
add interface=wlan3 transport-address=172.16.1.5
/interface vpls
add name=vpls1 remote-peer=172.16.1.2 vpls-id=1:1 disabled=no
add name=vpls2 remote-peer=172.16.1.6 vpls-id=2:2 disabled=no
Fumi
September 14, 2010, 8:16am
3
This configuration not work! Only one VPLS is running…
blake
September 14, 2010, 9:17am
4
I’ve got this exact setup working on multiple wireless APs. I know this works.
Do you have both interfaces enabled under /mpls interface? The subnets on these cards are /30, correct?
Fumi
September 14, 2010, 9:53am
5
This configuration is working?? Yes I have two interfaces (wlan1 and wlan2 enabled on mpls interface and /30 each interface..)
Can you post configuration? firmware version? I try this with 802.11n radios and I want to make twice VPLS and bonding…
horizn
September 14, 2010, 5:31pm
6
not working for me too :[
my configuration:
blake
September 14, 2010, 7:29pm
7
Here’s a snippet from my config template. Working on ROS 4.10, 4.11 and 5.0b6.
/interface wireless
set 0 ssid=SSID1 frequency=5765
set 1 ssid=SSID2 frequency=5775
/ip address
add interface=wlan1 address=172.31.23.1/25
add interface=wlan2 address=172.31.23.129/25
/mpls interface set 0 mpls-mtu=1526
/mpls ldp set enabled=yes
/mpls ldp interface
add comment="" disabled=no interface=wlan1 transport-address=172.31.23.1
add comment="" disabled=no interface=wlan2 transport-address=172.31.23.129
ditonet
September 14, 2010, 7:37pm
8
@blake
Slightly offtopic question, what is your max. troughput via this MPLS config?
I’m asking you because I made some lab tests and peformance was poor
Regards, Grzegorz.
Fumi
September 15, 2010, 10:26am
9
I don’t know what are you doing blake but this configuration not work for me.. only one VPLS interface is running…
Can you post entire configuration? or post .rcs file or screens?
Thanks
Fumi
September 20, 2010, 8:59am
10
No reply? I try this configuration many many times and no results for me.. Please help! If this work is important!
blake
September 20, 2010, 9:51am
11
My apologies. I’ve got a life outside of this forum.
Can you please show the configurations of the routers on the other side of the VPLS tunnel?
mrz
September 20, 2010, 9:58am
12
Don’t waste your time trying to set up two LDP signaled VPLS tunnels it is not going to work in this setup.
Here is the example how to use BGP signaled VPLS:
http://wiki.mikrotik.com/wiki/Manual:Bonding_Examples#Bonding_two_VPLS_interfaces
Fumi
September 21, 2010, 9:46am
13
Good example on wiki!!
I have problem to add BGP instances!!
“Couldn’t add New BGP Instance - instance with this RouterId already configured (6))”
mrz
September 21, 2010, 11:04am
14
it is nt possible to have two instances with the same routerID, by default id is 0.0.0.0. So when adding new instance you have to specify RouterID.
horizn
September 21, 2010, 7:43pm
15
can i use this configuration like:
blake
September 21, 2010, 8:50pm
16
horizn, that’s exactly the setup I have using LDP-signaled VPLS. The station’s LAN interface is in a bridge with the VPLS tunnel.
AP
/interface wireless
set 0,1 disabled=no mode=ap-bridge band=5ghz-5mhz default-forwarding=no ssid=EC
set 0 frequency=5765
set 1 frequency=5775
/interface wireless nstreme
set 0,1 enable-nstreme=yes
/ip address
add interface=wlan1 address=172.31.23.1/25
add interface=wlan2 address=172.31.23.129/25
/interface vpls
add remote-peer=172.31.23.10 vpls-id=1:1 disabled=no
/ip pool
add name=dhcp_pool1 ranges=172.31.23.10-172.31.23.126
add name=dhcp_pool2 ranges=172.31.23.140-172.31.23.254
/ip dhcp-server
add disabled=no lease-time=1d interface=wlan1 name=dhcp1 address-pool=dhcp_pool1
add disabled=no lease-time=1d interface=wlan2 name=dhcp2 address-pool=dhcp_pool2
/mpls interface set 0 mpls-mtu=1526
/mpls ldp set enabled=yes
/mpls ldp interface
add disabled=no interface=wlan1 transport-address=172.31.23.1
add disabled=no interface=wlan2 transport-address=172.31.23.129
CPE / Station
/interface vpls add disabled=no name=vpls1 remote-peer=172.31.23.1 vpls-id=1:1
/interface wireless set 0 disabled=no mode=station band=5ghz-5mhz
/interface wireless nstreme set wlan1 enable-nstreme=yes
/interface bridge add name=bridge1 protocol-mode=none
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=vpls1
/ip dhcp-client
add add-default-route=yes default-route-distance=0 disabled=no interface=wlan1 use-peer-dns=yes use-peer-ntp=yes
/mpls interface
add disabled=no interface=wlan1 mpls-mtu=1526
/mpls ldp set enabled=yes
/mpls ldp interface
add disabled=no interface=wlan1
That’s all of my config that’s relevant to what you all are asking.
horizn
September 21, 2010, 9:49pm
17
@blake :
my question was about mrz’s bgp configuration, but thanks for your advice - i try your conf.
mrz
September 22, 2010, 5:44am
18
horizn, yes it is possible with bgp, however as blake mentioned in this setup LDP signalled VPLS are much more simple solution.
Fumi
September 27, 2010, 9:49am
19
This configuration with vpls-BGP add overhead and not work good…
I run simultaneous 2 BWtest wlan1 and wlan2 and obtain 180Mbps for each radio (UDP)
When I run BWtest bonding only can obtain 44Mbps…
mrz
September 29, 2010, 7:50pm
20
interference between both wireless interfaces.