Ospf
ping OSPF 多播地址不工作時怎麼辦?
我正在向 OSPF 設置添加一個新路由器。配置似乎一切正常,但狀態仍為 INIT/DROTHER。當我從新路由器對 224.0.0.5 執行 ping 操作時,我得到的是:
CB# ping 224.0.0.5
鍵入轉義序列以中止。向 224.0.0.5 發送 1 個 100 字節的 ICMP Echo,超時為 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
路由器啟動後需要重新啟動,一切都開始正常工作。
首先,我會 ping 同一個網路塊上的其他設備(在本例中為 10.10.1.1 和 10.10.1.2),看看是否有任何響應。如果您有基本的 L3 連接,我會開始查看 OSPF 事件調試或 OSPF 數據包調試。
不過,我不會依賴來自 OSPF 多播 IP 的任何 ping 響應。
編輯:啊,您已經在其中一台路由器上明確配置了各種 OSPF 間隔。這些在形成鄰接關係的所有路由器上都非常匹配,因此當發送 Hello 數據包時,它們會立即被丟棄為無效。