#1 楼
是的,那很好。R1#sh run | s eigrp
router eigrp 100
network 123.123.123.0 0.0.0.255
no auto-summary
neighbor 123.123.123.3 FastEthernet0/0
neighbor 123.123.123.2 FastEthernet0/0
R1#sh ip eigrp nei
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 123.123.123.3 Fa0/0 10 00:01:04 47 282 0 6
0 123.123.123.2 Fa0/0 10 00:01:21 49 294 0 6
R1#sh ip eigrp nei detail
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 123.123.123.3 Fa0/0 14 00:01:41 47 282 0 6
Static neighbor
Restart time 00:01:13
Version 12.4/1.2, Retrans: 1, Retries: 0
0 123.123.123.2 Fa0/0 10 00:01:57 49 294 0 6
Static neighbor
Restart time 00:01:13
Version 12.4/1.2, Retrans: 0, Retries: 0
R1#debug eigrp packets hello
EIGRP Packets debugging is on
(HELLO)
R1#
EIGRP: Received HELLO on FastEthernet0/0 nbr 123.123.123.3
AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
EIGRP: Sending HELLO on FastEthernet0/0 nbr 123.123.123.3
AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Sending HELLO on FastEthernet0/0 nbr 123.123.123.2
AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
R1#
EIGRP: Received HELLO on FastEthernet0/0 nbr 123.123.123.2
AS 100, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
#2 楼
您可能还需要考虑在指向这些静态邻居的接口上添加“ no ip next-hop-self eigrp X”。这将启用“第三方下一个跃点”,这将允许分支路由器将流量直接发送到彼此,而不是通过集线器。假设R1 <-> R2和R1 <-> R3(loop0-3.3。 3.3)
Before: R2#sh ip eigrp topology 3.3.3.3 255.255.255.255 IP-EIGRP (AS 1): Topology entry for 3.3.3.3/32 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2560051456 Routing Descriptor Blocks: 10.0.0.1 (FastEthernet0/0), from 10.0.0.1, Send flag is 0x0 Composite metric is (2560051456/2560025856), Route is External Vector metric: Minimum bandwidth is 1 Kbit Total delay is 2010 microseconds Reliability is 1/255 Load is 1/255 Minimum MTU is 1 Hop count is 2 External data: Originating router is 3.3.3.3 AS number of route is 0 External protocol is Connected, external metric is 0 Administrator tag is 0 (0x00000000) R2#sh ip route 3.3.3.3 Routing entry for 3.3.3.3/32 Known via "eigrp 1", distance 170, metric 2560051456, type external Redistributing via eigrp 1 Last update from 10.0.0.1 on FastEthernet0/0, 00:04:04 ago Routing Descriptor Blocks: * 10.0.0.1, from 10.0.0.1, 00:04:04 ago, via FastEthernet0/0 Route metric is 2560051456, traffic share count is 1 Total delay is 2010 microseconds, minimum bandwidth is 1 Kbit Reliability 1/255, minimum MTU 1 bytes Loading 1/255, Hops 2
之后:
R2#sh ip route 3.3.3.3 Routing entry for 3.3.3.3/32 Known via "eigrp 1", distance 170, metric 2560051456, type external Redistributing via eigrp 1 Last update from 10.0.0.3 on FastEthernet0/0, 00:00:14 ago Routing Descriptor Blocks: * 10.0.0.3, from 10.0.0.1, 00:00:14 ago, via FastEthernet0/0 Route metric is 2560051456, traffic share count is 1 Total delay is 2010 microseconds, minimum bandwidth is 1 Kbit Reliability 1/255, minimum MTU 1 bytes Loading 1/255, Hops 2 R2#sh ip eigrp topology 3.3.3.3 255.255.255.255 IP-EIGRP (AS 1): Topology entry for 3.3.3.3/32 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2560051456 Routing Descriptor Blocks: 10.0.0.3 (FastEthernet0/0), from 10.0.0.1, Send flag is 0x0 Composite metric is (2560051456/2560025856), Route is External Vector metric: Minimum bandwidth is 1 Kbit Total delay is 2010 microseconds Reliability is 1/255 Load is 1/255 Minimum MTU is 1 Hop count is 2 External data: Originating router is 3.3.3.3 AS number of route is 0 External protocol is Connected, external metric is 0 Administrator tag is 0 (0x00000000)
评论
使用静态邻居而不是多播发现有哪些注意事项?在某些网络中,例如帧中继之类的非广播多路访问网络(NBMA),您将无法发现邻居,因此您可以在路由器eigrp配置模式下使用邻居命令
除了此注释之外,还可能有一些有关安全性和特定环路预防方案的具体原因。
有什么答案对您有帮助吗?如果是这样,您应该接受答案,这样问题就不会永远弹出来寻找答案。或者,您可以发布并接受自己的答案。