On host 1, VR PE 1:
host1(config)#
virtual-router pe1
host1:pe1(config)#
router bgp 100
host1:pe1(config-router)#
neighbor 10.4.4.4 remote-as 200
host1:pe1(config-router)#
neighbor 10.4.4.4 ebgp-multihop
host1:pe1(config-router)#
neighbor 10.4.4.4 update-source loopback1
host1:pe1(config-router)#
exit
On host 2, VR CE 1:
host2(config)#
virtual-router ce1
host2:ce1(config)#
interface loopback 1
host2:ce1(config-if)#
ip address 10.4.4.4 255.255.255.255
host2:ce1(config-if)#
exit
host2:ce1(config)#
ip route 10.2.2.2 255.255.255.255 atm2/1.1
host2:ce1(config)#
router bgp 200
host2:ce1(config-router)#
neighbor 10.2.2.2 remote-as 100
host2:ce1(config-router)#
neighbor 10.2.2.2 ebgp-multihop
host2:ce1(config-router)#
neighbor 10.2.2.2 update-source loopback1
host2:ce1(config-router)#
exit
You must also configure either fallback global or a default route to a manually created
shared interface in the VRF. See “Configuring a Fallback Global Option” on page 457
or “Configuring a Default Route to a Shared Interface” on page 456 for details.
You can use the BGP session between the CE router and the parent VR to enable the
CE router to advertise prefixes within the VPN site that can be reachable from the
global Internet. An alternative configuration is to use a global export map as described
in “Setting Import and Export Maps for a VRF” on page 420.
Enabling Traffic Flow from the Internet to the VPN
When traffic flows from the Internet to a VPN, the traffic arrives at the PE router on
an interface in the global context. BGP performs a lookup in the global IP routing
table, which normally does not contain VPN routes. You can use one of the following
methods to advertise public VPN routes to the Internet (get the routes into the global
routing table) and thus enable traffic flow from the Internet to those VPNS.
■
Manually create shared interfaces in the parent VR and manually add static routes
to those shared interfaces. See “Enabling VRF–to–VR Peering” on page 448 for
more information.
■
Export VPN routes to the global BGP RIB. See “Setting Import and Export Maps
for a VRF” on page 420.
Static Routes to a Shared IP Interface
You can introduce routes to VPN sites into the global routing table by placing static
routes to the VPN sites into the global table. The static routes must point to shared
IP interfaces that are shares of the PE-CE interface for each particular VPN site. The
static routes must then be injected into BGP (possibly as part of an aggregate) so that
they can be reached from the Internet. Figure 105 on page 462 illustrates this approach:
Providing Internet Access to and from VPNs
■
461
Chapter 5: Configuring BGP-MPLS Applications
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...