Jump to content
Калькуляторы

Вопрос по пирингу

Добрый день. Есть коммутатор, к которому присоединены несколько AS.

 

Топология далее:

 

Коммутатор обмена AS_K

Пир-партнер1 AS_1

Пир-партнер2 AS_2

...

 

Сейчас BGP настроен так, чтобы отдавать всем пиринг-партнерам только наши сети, сделано это вот так:

 

neighbor IPN1 remote-as AS_1

neighbor IPN1 next-hop-self

neighbor IPN1 soft-reconfiguration inbound

neighbor IPN1 prefix-list OUR-NET-23 out

neighbor IPN1 route-map AS1-LPREF in

neighbor IPN1 filter-list 2 out

 

ip as-path access-list 2 permit ^AS_K$

ip as-path access-list 2 permit ^$

 

ip prefix-list OUR-NET-23 seq 5 permit XXX.XXX.XXX.XXX/23

ip prefix-list OUR-NET-23 seq 10 permit YYY.YYY.YYY.YYY/23

ip prefix-list OUR-NET-23 seq 15 permit ZZZ.ZZZ.ZZZ.ZZZ/23

ip prefix-list OUR-NET-23 seq 200 deny 0.0.0.0/0

 

Так вот захотелось сделать IX, а поскольку я в BGP только одним глазом, то что-то не могу сообразить как сделать.

Думал, что надо к этому добавить:

ip as-path access-list 2 permit ^AS_K$

ip as-path access-list 2 permit ^AS_1$

ip as-path access-list 2 permit ^AS_2$

ip as-path access-list 2 permit ^$

 

но, что-то не работает... Если подскажите, буду признателен.

Спасибо.

Share this post


Link to post
Share on other sites

убрал neighbor IPN1 prefix-list OUR-NET-23 out

все пошло, как только теперь убрать из анонсов default?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.