Routing

last person joined: 4 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  MPLS VPN - unable to ping between PE VPN loopbacks

    Posted 06-20-2015 14:26

     

    R1 (PE and Route Reflector) -- R2 (P) -- R3 (PE)

     

    I'm unable to ping from the R1 Customer1 loopback interface (lo0.1911) to the R3 Customer1 loopback interface (lo0.1933), although full routes appear in bgp.l3vpn.0 and Customer1.inet.0

     

    I've search around but haven't figured out what my problem is yet - can someone advise as to I might be missing?

     

     

    groups {
        mpls-lsp-default {
            logical-systems {
                <*> {
                    protocols {
                        mpls {
                            label-switched-path <*> {
                                no-decrement-ttl;
                                fast-reroute;
                            }
                        }
                    }
                }
            }
        }
    }

     

    admin@MX480:R1> show configuration | no-more 
    apply-groups mpls-lsp-default;
    interfaces {
        lt-2/0/10 {
            unit 901 {
                description R1-to-R2;
                encapsulation ethernet;
                peer-unit 902;
                family inet {
                    address 50.1.1.1/24;
                }
                family mpls;
            }
        }
        lo0 {
            unit 901 {
                family inet {
                    address 60.1.1.1/32;
                }
            }
            unit 1911 {
                description "Customer1 Loopback";
                family inet {
                    address 70.1.1.1/32;
                }
            }
        }
    }
    protocols {
        rsvp {
            interface lt-2/0/10.901;
        }
        mpls {
            traffic-engineering;
            optimize-timer 300;
            label-switched-path lsp-to-R2 {
                to 60.2.2.2;
            }
            label-switched-path lsp-to-R3 {
                to 60.3.3.3;
            }
            interface lt-2/0/10.901;
        }
        bgp {
            group internal-peers {
                type internal;
                local-address 60.1.1.1;
                family inet {
                    unicast;
                }
                family inet-vpn {
                    unicast;
                }
                family l2vpn {
                    signaling;
                }
                cluster 0.0.0.2;
                peer-as 199015;
                neighbor 60.2.2.2;
                neighbor 60.3.3.3;
            }
        }
        ospf {
            traffic-engineering;
            reference-bandwidth 10g;
            area 0.0.0.0 {
                interface lt-2/0/10.901;
                interface lo0.901;
            }
        }
    }
    policy-options {
        policy-statement Customer1-Export {
            term add-routes {
                then {
                    community add Customer1-Target;
                    community add origin;
                    accept;
                }
            }
            term reject-all-others {
                then reject;
            }
        }
        policy-statement Customer1-Import {
            term allow-routes {
                from {
                    protocol bgp;
                    community Customer1-Target;
                }
                then accept;
            }
            term reject-all-others {
                then reject;
            }
        }
        community Customer1-Target members target:199015L:25;
        community origin members origin:199015L:901;
    }
    routing-instances {
        Customer1 {
            instance-type vrf;
            interface lo0.1911;
            route-distinguisher 199015L:25;
            vrf-import Customer1-Import;
            vrf-export Customer1-Export;
            vrf-table-label;
        }
    }
    routing-options {
        router-id 60.1.1.1;
        autonomous-system 199015;
    }
    
    admin@MX480:R1> show mpls lsp 
    Ingress LSP: 2 sessions
    To              From            State Rt P     ActivePath       LSPname
    60.2.2.2        60.1.1.1        Up     0 *                      lsp-to-R2
    60.3.3.3        60.1.1.1        Up     0 *                      lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    Egress LSP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.1.1.1        60.3.3.3        Up       0  1 FF       3        - lsp-to-R1
    60.1.1.1        60.2.2.2        Up       0  1 FF       3        - lsp-to-R1
    Total 2 displayed, Up 2, Down 0
    
    Transit LSP: 0 sessions
    Total 0 displayed, Up 0, Down 0
    
    admin@MX480:R1> show rsvp session 
    Ingress RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.2.2.2        60.1.1.1        Up       0  1 FF       -        3 lsp-to-R2
    60.3.3.3        60.1.1.1        Up       0  1 FF       -   299904 lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    Egress RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.1.1.1        60.3.3.3        Up       0  1 FF       3        - lsp-to-R1
    60.1.1.1        60.2.2.2        Up       0  1 FF       3        - lsp-to-R1
    Total 2 displayed, Up 2, Down 0
    
    Transit RSVP: 0 sessions
    Total 0 displayed, Up 0, Down 0
    
    admin@MX480:R1> show route 
    
    inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    50.1.1.0/24        *[Direct/0] 01:21:31
                        > via lt-2/0/10.901
    50.1.1.1/32        *[Local/0] 01:21:31
                          Local via lt-2/0/10.901
    50.2.2.0/24        *[OSPF/10] 00:18:25, metric 20
                        > to 50.1.1.2 via lt-2/0/10.901
    60.1.1.1/32        *[Direct/0] 01:21:31
                        > via lo0.901
    60.2.2.2/32        *[OSPF/10] 00:18:25, metric 10
                        > to 50.1.1.2 via lt-2/0/10.901
    60.3.3.3/32        *[OSPF/10] 00:18:25, metric 20
                        > to 50.1.1.2 via lt-2/0/10.901
    224.0.0.5/32       *[OSPF/10] 01:21:49, metric 1
                          MultiRecv
    
    inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    60.2.2.2/32        *[RSVP/7/1] 00:18:24, metric 10
                        > to 50.1.1.2 via lt-2/0/10.901, label-switched-path lsp-to-R2
    60.3.3.3/32        *[RSVP/7/1] 00:18:24, metric 20
                        > to 50.1.1.2 via lt-2/0/10.901, label-switched-path lsp-to-R3
    
    Customer1.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    70.1.1.1/32        *[Direct/0] 01:02:48
                        > via lo0.1911
    70.3.3.3/32        *[BGP/170] 00:53:32, localpref 100, from 60.3.3.3
                          AS path: I, validation-state: unverified
                        > to 50.1.1.2 via lt-2/0/10.901, label-switched-path lsp-to-R3
    
    mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    0                  *[MPLS/0] 01:21:48, metric 1
                          Receive
    1                  *[MPLS/0] 01:21:48, metric 1
                          Receive
    2                  *[MPLS/0] 01:21:48, metric 1
                          Receive
    13                 *[MPLS/0] 01:21:48, metric 1
                          Receive
    16                 *[VPN/0] 01:02:48
                          to table Customer1.inet.0, Pop      
    
    bgp.l3vpn.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    199015L:25:70.1.1.1/32                  
                       *[Direct/0] 01:02:48
                        > via lo0.1911
    199015L:25:70.3.3.3/32                
                       *[BGP/170] 01:02:48, localpref 100, from 60.3.3.3
                          AS path: I, validation-state: unverified
                        > to 50.1.1.2 via lt-2/0/10.901, label-switched-path lsp-to-R3
    
    

     

    admin@MX480:R2> 
    
    admin@MX480:R2> show configuration | no-more 
    apply-groups mpls-lsp-default;
    interfaces {
        lt-2/0/10 {
            unit 902 {
                description R1-to-R2;
                encapsulation ethernet;
                peer-unit 901;
                family inet {
                    address 50.1.1.2/24;
                }
                family mpls;
            }
            unit 903 {
                description R2-to-R3;
                encapsulation ethernet;
                peer-unit 904;
                family inet {
                    address 50.2.2.1/24;
                }
                family mpls;
            }
        }
        lo0 {
            unit 902 {
                family inet {
                    address 60.2.2.2/32;
                }
            }
        }
    }
    protocols {
        rsvp {
            interface lt-2/0/10.902;
            interface lt-2/0/10.903;
        }
        mpls {
            traffic-engineering;
            optimize-timer 300;
            label-switched-path lsp-to-R1 {
                to 60.1.1.1;
            }
            label-switched-path lsp-to-R3 {
                to 60.3.3.3;
            }
            interface lt-2/0/10.902;
            interface lt-2/0/10.903;
        }
        bgp {
            group internal-peers {
                type internal;
                local-address 60.2.2.2;
                family inet {
                    unicast;
                }
                family inet-vpn {
                    unicast;
                }
                family l2vpn {
                    signaling;
                }
                peer-as 199015;
                neighbor 60.1.1.1;
            }
        }
        ospf {
            traffic-engineering;
            reference-bandwidth 10g;
            area 0.0.0.0 {
                interface lt-2/0/10.902;
                interface lt-2/0/10.903;
                interface lo0.902;
            }
        }
    }
    routing-options {
        router-id 60.2.2.2;
        autonomous-system 199015;
    }
    
    admin@MX480:R2> show mpls lsp 
    Ingress LSP: 2 sessions
    To              From            State Rt P     ActivePath       LSPname
    60.1.1.1        60.2.2.2        Up     0 *                      lsp-to-R1
    60.3.3.3        60.2.2.2        Up     0 *                      lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    Egress LSP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.2.2.2        60.1.1.1        Up       0  1 FF       3        - lsp-to-R2
    60.2.2.2        60.3.3.3        Up       0  1 FF       3        - lsp-to-R2
    Total 2 displayed, Up 2, Down 0
    
    Transit LSP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.1.1.1        60.3.3.3        Up       0  1 FF  299920        3 lsp-to-R1
    60.3.3.3        60.1.1.1        Up       0  1 FF  299904        3 lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    admin@MX480:R2> show rsvp session 
    Ingress RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.1.1.1        60.2.2.2        Up       0  1 FF       -        3 lsp-to-R1
    60.3.3.3        60.2.2.2        Up       0  1 FF       -        3 lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    Egress RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.2.2.2        60.1.1.1        Up       0  1 FF       3        - lsp-to-R2
    60.2.2.2        60.3.3.3        Up       0  1 FF       3        - lsp-to-R2
    Total 2 displayed, Up 2, Down 0
    
    Transit RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.1.1.1        60.3.3.3        Up       0  1 FF  299920        3 lsp-to-R1
    60.3.3.3        60.1.1.1        Up       0  1 FF  299904        3 lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    admin@MX480:R2> show route 
    
    inet.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    50.1.1.0/24        *[Direct/0] 01:18:32
                        > via lt-2/0/10.902
    50.1.1.2/32        *[Local/0] 01:18:32
                          Local via lt-2/0/10.902
    50.2.2.0/24        *[Direct/0] 01:18:32
                        > via lt-2/0/10.903
    50.2.2.1/32        *[Local/0] 01:18:32
                          Local via lt-2/0/10.903
    60.1.1.1/32        *[OSPF/10] 00:21:38, metric 10
                        > to 50.1.1.1 via lt-2/0/10.902
    60.2.2.2/32        *[Direct/0] 01:24:44
                        > via lo0.902
    60.3.3.3/32        *[OSPF/10] 00:21:38, metric 10
                        > to 50.2.2.2 via lt-2/0/10.903
    224.0.0.5/32       *[OSPF/10] 01:25:02, metric 1
                          MultiRecv
    
    inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    60.1.1.1/32        *[RSVP/7/1] 00:21:37, metric 10
                        > to 50.1.1.1 via lt-2/0/10.902, label-switched-path lsp-to-R1
    60.3.3.3/32        *[RSVP/7/1] 00:21:37, metric 10
                        > to 50.2.2.2 via lt-2/0/10.903, label-switched-path lsp-to-R3
    
    mpls.0: 8 destinations, 8 routes (8 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    0                  *[MPLS/0] 01:25:01, metric 1
                          Receive
    1                  *[MPLS/0] 01:25:01, metric 1
                          Receive
    2                  *[MPLS/0] 01:25:01, metric 1
                          Receive
    13                 *[MPLS/0] 01:25:01, metric 1
                          Receive
    299904             *[RSVP/7/1] 00:21:38, metric 1
                        > to 50.2.2.2 via lt-2/0/10.903, label-switched-path lsp-to-R3
    299904(S=0)        *[RSVP/7/1] 00:21:38, metric 1
                        > to 50.2.2.2 via lt-2/0/10.903, label-switched-path lsp-to-R3
    299920             *[RSVP/7/1] 00:21:38, metric 1
                        > to 50.1.1.1 via lt-2/0/10.902, label-switched-path lsp-to-R1
    299920(S=0)        *[RSVP/7/1] 00:21:38, metric 1
                        > to 50.1.1.1 via lt-2/0/10.902, label-switched-path lsp-to-R1
    
    

     

    admin@MX480:R3> show configuration | no-more 
    apply-groups mpls-lsp-default;
    interfaces {
        lt-2/0/10 {
            unit 904 {
                description R2-to-R3;
                encapsulation ethernet;
                peer-unit 903;
                family inet {
                    address 50.2.2.2/24;
                }
                family mpls;
            }
        }
        lo0 {
            unit 904 {
                family inet {
                    address 60.3.3.3/32;
                }
            }
            unit 1933 {
                description "Customer1 Loopback";
                family inet {
                    address 70.3.3.3/32;
                }
            }
        }
    }
    protocols {
        rsvp {
            interface lt-2/0/10.904;
        }
        mpls {
            traffic-engineering;
            optimize-timer 300;
            label-switched-path lsp-to-R2 {
                to 60.2.2.2;
            }
            label-switched-path lsp-to-R1 {
                to 60.1.1.1;
            }
            interface lt-2/0/10.904;
        }
        bgp {
            group internal-peers {
                type internal;
                local-address 60.3.3.3;
                family inet {
                    unicast;
                }
                family inet-vpn {
                    unicast;
                }
                family l2vpn {
                    signaling;
                }
                peer-as 199015;
                neighbor 60.1.1.1;
            }
        }
        ospf {
            traffic-engineering;
            reference-bandwidth 10g;
            area 0.0.0.0 {
                interface lt-2/0/10.904;
                interface lo0.904;
            }
        }
    }
    policy-options {
        policy-statement Customer1-Export {
            term add-routes {
                then {
                    community add Customer1-Target;
                    community add origin;
                    accept;
                }
            }
            term reject-all-others {
                then reject;
            }
        }
        policy-statement Customer1-Import {
            term allow-routes {
                from {
                    protocol bgp;
                    community Customer1-Target;
                }
                then accept;
            }
            term reject-all-others {
                then reject;
            }
        }
        community Customer1-Target members target:199015L:25;
        community origin members origin:199015L:903;
    }
    routing-instances {
        Customer1 {
            instance-type vrf;
            interface lo0.1933;
            route-distinguisher 199015L:25;
            vrf-import Customer1-Import;
            vrf-export Customer1-Export;
            vrf-table-label;
        }
    }
    routing-options {
        router-id 60.3.3.3;
        autonomous-system 199015;
    }
    
    admin@MX480:R3> show mpls lsp 
    Ingress LSP: 2 sessions
    To              From            State Rt P     ActivePath       LSPname
    60.1.1.1        60.3.3.3        Up     0 *                      lsp-to-R1
    60.2.2.2        60.3.3.3        Up     0 *                      lsp-to-R2
    Total 2 displayed, Up 2, Down 0
    
    Egress LSP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.3.3.3        60.1.1.1        Up       0  1 FF       3        - lsp-to-R3
    60.3.3.3        60.2.2.2        Up       0  1 FF       3        - lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    Transit LSP: 0 sessions
    Total 0 displayed, Up 0, Down 0
    
    admin@MX480:R3> show rsvp session 
    Ingress RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.1.1.1        60.3.3.3        Up       0  1 FF       -   299920 lsp-to-R1
    60.2.2.2        60.3.3.3        Up       0  1 FF       -        3 lsp-to-R2
    Total 2 displayed, Up 2, Down 0
    
    Egress RSVP: 2 sessions
    To              From            State   Rt Style Labelin Labelout LSPname 
    60.3.3.3        60.1.1.1        Up       0  1 FF       3        - lsp-to-R3
    60.3.3.3        60.2.2.2        Up       0  1 FF       3        - lsp-to-R3
    Total 2 displayed, Up 2, Down 0
    
    Transit RSVP: 0 sessions
    Total 0 displayed, Up 0, Down 0
    
    admin@MX480:R3> show route 
    
    inet.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    50.1.1.0/24        *[OSPF/10] 00:23:46, metric 20
                        > to 50.2.2.1 via lt-2/0/10.904
    50.2.2.0/24        *[Direct/0] 01:20:40
                        > via lt-2/0/10.904
    50.2.2.2/32        *[Local/0] 01:20:40
                          Local via lt-2/0/10.904
    60.1.1.1/32        *[OSPF/10] 00:23:46, metric 20
                        > to 50.2.2.1 via lt-2/0/10.904
    60.2.2.2/32        *[OSPF/10] 00:23:46, metric 10
                        > to 50.2.2.1 via lt-2/0/10.904
    60.3.3.3/32        *[Direct/0] 01:26:52
                        > via lo0.904
    224.0.0.5/32       *[OSPF/10] 01:27:10, metric 1
                          MultiRecv
    
    inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    60.1.1.1/32        *[RSVP/7/1] 00:23:45, metric 20
                        > to 50.2.2.1 via lt-2/0/10.904, label-switched-path lsp-to-R1
    60.2.2.2/32        *[RSVP/7/1] 00:23:45, metric 10
                        > to 50.2.2.1 via lt-2/0/10.904, label-switched-path lsp-to-R2
    
    Customer1.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    70.1.1.1/32        *[BGP/170] 00:58:53, localpref 100, from 60.1.1.1
                          AS path: I, validation-state: unverified
                        > to 50.2.2.1 via lt-2/0/10.904, label-switched-path lsp-to-R1
    70.3.3.3/32        *[Direct/0] 01:08:09
                        > via lo0.1933
    
    mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    0                  *[MPLS/0] 01:27:09, metric 1
                          Receive
    1                  *[MPLS/0] 01:27:09, metric 1
                          Receive
    2                  *[MPLS/0] 01:27:09, metric 1
                          Receive
    13                 *[MPLS/0] 01:27:09, metric 1
                          Receive
    16                 *[VPN/0] 01:08:09
                          to table Customer1.inet.0, Pop      
    
    bgp.l3vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    199015L:25:70.1.1.1/32                  
                       *[BGP/170] 01:08:09, localpref 100, from 60.1.1.1
                          AS path: I, validation-state: unverified
                        > to 50.2.2.1 via lt-2/0/10.904, label-switched-path lsp-to-R1
    
    admin@MX480:R3> 

    Ping attempts.....

     

    ###Ping to Local Loopback
    admin@MX480:R3> ping routing-instance Customer1 70.3.3.3 count 1     
    PING 70.3.3.3 (70.3.3.3): 56 data bytes
    64 bytes from 70.3.3.3: icmp_seq=0 ttl=64 time=0.168 ms
    
    --- 70.3.3.3 ping statistics ---
    1 packets transmitted, 1 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.168/0.168/0.168/0.000 ms
    
    ###Ping to R1 loopback
    admin@MX480:R3> ping routing-instance Customer1 70.1.1.1 count 10 
    PING 70.1.1.1 (70.1.1.1): 56 data bytes
    
    --- 70.1.1.1 ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss

     

     

    ###Ping to local Loopback
    admin@MX480:R1> ping routing-instance Customer1 70.1.1.1 count 1     
    PING 70.1.1.1 (70.1.1.1): 56 data bytes
    64 bytes from 70.1.1.1: icmp_seq=0 ttl=64 time=0.281 ms
    
    ###Ping to R3 Loopback
    admin@MX480:R1> ping routing-instance Customer1 70.3.3.3 count 10    
    PING 70.3.3.3 (70.3.3.3): 56 data bytes
    
    --- 70.3.3.3 ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss

     

     



  • 2.  RE: MPLS VPN - unable to ping between PE VPN loopbacks
    Best Answer

    Posted 06-21-2015 11:26

    Hello,

     


    @j27 wrote:

     

    R1 (PE and Route Reflector) -- R2 (P) -- R3 (PE)

     

    I'm unable to ping from the R1 Customer1 loopback interface (lo0.1911) to the R3 Customer1 loopback interface (lo0.1933), although full routes appear in bgp.l3vpn.0 and Customer1.inet.0

     

    I've search around but haven't figured out what my problem is yet - can someone advise as to I might be missing?

     

     

     


    You are likely to have same MAC address on every LT logical interface.

    Because of this, ARP resolution does not work properly despite control plane being fine.

    To work around this issue, use cable loops instead, or LT interfaces with Frame Relay encaps:

     

     

    interfaces {
        lt-0/3/0 {
            unit 100 {
                encapsulation frame-relay;
                dlci 100;
                peer-unit 101;
                family inet {
                    address 203.0.113.5/30;
                }
      family mpls; }

     - then unit 101 has to be under different LS.

     

     

    HTH

    Thanks

    Alex



  • 3.  RE: MPLS VPN - unable to ping between PE VPN loopbacks

    Posted 06-22-2015 03:26

    Of course, hadn't thought of this! ARP does seemed to have caused this issue.

     

    I've opted for one of your suggestions to use cable loops, and now it's all working exactly as expected.

     

    Thanks for your advice,