天天看点

EIGRP配置、分析、包——力求详解(1)

相关链接:

友情提示:友情提示:如果图片太小看不清楚,可以点击图片查看原图,或者下载本次实验资料。

拓扑图

<a href="http://blog.51cto.com/attachment/201211/211019656.jpg" target="_blank"></a>

配置代码:

R1:

en

conf t

int f1/0

ip add 172.16.1.1 255.255.255.0

no shut

int s0/0

ip add 172.16.3.1 255.255.255.252

int s0/1

ip add 192.168.10.5 255.255.255.252

router eigrp 1

net 172.16.0.0

net 192.168.10.4 0.0.0.3

R2:

ip add 172.16.2.1 255.255.255.0

ip add 172.16.3.2 255.255.255.252

ip add 192.168.10.9 255.255.255.252

int loop1

ip add 10.1.1.1 255.255.255.252

net 192.168.10.8 0.0.0.3

net 10.1.1.0

R3:

ip add 192.168.1.1 255.255.255.0

ip add 192.168.10.10 255.255.255.252

ip add 192.168.10.6 255.255.255.252

net 192.168.1.0

边界路由会进行自动汇总。

R1路由表

Gateway of last resort is not set

     192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks

D       192.168.10.0/24 is a summary, 00:06:32, Null0

C       192.168.10.4/30 is directly connected, Serial0/1

D       192.168.10.8/30 [90/2681856] via 192.168.10.6, 00:06:32, Serial0/1

     172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks

D       172.16.0.0/16 is a summary, 00:06:32, Null0

C       172.16.1.0/24 is directly connected, FastEthernet1/0

D       172.16.2.0/24 [90/2172416] via 172.16.3.2, 00:06:35, Serial0/0

C       172.16.3.0/30 is directly connected, Serial0/0

D    10.0.0.0/8 [90/2297856] via 172.16.3.2, 00:06:34, Serial0/0

D    192.168.1.0/24 [90/2172416] via 192.168.10.6, 00:06:34, Serial0/1

R2路由表

D       192.168.10.0/24 is a summary, 00:02:18, Null0

D       192.168.10.4/30 [90/2681856] via 192.168.10.10, 00:02:38, Serial0/1

C       192.168.10.8/30 is directly connected, Serial0/1

D       172.16.0.0/16 is a summary, 00:02:38, Null0

D       172.16.1.0/24 [90/2172416] via 172.16.3.1, 00:02:21, Serial0/0

C       172.16.2.0/24 is directly connected, FastEthernet1/0

     10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C       10.1.1.0/30 is directly connected, Loopback1

D       10.0.0.0/8 is a summary, 00:02:39, Null0

D    192.168.1.0/24 [90/2172416] via 192.168.10.10, 00:02:20, Serial0/1

R3路由表

D       192.168.10.0/24 is a summary, 00:06:06, Null0

C       192.168.10.8/30 is directly connected, Serial0/0

D    172.16.0.0/16 [90/2172416] via 192.168.10.9, 00:05:35, Serial0/0

                   [90/2172416] via 192.168.10.5, 00:05:35, Serial0/1

D    10.0.0.0/8 [90/2297856] via 192.168.10.9, 00:05:35, Serial0/0

C    192.168.1.0/24 is directly connected, FastEthernet1/0

连通性测试

R3#ping 10.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/34/48 ms

【搞定】

【路由跟踪:】

R3#tra  

R3#traceroute 172.16.3.1

Tracing the route to 172.16.3.1

  1 192.168.10.9 48 msec

    192.168.10.5 24 msec

    192.168.10.9 12 msec

R3#traceroute 172.16.3.2

Tracing the route to 172.16.3.2

  1 192.168.10.5 44 msec

    192.168.10.9 44 msec

    192.168.10.5 0 msec

可以看出,进行了负载均衡!

 Hello包的探索

 Hello包用于发现邻居和与发现的邻居建立邻居关系。使用组播方式,使用不可靠传输。unreliable delivery. 

图1:

<a href="http://blog.51cto.com/attachment/201211/211357335.jpg" target="_blank"></a>

图2 :

<a href="http://blog.51cto.com/attachment/201211/211357618.jpg" target="_blank"></a>

图3: 

<a href="http://blog.51cto.com/attachment/201211/211357626.jpg" target="_blank"></a>

Update 包探索

必要时发送更新,可组播,可单播,使用reliable delivery。

更新、查询、应答都使用RTP,ACK始终是不可靠方式。

图4:   

本文转自 天涯飞客 51CTO博客,原文链接:http://blog.51cto.com/425093014/1060124,如需转载请自行联系原作者

继续阅读