Jump to content

Recommended Posts

Posted

Конфиг первого роутера:

router ospf
ospf router-id 10.0.250.1
network 10.0.250.0/24 area 0
!

Конфиг второго роутера:

router ospf
ospf router-id 10.0.250.10
redistribute static
network 10.0.250.0/24 area 0
!
ip route 10.194.2.0/24 Null0
!

Вывод с первого роутера:

border# sh ip ospf route
============ OSPF network routing table ============
N 10.0.250.0/24 [10] area: 0.0.0.0
directly attached to eth1

============ OSPF router routing table =============

============ OSPF external routing table ===========

Вывод со второго роутера:

border# sh ip ospf route
============ OSPF network routing table ============
N 10.0.250.0/24 [10] area: 0.0.0.0
directly attached to eth1

============ OSPF router routing table =============

============ OSPF external routing table ===========

В чём проблема?

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.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.