28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

This output shows two labels to the CE router, not one. This is because of a detail in<br />

how VPN assigns labels. It actually assigns one for each next hop. The configuration<br />

is this recipe has two next hops to the CE router, one through the direct interface<br />

connection and one as a result of the static route configuration. You can see these<br />

two routes in the VPN2.inet.0 table:<br />

aviva@RouterG> show route table VPN2.inet.0<br />

VPN2.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

10.0.16.0/24 *[Direct/0] 01:06:47<br />

> via se-5/0/1.0<br />

192.168.13.1/32 *[Static/5] 01:06:47<br />

> via se-5/0/1.0<br />

See Also<br />

Recipes 8.1 and 14.7<br />

15.3 Adding a VPN for a Second Customer<br />

Problem<br />

You want to configure a single PE router to keep the traffic for the two different<br />

VPNs separated.<br />

Solution<br />

Configure the VPN for the second customer on the PE router:<br />

[edit routing-instances VPN1]<br />

aviva@RouterG# set instance-type vrf<br />

aviva@RouterG# set interface fe-1/0/1<br />

aviva@RouterG# set route-distinguisher 65500:1<br />

aviva@RouterG# set vrf-target target:65530:200<br />

aviva@RouterG# set routing-options protocols bgp group VPN1-group type external<br />

aviva@RouterG# set routing-options protocols bgp group VPN1-group peer-as 65530<br />

aviva@RouterG# set routing-options protocols bgp group VPN1-group neighbor 10.0.1.1<br />

Have the customer configure an EBGP session on her CE router that connects to<br />

your PE router:<br />

[edit protocols bgp group to-ISP]<br />

aviva@RouterH# set type external<br />

aviva@RouterH# set peer-as 65500<br />

aviva@RouterH# set neighbor 10.0.1.2<br />

<strong>Discussion</strong><br />

From a service provider point of view, the whole point of Layer 3 VPNs is to allow a<br />

single edge router in your network to provide services to a number of different customers<br />

and to isolate each customer’s network so that all information pertaining to it<br />

568 | Chapter 15: VPNs<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!