LINUX.ORG.RU
ФорумAdmin

OSPF not enabled on this interface


0

0

В общем, есть проблема с работой ospfd демона:
вот конфиги демонов:
-------------------------------------------------------------------------------- ------------------
root at pegas# cat /usr/local/etc/quagga/zebra.conf
!
! Zebra configuration saved from vty
! 2006/04/06 22:44:59
!
hostname pegas
password ***
enable password ***
log file /var/log/zebra/zebra.log
!
interface fxp0
no shutdown
ip address 192.168.5.251/24
!
interface fxp1
ip address 192.168.10.254/24
!
interface lo0
!
ip route 0.0.0.0/0 192.168.5.254
!
ip forwarding
!
line vty
!
-------------------------------------------------------------------------------- ------------------
root at pegas# cat /usr/local/etc/quagga/ospfd.conf
!
! Zebra configuration saved from vty
! 2006/04/06 22:43:27
!
hostname pegas
password ***
enable password ***
log file /var/log/zebra/ospfd.log
!
interface fxp0
ip ospf authentication message-digest
ip ospf message-digest-key 5 md5 ***
ip ospf hello-interval 3
ip ospf dead-interval 10
ip ospf cost 10
!
interface fxp1
!
router ospf
ospf router-id 192.168.5.251
redistribute kernel
redistribute connected
redistribute static
network 192.168.5.0/24 area 0.0.0.1
network 192.168.10.0/24 area 0.0.0.1
area 0.0.0.1 authentication message-digest
area 0.0.0.1 range 192.168.5.0/24
area 0.0.0.1 range 192.168.10.0/24
!
line vty
!
-------------------------------------------------------------------------------- -------------------------
Далее, я запускаю демоны:
root at pegas# zebra -d -l 255 -f /usr/local/etc/quagga/zebra.conf -i
/var/run/quagga/zebra.pid
root at pegas# ospfd -d -f /usr/local/etc/quagga/ospfd.conf -i
/var/run/quagga/ospfd.pid

И поддключаюсь к ospfd демону:
-------------------------------------------------------------------------------- --------------------------
root at pegas# telnet localhost ospfd
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

Hello, this is Quagga (version 0.99.3).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
pegas> enable
Password:
pegas# show ip ospf
OSPF Routing Process, Router ID: 192.168.5.251
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is disabled
Initial SPF scheduling delay 200 millisec(s)
Minimum hold time between consecutive SPFs 1000 millisec(s)
Maximum hold time between consecutive SPFs 10000 millisec(s)
Hold time multiplier is currently 1
SPF algorithm last executed 25m33s ago
SPF timer is inactive
Refresh timer 10 secs
This router is an ASBR (injecting external routing information)
Number of external LSA 0. Checksum Sum 0x00000000
Number of areas attached to this router: 1

Area ID: 0.0.0.1
Shortcutting mode: Default, S-bit consensus: ok
Number of interfaces in this area: Total: 0, Active: 0
Number of fully adjacent neighbors in this area: 0
Area has message digest authentication
Number of full virtual adjacencies going through this area: 0
SPF algorithm executed 1 times
Number of LSA 1
Number of router LSA 1. Checksum Sum 0x0000adde
Number of network LSA 0. Checksum Sum 0x00000000
Number of summary LSA 0. Checksum Sum 0x00000000
Number of ASBR summary LSA 0. Checksum Sum 0x00000000
Number of NSSA LSA 0. Checksum Sum 0x00000000

pegas# show ip ospf interface fxp0
fxp0 is down
ifindex 0, MTU 0 bytes, BW 0 Kbit <>
OSPF not enabled on this interface
-------------------------------------------------------------------------------- ---------
And I have reasonable question: Why OSPF not enabled on fxp0 interface ?
Thanks for helping me.


Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.