VPLS got connected at the end of my client devices, but unfortunately the PPPoE connection won't get trough over vpls.
I really appreciate it if someone of you could help me . Thank you
This is my lab diagram
R1 config
Code: Select all
/interface bridge
add name=Loopback
add name=vpls-bridge protocol-mode=none
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=100 router-id=1.255.255.1
/interface pppoe-server server
add authentication=pap,chap disabled=no interface=vpls-bridge service-name=service1
/interface vpls bgp-vpls
add bridge=vpls-bridge export-route-targets=1:3 import-route-targets=1:3 name=R3 route-distinguisher=1:3
/ip address
add address=10.0.0.1/24 interface=ether2 network=10.0.0.0
add address=1.255.255.1 interface=Loopback network=1.255.255.1
/ip dhcp-client
add disabled=no interface=ether1
/ppp secret
add name=test password=test service=pppoe
/routing bgp network
add network=10.0.0.0/24 synchronize=no
add network=9.0.0.0/24 synchronize=no
add network=1.255.255.0/24 synchronize=no
/routing bgp peer
add address-families=ip,l2vpn name=R2 remote-address=10.0.0.2 remote-as=102
/system identity
set name=R1
/tool romon
set enabled=yes
R2 Config
Code: Select all
/interface bridge
add name=Loopback
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=102 router-id=1.255.255.2
/ip address
add address=1.255.255.2 interface=Loopback network=1.255.255.2
add address=10.0.0.2/24 interface=ether1 network=10.0.0.0
add address=9.0.0.1/24 interface=ether2 network=9.0.0.0
/routing bgp network
add network=10.0.0.0/24 synchronize=no
add network=9.0.0.0/24 synchronize=no
add network=1.255.255.0/24 synchronize=no
/routing bgp peer
add address-families=ip,l2vpn name=R1 remote-address=10.0.0.1 remote-as=100
add address-families=ip,l2vpn name=R3 remote-address=9.0.0.2 remote-as=65550
/system identity
set name=R2
/tool romon
set enabled=yes
R3 Config
Code: Select all
/interface bridge
add name=Loopback
add name=bridge1 protocol-mode=none
/interface pppoe-client
add add-default-route=yes disabled=no interface=bridge1 name=pppoe-out1 password=test user=test
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=65550 router-id=10.255.255.3
/interface vpls bgp-vpls
add bridge=bridge1 export-route-targets=1:3 import-route-targets=1:3 name=R1 route-distinguisher=1:3 site-id=3
/ip address
add address=9.0.0.2/24 interface=ether1 network=9.0.0.0
add address=10.255.255.3 interface=Loopback network=10.255.255.3
/routing bgp network
add network=10.0.0.0/24 synchronize=no
add network=9.0.0.0/24 synchronize=no
add network=1.255.255.0/24 synchronize=no
/routing bgp peer
add address-families=ip,l2vpn name=R2 remote-address=9.0.0.1 remote-as=102
/system identity
set name=R3
/tool romon
set enabled=yes
Code: Select all
admin@R1] > /interface vpls print detail
Flags: X - disabled, R - running, D - dynamic, B - bgp-signaled, C - cisco-bgp-signaled
0 RDB name="vpls5" mtu=1500 l2mtu=1500 mac-address=02:33:9F:06:85:3C arp=enabled arp-timeout=auto disable-running-check=no remote-peer=10.0.0.2 cisco-style=no cisco-style-id=0 advertised-l2mtu=1500 pw-type=raw-ethernet use-control-word=yes vpls=R3
Code: Select all
[admin@R3] > /interface vpls print detail
Flags: X - disabled, R - running, D - dynamic, B - bgp-signaled, C - cisco-bgp-signaled
0 RDB name="vpls7" mtu=1500 l2mtu=1500 mac-address=02:5B:71:5F:8D:4E arp=enabled arp-timeout=auto disable-running-check=no remote-peer=9.0.0.1 cisco-style=no cisco-style-id=0 advertised-l2mtu=1500 pw-type=raw-ethernet use-control-word=yes vpls=R1