Thanks for the info. I read the rdomain configuration section. My problem is 
how to put prefix learned dynamically from a BGP neighbor to a specific rdomain 
(not default rdomain 0). Sadly, I still don't know if that's possible. 

Regards,
-Yang


________________________________________
From: owner-m...@openbsd.org [owner-m...@openbsd.org] On Behalf Of Alexander 
Salmin [alexan...@salmin.biz]
Sent: 25 July 2015 17:36
To: misc@openbsd.org
Subject: Re: rdomain with BGP dynamic route

Hey,

man 5 bgpd.conf

See section "Routing Domain Configuration" and parameters
"export-target" and "import-target". I suspect that is what you want.

Alexander Salmin

On 2015-07-24 13:47, XU, YANG (YANG) wrote:
> Let me describe it in another way. Can I create a new rdomain as a VRF and 
> use the rdomain to import/export customer's prefix through BGP?
>
> I will greatly appreciate it if you can provide any information. I have seen 
> some information online, but prefix is either from static configuration or 
> connected network. In my case, I need to support dynamic routes from BGP in 
> VRF.
>
> Thanks,
> -Yang
>
>
>
> ________________________________________
> From: owner-m...@openbsd.org [owner-m...@openbsd.org] On Behalf Of XU, YANG  
> (YANG)
> Sent: 23 July 2015 08:06
> To: misc@openbsd.org
> Subject: rdomain with BGP dynamic route
>
> Hi all,
>
> I am configuring OpenBSD bgpd so that it can relay the routes learned from 
> customer BGP servers to a route reflector (RR). Customer BGP servers only 
> speak IPv4 BGP, so my OpenBSD bgpd needs to add different route-distinguisher 
> and route-target to the dynamic routes learned from each customer BGP 
> neighbor before forwarding to RR. As I understand, I should be able to use 
> rdomain to implement this. What I really need conceptually is to attach a BGP 
> neighbor to a rdomain, so that dynamic routes learned from that BGP neighbor 
> are added to the specified rdomain.  But I failed to find a way to do this in 
> OpenBSD. Does anyone know if this is possible and give me an BGP configure 
> example?
>
> Many thanks in advance,
>
> -Yang

Reply via email to