OSPF works. BGP works. RSVP works. The Mikrotik is sending the ARP requests to the JUNOS box when one end pings the other but the JUNOS isn't acting on them. When pinging from the side connected to the JUNOS, no packets are sent over the MPLS cloud.
Running a debug on the JUNOS I've noticed the following when the VPLS session is attempting to establish:
Code: Select all
Mar 2 17:21:27.788843 L2VPN instance VPLS1 updated from configuration
Mar 2 17:21:27.790445 local-site 1 updated from configuration
Mar 2 17:21:27.790673 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.790791 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.790866 intf fe-0/0/7.0 (site 1/0) updated from configuration
Mar 2 17:21:27.790997 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.791089 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.791175 intf vpls-5.1.2 (site 1/2) updated from configuration
Mar 2 17:21:27.791303 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.791389 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.791472 intf vpls-5.1.3 (site 1/3) updated from configuration
Mar 2 17:21:27.791662 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.791753 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.791851 intf vpls-5.1.4 (site 1/4) updated from configuration
Mar 2 17:21:27.791956 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.792034 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.792117 intf vpls-5.1.5 (site 1/5) updated from configuration
Mar 2 17:21:27.792221 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.792949 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.793109 intf vpls-5.1.6 (site 1/6) updated from configuration
Mar 2 17:21:27.793225 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.793306 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.793416 intf vpls-5.1.7 (site 1/7) updated from configuration
Mar 2 17:21:27.793522 l2vpn_update_irb_state: irb_present 0 conn_type 0 prev_irb_intf 0 irb_intf 0
Mar 2 17:21:27.793600 l2vpn_site_intf_mgroup_up_count_updated(), Marking site 1 (1) as up.
Mar 2 17:21:27.793683 intf vpls-5.1.8 (site 1/8) updated from configuration
Mar 2 17:21:27.804576 Reconfiguring L2VPN instance VPLS1
Mar 2 17:21:27.804743 Site 1 ID 1: Starting timer for change processing, change flags 1010, reason: reconfig
Mar 2 17:21:27.810110 vc_iflchange intf fe-0/0/7.0
Mar 2 17:21:27.810250 [vc_intf_params_change] Intf fe-0/0/7.0: NO CHANGE
Mar 2 17:21:27.818012 [vc_ifachange] intf fe-0/0/7.0: new status intf Up (old status intf Up)
Mar 2 17:21:27.818166 [vc_ifachange] Triggering VC status update timer for intf fe-0/0/7.0
Mar 2 17:21:27.818239 Triggering VC status update timer for intf fe-0/0/7.0
Mar 2 17:21:27.818366 [vc_ifachange] fe-0/0/7.0 is not in any vc yet
Mar 2 17:21:27.818526 [vc_intf_params_change] Intf fe-0/0/7.0: NO CHANGE
Mar 2 17:21:27.821623 rt_flash_update_callback: flash VPLS1-l2vpn (VPLS1.l2vpn.0) start
Mar 2 17:21:27.821770 New policy call for L2VPN from VPLS1.L2VPN.0
Mar 2 17:21:27.821856 New policy processing complete for L2VPN from VPLS1.L2VPN.0
Mar 2 17:21:27.821945 rt_flash_update_callback: flash VPLS1-l2vpn (VPLS1.l2vpn.0) done
Mar 2 17:21:27.823115 rt_flash_update_callback: flash VPLS1-l2vpn (VPLS1.l2vpn.0) start
Mar 2 17:21:27.823246 Flash call for L2VPN from VPLS1.L2VPN.0
Mar 2 17:21:27.824638 route flash: processing 1:1::2:0
Mar 2 17:21:27.824744 Remote advertisement: (off 0, rng 16, label-base 16, encaps 19) add from next-hop 2.2.2.2 remote PE 1.1.1.1 site 2 (RD 1:1:)
Mar 2 17:21:27.824812 Invalid label-block for real advertisement
Mar 2 17:21:27.824904 Flash processing complete for L2VPN from VPLS1.L2VPN.0
Mar 2 17:21:27.824997 rt_flash_update_callback: flash VPLS1-l2vpn (VPLS1.l2vpn.0) done
Mar 2 17:21:27.857685 [vc_intf_vc_status_update] Recomputing the status of the VC for interface : fe-0/0/7.0, flags 0x0, 0x840180
Mar 2 17:21:27.857825 vc_intf_vc_status_update] interface : fe-0/0/7.0 vc status = intf Up : intf_up = TRUE
Mar 2 17:21:27.857906 [vc_intf_vc_status_update] interface : fe-0/0/7.0 Local vpls adv_down = 0, vc_down = 0, ccc_up = 1
Mar 2 17:21:27.858000 [vc_intf_vc_status_update] interface : fe-0/0/7.0 Done Computing adv, vc down and ccc_up status adv_down = 0, vc_down = 0, ccc_up = 1
Mar 2 17:21:27.858088 [vc_intf_vc_status_update] Done Recomputing the status of the VC for interface : fe-0/0/7.0, flags 0x0, 0x840180
Mar 2 17:21:31.484099 Handling change processing for local-site 1 (1):
Mar 2 17:21:33.919213 Starting change processing for local-site 1 (1): flags 0x1010
Mar 2 17:21:33.919360 Site change processing done for site 1 ID 1; cancelling running site change processing timer
Mar 2 17:21:33.919440 Handling change processing for local-site 1 done
The fact that things are getting this far suggests to me that it's not very far from working but I have to confess that I'm learning this stuff as I go along and a lot of it is alien to me
Relevant config as follows:
Mikrotik (R2 2.2.2.2):
Code: Select all
/interface bridge
add disabled=no name=lo
add disabled=no name=vpls1
/interface traffic-eng
add bandwidth=10kbps disabled=no from-address=2.2.2.2 name=R2_to_R4 primary-path=dyn to-address=4.4.4.4
/interface bridge port
add bridge=vpls1 disabled=no interface=ether2
/interface vpls bgp-vpls
add bridge=vpls1 disabled=no export-route-targets=1:1 import-route-targets=1:1 name=bgp-vpls1 route-distinguisher=1:1 site-id=2
/mpls
set dynamic-label-range=16-1048575 propagate-ttl=yes
/mpls traffic-eng interface
add bandwidth=100kbps disabled=no interface=ether1
/mpls traffic-eng tunnel-path
add disabled=no name=dyn use-cspf=yes
/routing bgp instance
set default as=65530 disabled=no router-id=2.2.2.2
/routing bgp peer
add address-families=ip,l2vpn,vpnv4 disabled=no remote-address=1.1.1.1 remote-as=65530 update-source=lo
/routing ospf instance
set default disabled=no mpls-te-area=backbone mpls-te-router-id=lo router-id=2.2.2.2
/routing ospf network
add area=backbone comment="" disabled=no network=192.168.12.0/24
add area=backbone comment="" disabled=no network=2.2.2.2/32
Code: Select all
set interfaces fe-0/0/7 encapsulation ethernet-vpls
set interfaces fe-0/0/7 unit 0 family vpls
set routing-instances VPLS1 instance-type vpls
set routing-instances VPLS1 interface fe-0/0/7.0
set routing-instances VPLS1 route-distinguisher 1:1
set routing-instances VPLS1 vrf-target target:1:1
set routing-instances VPLS1 protocols vpls traceoptions file vpls.log
set routing-instances VPLS1 protocols vpls traceoptions flag all
set routing-instances VPLS1 protocols vpls site-range 16
set routing-instances VPLS1 protocols vpls mac-table-size 65000
set routing-instances VPLS1 protocols vpls interface-mac-limit 65000
set routing-instances VPLS1 protocols vpls mac-table-aging-time 10000
set routing-instances VPLS1 protocols vpls no-tunnel-services
set routing-instances VPLS1 protocols vpls site 1 site-identifier 1
set routing-instances VPLS1 protocols vpls site 1 interface fe-0/0/7.0
set protocols rsvp no-interface-hello
set protocols rsvp interface vlan.300
set protocols mpls label-switched-path R4_to_R2 to 2.2.2.2
set protocols mpls label-switched-path R4_to_R2 bandwidth 10k
set protocols mpls interface all
set protocols bgp group peers type internal
set protocols bgp group peers local-address 4.4.4.4
set protocols bgp group peers family inet-vpn unicast
set protocols bgp group peers family l2vpn signaling
set protocols bgp group peers peer-as 65530
set protocols bgp group peers neighbor 1.1.1.1
set protocols ospf traffic-engineering
set protocols ospf area 0.0.0.0 interface vlan.300
set protocols ospf area 0.0.0.0 interface lo0.0
Can anyone see what might be wrong here?
Thanks.