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

Ламерский вопрос по Quagga, OSPF Не анонсировать левые сети в area?

День добрый.

 

Хочу не анонсировать приватные IP в некую area. Конструкция типа:

 

access-list DENY_PRIVATE remark filter bogons
access-list DENY_PRIVATE deny 192.168.0.0/16
access-list DENY_PRIVATE deny 10.0.0.0/8
access-list DENY_PRIVATE deny 172.16.0.0/12
access-list DENY_PRIVATE permit any

area xxx.x.xx.0 export-list DENY_PRIVATE

 

ни разу не работает. Что я делаю не так?

Через prefix-list тоже не работает:)

 

Вдогонку: а как на quagga сделать аналог clear ip ospf?

Share this post


Link to post
Share on other sites

r01(config-router)# area xxx.xxx.xxx.0 range 192.168.0.0/16 not-advertise
r01(config-router)# area xxx.xxx.xxx.0 range 10.0.0.0/8 not-advertise  
r01(config-router)# area xxx.xxx.xxx.0 range 172.16.0.0/12 not-advertise

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.