RE: : Question on VRFs and route targets
2008-01-01 06:43:54 GMT
Yetrik,
Thanks for the correction, I overlooked and should have been clear on the n= eed of the two interface.
Happy New Year
Liban Mohamed
NTAC-IP
Sprint/Nextel
www.sprint.net
liban.mohamed <at> sprint.com
(W) 678-291-3438
(PCS) 404-441-9701
From: Serbest, Yetik
[mailto:Yetik_Serbest <at> labs.att.com]
Sent: Monday, December 31, 2007 11:53 AM
To: Cristian Varvas; Mohamed, Liban [NTK]
Cc: Scott Chiefs; mpls-ops <at> mplsrc.com
Subject: RE: [MPLS-OPS]: Question on VRFs and route targets
Liban,
To make sure that the packets are forwarded to the hub site you need two interfaces in two separate VRFs for the hub site (PE1). One is used to receive packets from the hub site and propagate them to spoke sites (PE2 and PE3); the other is used to collect packets from spoke sites and send them to the hub site. In your example, the traffic will go through PE1 but not through CE1.
Hence, your configs should be (routing and interface configs aside):
PE1:
Config t
Ip vrf CE-A-Hub
Rd 1:1
Route-target import 10:2
Route-target import 10:3
Ip vrf CE-A-Spoke
Rd 1:1
Route-target export 10:1
PE2
Config t
Ip vrf CE-B
Rd 1:2
Route-target import 10:1
Route-target export 10:2
PE3
Config t
Ip vrf CE-C
Rd 1:3
Route-target import 10:1
Route-target export 10:3
Hope this helps,
Thanks,
yetik
From: Cristian Varvas
[mailto:cristian.varvas <at> 2ktelecom.ro]
Sent: Saturday, December 29, 2007 12:46 AM
To: Mohamed, Liban [NTK]
Cc: Scott Chiefs; mpls-ops <at> mplsrc.com
Subject: Re: [MPLS-OPS]: Question on VRFs and route targets
Hi,
You have a very good example here:
http://www.juniper.net/techpubs/software/junos/junos84/swconfig84-vpns/id-11140299.html#id-11140299
Best regards,
Cristian Varvas
Mohamed, Liban [NTK] wrote:
Scott,
You can achieve your goal, with Route-Target, so here is how I would config= ure
CE-A--------PE1
CE-B--------PE2
CE-C--------PE3
PE1:
Config t
Ip vrf CE-A
Rd 1:1
Route-target export 10:1
Route-target import 10:2
Route-target import 10:3
PE2
Config t
Ip vrf CE-B
Rd 1:2
Route-target import 10:1
Route-target export 10:2
PE3
Config t
Ip vrf CE-C
Rd 1:3
Route-target import 10:1
Route-target export 10:3
So as you can see CE-B and CE-C export RT are not imported in CE-B, and CE-= C, hence they will not exchange routes, but CE-A, is imported both exported= RT. Someone else might have other solutions. I didn't test this, but I will be happy to test this setting
Liban Mohamed
NTAC-IP
Sprint/Nextel
(W) 678-291-3438
(PCS) 404-441-9701
From: Scott Chiefs [mailto:chiefscott9 <at> gmail.com]
Sent: Friday, December 28, 2007 1:42 PM
To: mpls-ops <at> mplsrc.com
Subject: [MPLS-OPS]: Question on VRFs and route targets
I have a question for the experts on this list regarding the
use of route targets and connectivity in a L3VPN. Here's the scenario:
A provider has a customer that is looking for a layer 3 MPLS/BGP VPN between 3
of their sites (a,b,c). However, the customer does not want full
connectivity between their 3 sites from the provider. They'd like it set
up in a hub and spoke model, where A is the hub and B,C are the spokes.
So, they do not want traffic from B and C to be routed directly to one another
through the provider cloud.
How does the provider build this for the customer in their network? Do
they build 2 VPNs --> VPN1 for sites A&B and VPN2 for sites A&C (so
PE2 and PE3 would each have 1 VRF configured and PE1 would have 2 VRFs
configured)? Or, do they build one VPN (single VRF on all PEs for this
customer) and use the route target attribute to accomodate the hub and spoke
configuration required by this customer?
Putting my question another way -- within a L3VPN, is full mesh, customer IP
routing connectivity (in the provider network), ALWAYS established between CE's
(assuming serving PEs have single VRF for the customer)? In which case --- a
provider would have to acccomodate the customer request by building seperate
VRFs/VPNs for the customer? Or can route targets be used to
constrain distribution of customer routes among PEs to accomodate customer
routing demands like hub and spoke?
CE(a)
|
|
PE(1)
|
P
|\
P-P---PE(2)----CE(b)
|
|
PE(3)
|
|
CE(c)
Any responses are appreciated. Thanks!
RSS Feed