Community discussions

MikroTik App
 
User avatar
stefki
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Aug 29, 2016 2:13 pm

PPPoE Server over BGP VPLS signaling

Wed Aug 25, 2021 12:59 pm

Hello all. Last few days I am trying to setup simple PPPoE server over BGP VPLS tunnel .
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
BGP.png
R1 config

/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
/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

/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
R1 VPLS status
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 
R3 VPLS connected
[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 
You do not have the required permissions to view the files attached to this post.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: PPPoE Server over BGP VPLS signaling

Thu Aug 26, 2021 7:55 am

what have you bridget in to vpls-bridge.
Can't see that you put anything in there
 
User avatar
stefki
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Aug 29, 2016 2:13 pm

Re: PPPoE Server over BGP VPLS signaling

Thu Aug 26, 2021 10:21 am

Yes I don't have nothing in vpls-bridge.
OK now I put ether2 in vpls-bridge on R1
bridge.jpg

and on R3 I put ether1
bridge3.jpg
But still nothing pppoe won't connect.
You do not have the required permissions to view the files attached to this post.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: PPPoE Server over BGP VPLS signaling

Thu Aug 26, 2021 12:20 pm

of course, vpls is down
 
User avatar
stefki
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Mon Aug 29, 2016 2:13 pm

Re: PPPoE Server over BGP VPLS signaling

Thu Aug 26, 2021 3:19 pm

Let's try new VPLS tunnel configured on R2. Boom the VPLS got connected and PPPoE connection too. So there is must be something wrong with R2 because the VPLS don't go trough it to R3.

Pppoe.jpg
You do not have the required permissions to view the files attached to this post.
 
User avatar
nichky
Forum Guru
Forum Guru
Posts: 1275
Joined: Tue Jun 23, 2015 2:35 pm

Re: PPPoE Server over BGP VPLS signaling

Fri Aug 27, 2021 12:51 am

from R2 where pppoe terminate, can you ping the remote ip -address.
Then do traceroute to google and see where is stopping

For me it seems like thet layer 2 is fine, you need to check something on R1 where you internet is.

Who is online

Users browsing this forum: No registered users and 10 guests