Author Topic: routing instance problem with logical systems  (Read 921 times)

barrdgn

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
routing instance problem with logical systems
« on: July 14, 2016, 12:13:26 pm »
Hello,

I set up an virtual topology in a single MX as below

ce_1 ---- mpls_1 ---- mpls_2 ---- mpls_3 ---- mpls_4 ---- ce_2

configured one logical system per every virtual router like,

ls_ce_1---- ls_mpls_1----ls_mpls_2----ls_mpls_3----ls_mpls_4----ls_ce_2

and i enabled ldp signaling for every (ls_mpls_1, ls_mpls_2 ... ) ones
and i also enabled only one rsvp lsp from ls_mpls_1 to ls_mpls_2
all mpls enabled routers in same OSPF area 0.0.0.0 and no problem with neighboring and exchanging routes among them

I also enabled bgp for either mpls ones and ce ones. mpls ones has same AS number and different from ce ones, ce ones has different AS number from each other.
there is no problem with either ibgp connections and ebgp connections.
I injected all routes learned from static,ospf and bgp to each ibgp and ebgp.
ldp neighboring is ok
rsvp neighboring is ok

but when i traceroute ls_mpls_4's loopback interface from ls_mpls_1
i could not see any labeled packet carried through mpls

further investigation revealed that:

only ospf routes for loopback interface exists in inet.0 routing table
but ldp and rsvp routes appear in inet.3 routing table

you can see route for ls_mpls_4 loopback interface IP 192.168.146.1

root@MX_1:ls_ce_1> show route 192.168.146.1

inet.0: 16 destinations, 18 routes (16 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[BGP/170] 04:44:42, MED 3, localpref 100
                      AS path: 16532 I, validation-state: unverified
                    > to 172.16.2.2 via lt-0/0/0.149

root@MX_1:ls_ce_1>

root@MX_1:ls_mpls_1# run show route 192.168.146.1

inet.0: 18 destinations, 32 routes (18 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[OSPF/10] 04:48:14, metric 3
                    > to 10.0.140.2 via lt-0/0/0.140

inet.3: 3 destinations, 4 routes (3 active, 1 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[LDP/9] 04:47:12, metric 1
                    > to 10.0.140.2 via lt-0/0/0.140, Push 300464
                    [RSVP/7/1] 02:01:21, metric 3
                    > to 10.0.140.2 via lt-0/0/0.140, Push 300496

[edit]
root@MX_1:ls_mpls_1#

root@MX_1:ls_mpls_2# run show route 192.168.146.1

inet.0: 18 destinations, 42 routes (18 active, 0 holddown, 9 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[OSPF/10] 12:09:16, metric 2
                    > to 10.0.140.6 via lt-0/0/0.142

inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[LDP/9] 04:47:45, metric 1
                    > to 10.0.140.6 via lt-0/0/0.142, Push 300464

root@MX_1:ls_mpls_3# run show route 192.168.146.1

inet.0: 19 destinations, 43 routes (19 active, 0 holddown, 9 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[OSPF/10] 12:09:43, metric 1
                    > to 10.0.140.10 via lt-0/0/0.144
                    [BGP/170] 04:48:07, MED 3, localpref 100, from 192.168.140.1
                      AS path: I, validation-state: unverified
                    > to 10.0.140.5 via lt-0/0/0.143

inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[LDP/9] 04:48:10, metric 1
                    > to 10.0.140.10 via lt-0/0/0.144

root@MX_1:ls_mpls_4# run show route 192.168.146.1

inet.0: 19 destinations, 33 routes (19 active, 0 holddown, 1 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[Local/0] 12:10:59
                      Local via lo0.146
                    [BGP/170] 04:48:22, MED 3, localpref 100, from 192.168.140.1
                      AS path: I, validation-state: unverified
                    > to 10.0.140.9 via lt-0/0/0.145

unlike config above

if i configured all these in logical systems but in a "routing instance", i mean the case that all bgp, ospf, ldp, interfaces in routing instance
i could easily see that ldp routes other than ospf in virtual router.inet.0 routing table like below

root@MX_1:ls_mpls_1# run show route 192.168.146.1

vr_mpls_1.inet.0: 18 destinations, 31 routes (18 active, 1 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[LDP/9] 01:25:06, metric 1
                    > to 10.0.140.2 via lt-0/0/0.140, Push 300544
                    [OSPF/10] 02:16:17, metric 3
                    > to 10.0.140.2 via lt-0/0/0.140

vr_mpls_1.inet.3: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

192.168.146.1/32   *[LDP/9] 01:25:06, metric 1
                    > to 10.0.140.2 via lt-0/0/0.140, Push 300544

but this time i could never bring mpls lsp up.
all rsvp has become up but lsp has never become up

I think this strange behavior is regarding logical system's default routing instance
somehow default routing instance could not resolve ldp routes into inet.0

please any help will be appreciated

Thanks in advance
regards