Hi,

We used to have two cisco routers for BGP, ans we changed for openbsd 
servers with bgpd.

I'm looking for a feature that was simple on cisco : re-announce a 
learner subnet to a neighbor.

In cisco, I had :


####
router bgp MY_AS
  bgp router-id 46.226.x.x
  neighbor 46.18.x.x remote-as NEIGH1_AS
  neighbor 46.18.x.x description neigh1
  address-family ipv4
   neighbor 46.18.x.x activate
   neighbor 46.18.x.x route-map neigh1_voip_in in
   neighbor 46.18.x.x route-map neigh1_voip_out out

####

route-map neigh1_voip_in permit 10
  match ip address prefix-list neigh1_subnets_voip

route-map neigh1_voip_in deny 100
  match ip address prefix-list REFUSE_ALL

route-map neigh1_voip_out permit 10
  match ip address prefix-list voice_subnets
  set as-path prepend MY_AS

route-map neigh1_voip_out deny 100
  match ip address prefix-list REFUSE_ALL

####

ip prefix-list voice_subnets seq 9 permit 91.213.x.x/24 le 32            
<== the subnet I want to redistribute to neigh1
ip prefix-list neigh1_subnets_voip seq 10 permit 46.18.x.x/26 le 32 <== 
the subnet that neigh1 announces to me
ip prefix-list REFUSE_ALL seq 10 permit 0.0.0.0/0 le 32

I'm trying to do the same thing with bgpd, but I can't find how.

Any idea ?

Thanks for your help.

Regards,
Cédric



-- 
OCEANET
---------------------------------------------------------------
[AGENCE DU MANS]
7, rue des Frênes
ZAC de la Pointe
72190 SARGE LES LE MANS
[t] +33 (0)2.43.50.26.50
[f] +33 (0)2.43.72.21.14

[AGENCE D'ANGERS]
5, rue Fleming
Angers Technopole
49066 ANGERS
[t] +33 (0)2.41.19.28.65
[f] +33 (0)2.52.19.22.00

http://www.oceanet.com
http://www.oceanet-telecom.com

Reply via email to