The MPLS-OPS Archive

Cell Relay Retreat>MPLS-OPS Archive>month:2003-Feb> msg00116



[Date Prev][Date Next][Thread Prev][Thread Next]  
  [Date Index][Thread Index][Author Index][Subject Index]

Re: Route Distinguisher Questions

  • From: "wanglei" <wanglei@harbournetworks.com>
  • Date: Mon, 17 Feb 2003 09:45:34 +0800
  • Resent-Date: Sun, 16 Feb 2003 22:14:40 -0500
  • To: <MHeusinger@gmx.net>, "Aries C" <cariesc@hotmail.com>, <mpls-ops@mplsrc.com>
  • X-MIME-Autoconverted: from base64 to 8bit by host.secure4-hosting.net id h1H1kUL31772

thanks a lot ^_^
----- Original Message ----- 
From: "Martin Heusinger" <MHeusinger@gmx.net>
To: "wanglei" <wanglei@harbournetworks.com>; "Aries C" <cariesc@hotmail.com>; <mpls-ops@mplsrc.com>
Sent: Sunday, February 16, 2003 11:27 PM
Subject: Re: [MPLS-OPS]: Route Distinguisher Questions


> Wanglei,
> 
> excuse me for interfering, but there are few things to be corrected here 
> IMHO.
> 
> First: There is no point in naming VRFs with names reflecting VPN topology. 
> This might change at any point in time. The VRF is - in simple words - the 
> (virtual) router a customer is attached to. My recommendation is that the 
> VRFs hostname (PE(config)#ip vrf HOSTNAME) should be reflecting the 
> location or CE attached to it.
>  Second: PE2(config)#ip vrf HOSTNAME
> PE2(config-vrf)#rd 100:27
> PE2(config-vrf)#route-target 2:2
> 
> translates to
> 
> PE2#show running-config
> 
> ip vrf HOSTNAME
>  rd 100:27
>  route-target export 2:2
>  route-target import 2:2
> 
> end
> ;-)
> 
> So the command you gave could be seen as an "aid for lazy admins". There is 
> NO difference to using import and export statements right away (except the 
> additional typing).
> 
> Kind regards
> 
> Martin
> 
> P.S.: PE2(config-vrf)#route-target 2:2
> equals
> PE2(config-vrf)#route-target both 2:2
> equals
> PE2(config-vrf)#route-target import 2:2
> PE2(config-vrf)#route-target export 2:2
> (depending on the IOS version you use!? I am too lazy now to lookup the 
> availability of these commands in the different IOS versions!  :-)
> 
> On Sun, 16 Feb 2003 21:05:45 +0800, wanglei <wanglei@harbournetworks.com> 
> wrote:
> 
> >
> > Sorry ,make a little mistake in the answer ^_^
> >
> > Perhaps i don't understand your question very well,but if you only want 
> > to let the route be transfered between VPN-A and VPN-B,it is nothing with 
> > RD
> > you can do like this:
> >
> > PE2 (config)#ip vrf VPN-A
> > PE2 (config-vrf)#rd 100:27
> > PE2 (config-vrf)#route-target 2:2
> > PE2 (config-vrf)#exit
> >
> > PE3 (config)#ip vrf VPN-B
> > PE3 (config-vrf)#rd 100:26
> > PE3 (config-vrf)#route-target 2:2
> > PE3 (config-vrf)#exit
> >
> > so ,you see when route study among different VPNs(or we can say VRFs),it 
> > only needs the same route target.
> > if you want to control route study more subtly,you can use the "import" 
> > and "export" option
> >
> >
> > ----- Original Message ----- From: "Aries C" <cariesc@hotmail.com>
> > To: <mpls-ops@mplsrc.com>
> > Sent: Sunday, February 16, 2003 7:53 PM
> > Subject: Re: [MPLS-OPS]: Route Distinguisher Questions
> >
> >
> >>
> >> >From: "john smith" <johnsmith0302@hotmail.com>
> >> >To: wanglei@harbournetworks.com, cariesc@hotmail.com, mpls- 
> >> ops@mplsrc.com
> >> >Subject: Re: [MPLS-OPS]: Route Distinguisher Questions
> >> >Date: Sun, 16 Feb 2003 11:18:05 +0000
> >> >
> >> >>From: "wanglei" <wanglei@harbournetworks.com>
> >> >>To: "Aries C" <cariesc@hotmail.com>, <mpls-ops@mplsrc.com>
> >> >>Subject: Re: [MPLS-OPS]: Route Distinguisher Questions
> >> >>Date: Sun, 16 Feb 2003 17:58:20 +0800
> >> >>
> >> >>    RD is the identifier of a vrf,it must be unique in a PE,
> >> >>so in PE ,when a route comes,the PE can find which vrf it
> >> >>belongs to.
> >> >>    Route Target is mainly used for controlling the route table
> >> >>import and export policy.
> >> >>    Don't mix the two.
> >> >>in my opinion:
> >> >>1、 RD is the identifier of VRF, it must be unique in one PE.
> >> >>it can be different even in the same VPN but not in the same PE.
> >> >>but in order to reduce the memory requirements ,each vrf in the
> >> >>same VPN can use the same RD.
> >> >>the core is that RD is the identifer to identify different vrfs
> >> >>in one PE.
> >> >>
> >> >
> >> >why would i want to use 2 RDs in the same VPN? can you give me a 
> >> specific >example?
> >> >
> >>
> >> That's a good question. Again, the book mentioned :
> >>
> >> "However, if this site at some point in the future will become a
> >> member of an extranet VPN, do not take this approach because it might 
> >> incur
> >> config. issues when trying to provision the extranet VPN.
> >>
> >> For example, suppose a different RD is used for each VPN. If a 
> >> particular
> >> site wants to be a member of multiple VPNs, it's not possible to to 
> >> identify
> >> which route distinguisher to use for the site because it belongs to more
> >> than one VPN."
> >>
> >> But I could not digest, where the issue would be, as I have different RD 
> >> for different VPN anyway. Why I can not route site A of VPN-A (RD 
> >> 100:27) and site B of VPN-B (RD 100:26) ?? What's the issue ?
> >>
> >> The problem with assigning unique RD per VRF (even in the same VPN) is 
> >> operation issue, and perhaps scalability.
> >>
> >>
> >> TIA
> >>
> >> Aries C.
> >>
> >>
> >>
> >> _________________________________________________________________
> >> MSN Instant Messenger now available on Australian mobile phones.燝o to  
> >> http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp
> >>
> >> -------
> >> The MPLS-OPS Mailing List
> >> Subscribe/Unsubscribe:  http://www.mplsrc.com/mplsops.shtml
> >> Archive: http://www.mplsrc.com/mpls-ops_archive.shtml
> >>
> >
> > -------
> > The MPLS-OPS Mailing List
> > Subscribe/Unsubscribe:  http://www.mplsrc.com/mplsops.shtml
> > Archive: http://www.mplsrc.com/mpls-ops_archive.shtml
> >
> >
> 
> 
> 
> -- 
> Dr. Martin Heusinger
> Consulting Manager Central European Region
> CCIE #5980 CCSI 98285
> 
> Global Knowledge
> Hungener Str. 6
> 60389 Frankfurt
> 
> Tel.: +49 69 90556700
> FAX:  +49 69 90556729
> 
> mailto:Martin.Heusinger@GlobalKnowledge.de
> web:   www.globalknowledge.de
> 

-------
The MPLS-OPS Mailing List
Subscribe/Unsubscribe:  http://www.mplsrc.com/mplsops.shtml
Archive: http://www.mplsrc.com/mpls-ops_archive.shtml