ping OSPF 多播地址不通怎么办?

ping OSPF 多播地址不通怎么办?

我正在向 OSPF 设置中添加一个新路由器。配置似乎一切正常,但状态仍为 INIT/DROTHER。当我从新路由器 ping 224.0.0.5 时,我得到的是:

CB# ping 224.0.0.5

键入中止的转义序列。向 224.0.0.5 发送 1 个 100 字节 ICMP 回显,超时为 2 秒:。CB#

在另一个路由器上对同一地址进行 ping 操作,工作正常。

请指教。

路由器 CB - 3825 高级安全 12.4(7c)

ROUTER IG - 相同的路由器/IOS

ROUTER CB

version 12.4
!
hostname CB
!
logging buffered 51200 warnings
!
no aaa new-model
!
resource policy
!
ip cef
!
no ip dhcp use vrf connected
!
ip multicast-routing
!
interface Loopback1
 ip address 10.200.204.1 255.255.255.224
!
interface GigabitEthernet0/0
 description LAN Interface
 ip address 192.168.1.1 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip virtual-reassembly
 duplex auto
 speed auto
 media-type rj45
 negotiation auto
 no mop enabled
!
interface GigabitEthernet0/0/0
 ip address 10.10.1.2 255.255.255.252
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip virtual-reassembly
 negotiation auto
!
router ospf 1
 log-adjacency-changes
 network 10.10.1.0 0.0.0.3 area 0
 network 192.168.1.0 0.0.0.255 area 0
!
ip route 0.0.0.0 0.0.0.0 10.10.1.1 permanent

ROUTER IG

version 12.4
!
service nagle
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
!
hostname IG
!
no aaa new-model
!
resource policy
!
no ip source-route
ip cef
ip tcp synwait-time 10
!
interface Loopback1
 ip address 10.200.200.1 255.255.255.0
!
interface GigabitEthernet0/0
 description LAN Interface
 bandwidth 1048576
 ip address 192.168.10.1 255.255.255.0
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip virtual-reassembly
 ip route-cache flow
 duplex auto
 speed auto
 media-type rj45
 negotiation auto
 no mop enabled
!
interface GigabitEthernet0/1
 description to CCTV1
 ip address 172.10.1.1 255.255.255.252
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip pim dense-mode
 ip virtual-reassembly
 ip route-cache flow
 ip ospf cost 10
 ip ospf hello-interval 1
 ip ospf dead-interval 2
 ip ospf retransmit-interval 3
 ip ospf transmit-delay 3
 duplex auto
 speed auto
 media-type rj45
 negotiation auto
 no mop enabled
!
interface GigabitEthernet0/1/0
 description Service Provider Fiber Link
 no ip address
 negotiation auto
!
interface GigabitEthernet0/1/0.10
 description to CCTV2
 encapsulation dot1Q 10
 ip address 172.10.2.1 255.255.255.252
 ip nbar protocol-discovery
 ip flow ingress
 ip flow egress
 ip ospf hello-interval 1
 ip ospf dead-interval 2
 ip ospf retransmit-interval 3
 ip ospf transmit-delay 3
 no snmp trap link-status
 no cdp enable
!
interface GigabitEthernet0/1/0.32
 description to CB
 encapsulation dot1Q 32
 ip address 10.10.1.1 255.255.255.252
 no snmp trap link-status
 no cdp enable
!
router ospf 1
 log-adjacency-changes
 network 10.10.1.0 0.0.0.3 area 0
 network 172.10.1.0 0.0.0.3 area 0
 network 172.10.2.0 0.0.0.3 area 0
 network 192.168.10.0 0.0.0.255 area 0
! 
ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XXX

答案1

首先,我会 ping 同一网段上的其他设备(本例中为 10.10.1.1 和 10.10.1.2),看看是否有任何响应。如果您有基本的 L3 连接,我会开始查看 OSPF 事件调试或 OSPF 数据包调试。

不过,我不会依赖来自 OSPF 多播 IP 的任何 ping 响应。

编辑: 啊,您已在其中一个路由器上明确配置了各种 OSPF 间隔。这些间隔必须与形成邻接关系的所有路由器匹配,因此当发送 Hello 数据包时,它们会立即被视为无效而丢弃。

答案2

路由器启动后需要重新通电才能正常工作。

相关内容