Jump to content

Recommended Posts

Posted

Никак не дистрибутит connected network.

 

Конфиг

add ip int=vlan51 ip=192.168.151.233 mask=255.255.255.248
add ip int=vlan7 ip=192.168.151.61 mask=255.255.255.224

set ospf routerid=192.168.151.61
add ospf red prot=sta
add ospf area=backbone stubarea=off summary=send
add ospf range=192.168.151.32 area=backbone mask=255.255.255.224
add ospf interface=vlan7 area=backbone
enable ospf

 

> sh ospf

Router ID ....................... 192.168.151.61
OSPF module status .............. Enabled
Area border router status ....... No
NSSA border router status ....... No
AS boundary router status ....... Disabled
PTP stub network generation ..... Enabled
External LSA count .............. 223
External LSA sum of checksums ... 7706197
New LSAs originated ............. 17
New LSAs received ............... 894
RIP ............................. None
BGP importing:
  Enabled ....................... No
  Import filter ................. None
  Routes imported/limit ......... 0 / 1000
Passive Interface Default ....... No
In Route Map .................... -
Export Static Routes ............ Yes
Dynamic interface support ....... None
Number of active areas .......... 1
Auto BW cost calculation ........ Disabled
Auto BW cost reference .......... 1000
Logging ......................... Disabled
Debugging ....................... Disabled
AS external default route:
  Status ........................ Disabled
  Type .......................... 2
  Metric ........................ 1
System resources used:
  CPU percentage ................ 0.0%
  Memory ........................ 65kB

 

> show ospf int


                                              Designated rtr   Backup DR
Iface    Status    Area             State     / Virtual nbr    / Transit area
-------------------------------------------------------------------------------
vlan7    Enabled   Backbone         otherDR   192.168.151.62     192.168.151.38
-------------------------------------------------------------------------------

 

> show ospf route

OSPF Routes

Destination       Mask              NextHop             Interface           Age
DLCI/Circ.        Type     Policy   Protocol            Metrics      Preference
-------------------------------------------------------------------------------
Area backbone AB routes:
192.168.151.62      255.255.255.255   192.168.151.62        vlan7              1195
-                 ospfAB   0        ospf                1                    10

ASBR routes:
192.168.151.251     255.255.255.255   192.168.151.62        vlan7               685
-                 ospfAS   0        ospf                11                   11
192.168.151.62      255.255.255.255   192.168.151.62        vlan7              1195
-                 ospfAS   0        ospf                1                    10
192.168.151.37      255.255.255.255   192.168.151.37        vlan7              1195
-                 ospfAS   0        ospf                1                    10
192.168.151.34      255.255.255.255   192.168.151.34        vlan7              1195
-                 ospfAS   0        ospf                1                    10
192.168.151.33      255.255.255.255   192.168.151.33        vlan7              1195
-                 ospfAS   0        ospf                1                    10
-------------------------------------------------------------------------------

 

Соседняя циска видит neighbor 192.168.151.61, но сети, подключенные к Rapier48i, не видит.

Posted (edited)

То, что Ты "заказал", то он и делает. :)

Статус

Area border router status ....... No

NSSA border router status ....... No

AS boundary router status ....... Disabled

AS external default route ....... Disabled

с одной заявленой областью

add ospf area=backbone stubarea=off summary=send,

с ограничением обслуживаемых ею адресов

add ospf range=192.168.151.32 area=backbone mask=255.255.255.224,

одним ospf интерфейсом

add ospf interface=vlan7 area=backbone,

без объявленных stub'ов и host'ов, приведет именно к такому результату. :)

Вариантов решения поставленной задачи "не дистрибутит connected network" достаточно много. Поэтому нужно для себя решить точнее, что именно нужно получить. :) Самый простой вариант - посмотреть базовые примеры настройки ospf в документации.

P.S. Cisco, по-умолчанию, работает в режиме ASBR ospf, поэтому с ней все просто, но излишне избыточно. (кстати, - это тоже вариант) :)

P.P.S. Самый "бюджетный" вариант рабочей конфигурации:

set ospf ro=192.168.151.61

add ospf are=0.0.0.0 stubm=32

add ospf ran=192.168.151.032 mask=255.255.255.224 area=0.0.0.0

add ospf ran=192.168.151.232 mask=255.255.255.248 area=0.0.0.0

add ospf int=vlan07 area=0.0.0.0 prio=64

add ospf int=vlan51 area=0.0.0.0 prio=00 passi=on

ena ospf

Edited by ayamb

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 и с Политикой конфиденциальности.