Configuring Addresses to Associate with the LSP
By default, a host route toward the egress router is installed in the
inet.3routing table. (The host route address is the one you configure in thetostatement.) Installing the host route allows BGP to perform next-hop resolution. It also prevents the host route from interfering with prefixes learned from dynamic routing protocols and stored in theinet.0routing table.Unlike the routes in the
inet.0table, routes in theinet.3table are not copied to the Packet Forwarding Engine, and hence they cause no changes in the system forwarding table directly. You cannot use thepingortraceroutecommand through these routes. The only use forinet.3is to permit BGP to perform next-hop resolution. To examine theinet.3table, use theshow route table inet.3command.To inject additional routes into the
inet.3routing table, include the install statement:install {destination/mask<active>;}You can include this statement at the following hierarchy levels:
[edit protocols mpls label-switched-pathlsp-path-name][edit logical-routerslogical-router-nameprotocols mpls label-switched-pathlsp-path-name]The specified routes are installed as aliases into the routing table when the LSP is established. Installing additional routes allows BGP to resolve next hops within the specified prefix and to direct additional traffic for these next hops to a particular LSP.
Including the
activeoption with theinstallstatement installs the specified prefix into theinet.0routing table, which is the primary forwarding table. The result is a route that is installed in the forwarding table any time the LSP is established, which means you can ping or trace the route. Use this option with care, because this type of prefix is very similar to a static route.You use alias routes for routers that have multiple addresses being used as BGP next hops, or for routers that are not MPLS capable. In either of these cases, the LSP can be configured to another MPLS capable system within the local domain, which then acts as a "border" router. The LSP then terminates on the border router and, from that router, Layer 3 forwarding takes the packet to the true next-hop router.
In the case of an interconnect, the domain's border router can act as the proxy router and can advertise the prefix for the interconnect if the border router is not setting the BGP next hop to itself.
In the case of a point of presence (POP) that has routers that do not support MPLS, one router (for example, a core router) that supports MPLS can act as a proxy for the entire POP and can inject a set of prefixes that cover the POP. Thus, all routers within the POP can advertise themselves as interior BGP (IBGP) next hops, and traffic can follow the LSP to reach the core router. This means that normal IGP routing would prevail within the POP.
You cannot use the
pingortraceroutecommands on routes in theinet.3routing table.For BGP next-hop resolution, it makes no difference whether a route is in
inet.0orinet.3; the route with the best match (longest mask) is chosen. Among multiple best-match routes, the one with the highest preference value is chosen.