CCNP实验,EIGRP实验(一)

2025-12-02 01:34:39

1、通过gns3搭建拓扑图,如下

CCNP实验,EIGRP实验(一)

2、根据拓扑图配置各台路由的IP地址,并且使用ping命令确认个路由器的直连接口互通

R1#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#int lo 0

R1(config-if)#ip

*Aug 15 01:27:06.272: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R1(config-if)#ip add 10.1.1.1 255.255.255.0

R1(config-if)#no sh

R1(config-if)#int lo 1

R1(config-if)#ip add

*Aug 15 01:27:39.663: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up

R1(config-if)#ip add 10.1.2.1 255.255.255.0

R1(config-if)#no sh

R1(config-if)#int lo 2

R1(config-if)#ip a

*Aug 15 01:28:01.977: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to up

R1(config-if)#ip add 10.1.3.1 255.255.255.0

R1(config-if)#no sh

R1(config-if)#int lo 3

R1(config-if)#ip add 

*Aug 15 01:28:22.046: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback3, changed state to up

R1(config-if)#ip add 10.1.4.1 255.255.255.0  

R1(config-if)#no sh

R1(config)#int s2/1

R1(config-if)#ip add 172.16.1.1 255.255.255.252

R1(config-if)#no sh

配置R1后通过show命令查看端口状态,

CCNP实验,EIGRP实验(一)

3、同样将R2 ,R3 的端口配置好IP地址

R2#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#int s2/0

R2(config-if)#ip add 172.16.1.2 255.255.255.252

R2(config-if)#no sh

R2(config-if)#

*Aug 15 01:34:30.307: %LINK-3-UPDOWN: Interface Serial2/0, changed state to up

*Aug 15 01:34:31.311: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

R2(config-if)#int s2/1

R2(config-if)#ip add 172.16.1.5 255.255.255.252

R2(config-if)#no sh

R2(config-if)#int lo 

*Aug 15 01:35:02.865: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up

*Aug 15 01:35:03.867: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up

R2(config-if)#int lo 0

R2(config-if)#ipadd

*Aug 15 01:35:05.343: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R2(config-if)#ip add 131.131.1.1 255.255.0.0

R2(config-if)#no sh

R2(config-if)#

*Aug 15 01:35:26.237: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to down

R3的端口请自行配置!

配置完成后通过show ip int bri ,查看端口信息

CCNP实验,EIGRP实验(一)

CCNP实验,EIGRP实验(一)

4、通过ping命令来确保直连端口的的连通性

CCNP实验,EIGRP实验(一)

1、在3台路由器上配置EIGRP协议,自制系统号为50,

R1配置如下

CCNP实验,EIGRP实验(一)

2、R2配置如下,从图上可以看到,当配置了network 172.16.0.0 ,R1和R2的邻居起来了!

CCNP实验,EIGRP实验(一)

3、R3请自行配置,配置完成后通过命令show ip route查看各个路由器的路由表。

R1路由表如下,可以看到R2和R3的路由条目

CCNP实验,EIGRP实验(一)

4、R2路由表如下

CCNP实验,EIGRP实验(一)

5、R3路由表如下

CCNP实验,EIGRP实验(一)

6、最后通过ping命令来查看连通性

R1#ping 192.168.0.1

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 19/19/20 ms

R1#ping 172.16.1.6

Type escape sequence to abort.

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

!!!!!

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

R1#

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢