Bonding Two VPLS Interfaces: Network Diagram
Bonding Two VPLS Interfaces: Network Diagram
This example extends Transparent Bridge using MPLS example. Mentioned example is using LDP signaled VPLS tunnel which is
not suitable for two VPLS tunnels to the same device. Before continuing with the setup, basic knowledge of BGP and BGP
signaled VPLS is needed.
Network Diagram
There are two wireless links on router and LAN segment is connected to the ethernet side of each router.
Configuration
Lets consider that wireless interfaces are already configured and links are established so that we can start with IP and MPLS
configuration.
R1
/interface bridge
add name=lo
/ip address
add address=192.168.222.1/24 interface=wlan1
add address=192.168.223.1/24 interface=wlan2
add address=222.222.222.1/32 interface=lo
/ip route
add dst-address=222.222.222.2/32 gateway=192.168.222.2
/mpls ldp
set enabled=yes lsr-id=222.222.222.1 transport-address=222.222.222.1
/mpls ldp interface
add interface=wlan1
add interface=wlan2
R2
/interface bridge
add name=lo
/ip address
add address=192.168.222.2/24 interface=wlan1
add address=192.168.223.2/24 interface=wlan2
add address=222.222.222.2/32 interface=lo
/ip route
add dst-address=222.222.222.1/32 gateway=192.168.222.1
/mpls ldp
set enabled=yes lsr-id=222.222.222.2 transport-address=222.222.222.2
/mpls ldp interface
add interface=wlan1
add interface=wlan1
add interface=wlan2
R1
R2
BGP should be running and we can start VPLS configuration. Each of VPLS tunnels will have unique route distinguisher and route
target:
R1
R2
At this point VPLS tunnels are signaled to both BGP peers. It means that VPLS tunnels are established over the same link (which
update gets first).
To force other VPLS tunnel over another link we will use routign filters to filter out unnecessary updates:
'R1 and R2
/routing filter
add action=discard chain=bgp-out1 route-targets=223:223
add action=discard chain=bgp-out2 route-targets=222:222
Result
Bonding
/interface bridge
add name=vpn protocol-mode=rstp
/interface bridge ports
add bridge=vpn interface=ether1
add bridge=vpn interface=bonding1