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.

emains private. When configuring the PE router, you set up the router to keep each<br />

customer’s routing information in separate routing tables and you establish unique<br />

route distinguishers so that the PE routers can identify which routes belong to which<br />

VPNs.<br />

This recipe shows how to add a VPN called VPN1 for a second customer. Figure 15-2<br />

shows the network topology with both customers’ VPNs.<br />

fe-1/0/1<br />

10.0.1.1<br />

RouterH<br />

192.168.18.1<br />

RouterA<br />

192.168.13.1<br />

fe-1/0/1<br />

10.0.1.2<br />

se-5/0/1<br />

10.0.16.2<br />

RouterG<br />

192.168.19.1<br />

CE Router<br />

VPN1, Site A<br />

CE Router<br />

VPN2, Site A<br />

se-0/0/3<br />

10.0.16.1<br />

PE Router<br />

Site A<br />

t1-4/0/0<br />

10.0.0.1<br />

t1-5/0/0<br />

10.0.0.2<br />

P Router<br />

RouterJ<br />

192.168.17.1<br />

fe-1/0/1<br />

10.0.8.1<br />

fe-0/0/1<br />

10.0.8.2<br />

RouterF<br />

192.168.16.1<br />

t1-0/0/3<br />

10.0.31.1<br />

RouterD<br />

192.168.14.1<br />

CE Router<br />

VPN1, Site B<br />

RouterE<br />

192.168.15.1<br />

t1-0/0/3<br />

10.0.13.1<br />

PE Router<br />

Site B<br />

t1-0/0/2<br />

10.0.13.2<br />

t1-0/0/3<br />

10.0.31.2<br />

CE Router<br />

VPN2, Site B<br />

Figure 15-2. Topology with Layer 3 VPNs for two customers<br />

Configuring the VPN for the second customer is somewhat simpler than for the first<br />

customer. An IGP, MPLS, and RSVP are already up and running on the PE and P<br />

routers, and the LSP between the two PE routers is already operational. What<br />

remains to be done is to configure the VPN itself. This VPN, named VPN1, connects<br />

to the CE routers using BGP rather than static routes. The following commands set<br />

the basic properties of VPN1:<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 />

The first command defines the routing instance type, which must be vrf for Layer 3<br />

VPNs. The PE router connects to the CE router using interface fe-1/0/1. Each VPN<br />

Adding a VPN for a Second Customer | 569<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!