华三思科模拟器rip如何实现RIP攻击

思科模拟器的静态路由、动态路由和RIP配置的方法
查看: 2400|
摘要: 这次介绍的是使用思科模拟器来完成静态路由、动态路由和RIP配置的具体方法。其中,动态路由协议和RIP的命令就两行比较简单。组网方式是三台cisco路由器连成线(分别为Router1、Router2和Router3),R1和R3分别有联了 ...
这次介绍的是使用思科模拟器来完成静态路由、动态路由和RIP配置的具体方法。其中,动态路由协议和RIP的命令就两行比较简单。组网方式是三台cisco路由器连成线(分别为Router1、Router2和Router3),R1和R3分别有联了PC1和PC2客户端并要实现相互的通信,具体的ip地址和网段设置参加下图所示。
本次实验拓扑图如下:
要想实现pc1和pc2通讯,就要对R1、R2和R3进行如下配置:
1. 静态配置命令格式如下:
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.& End with CNTL/Z.
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2
ip route +目的网段+目的网段的子网掩码+下一跳IP
查看配置情况 特权模式下 Router#show ip route
其他的路由同理配置。
2. RIP 动态路由配置命令 network +相邻网段
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.& End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router#write
Building configuration...
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
&&&&&& D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
&&&&&& N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
&&&&&& E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
&&&&&& i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
&&&&&& * - candidate default, U - per-user static route, o - ODR
&&&&&& P - periodic downloaded static route
Gateway of last resort is not set
C&&& 192.168.1.0/24 is directly connected, FastEthernet0/0
C&&& 192.168.2.0/24 is directly connected, FastEthernet0/1
S&&& 192.168.3.0/24 [1/0] via 192.168.2.2
R&&& 192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:19, FastEthernet0/1
3.查看pc 互ping的情况
注意:在做的时候,动态配置的时候,只有全部路由都配置好以后,在查看的时候才能显示出来。
----------------------------------------
/dlink/list_218_2.html
/dlink/list_218_3.html
/dlink/list_218_4.html
/tplink/list_219_2.html
/tplink/list_219_3.html
/tplink/list_219_4.html
/tplink/list_219_5.html
/linksys/list_231_2.html
/linksys/list_231_3.html
上一篇:下一篇:
Router Operating System子浩 的BLOG
用户名:子浩
文章数:17
评论数:15
访问量:39096
注册日期:
阅读量:5863
阅读量:12276
阅读量:330662
阅读量:1037560
51CTO推荐博文
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& R1&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& |& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& RIP&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& |&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& R2&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& |&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& OSPF&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& |&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& R3R1#show running-config!hostname R1!interface Loopback0&ip address 10.0.0.1 255.0.0.0!interface Serial1/1&ip address 20.0.0.1 255.0.0.0&serial restart-delay 0!router rip&network 10.0.0.0&network 20.0.0.0&default-information originate!ip route 0.0.0.0 0.0.0.0 20.0.0.2
R2#show running-config!hostname R2!interface Serial1/0&ip address 20.0.0.2 255.0.0.0&serial restart-delay 0!interface Serial1/1&ip address 30.0.0.1 255.0.0.0&serial restart-delay 0!router ospf 1&log-adjacency-changes&network 30.0.0.0 0.0.0.255 area 0!router rip&network 20.0.0.0
R3#show running-config!hostname R3!interface Loopback0&ip address 40.0.0.1 255.0.0.0!interface Serial1/0&ip address 30.0.0.2 255.0.0.0&serial restart-delay 0!router ospf 1&log-adjacency-changes&network 30.0.0.0 0.0.0.255 area 0&network 40.0.0.0 0.0.0.255 area 0&default-information originate!ip route 0.0.0.0 0.0.0.0 30.0.0.1
R1#show ip rouC&&& 20.0.0.0/8 is directly connected, Serial1/1C&&& 10.0.0.0/8 is directly connected, Loopback0S*&& 0.0.0.0/0 [1/0] via 20.0.0.2
R2#show ip rouC&&& 20.0.0.0/8 is directly connected, Serial1/0&&&& 40.0.0.0/32 is subnetted, 1 subnetsO&&&&&& 40.0.0.1 [110/65] via 30.0.0.2, 00:00:16, Serial1/1R&&& 10.0.0.0/8 [120/1] via 20.0.0.1, 00:00:16, Serial1/0C&&& 30.0.0.0/8 is directly connected, Serial1/1O*E2 0.0.0.0/0 [110/1] via 30.0.0.2, 00:00:16, Serial1/1
R3#show ip rouC&&& 40.0.0.0/8 is directly connected, Loopback0C&&& 30.0.0.0/8 is directly connected, Serial1/0S*&& 0.0.0.0/0 [1/0] via 30.0.0.1本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)
12:52:03 15:48:20 09:13:34 11:43:20 13:47:48 18:30:59dairight 的BLOG
用户名:dairight
文章数:90
评论数:42
访问量:39014
注册日期:
阅读量:5863
阅读量:12276
阅读量:330662
阅读量:1037560
51CTO推荐博文
思科模拟器 静态路由,动态路由 RIP配置
动态路由协议 RIP 命令就两行比较简单
实验拓扑图如下:
要想实现pc1 和pc2 通讯就要对R1 ,R2,R3 进行配置
1. 静态配置命令格式如下:
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.& End with CNTL/Z.
Router(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2
ip route +目的网段+目的网段的子网掩码+下一跳IP
查看配置情况 特权模式下 Router#show ip route
其他的路由同理配置
2. RIP 动态路由配置命令 network +相邻网段
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.& End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 192.168.1.0
Router(config-router)#network 192.168.2.0
Router#write
Building configuration...
Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
&&&&&& D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
&&&&&& N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
&&&&&& E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
&&&&&& i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
&&&&&& * - candidate default, U - per-user static route, o - ODR
&&&&&& P - periodic downloaded static route
Gateway of last resort is not set
C&&& 192.168.1.0/24 is directly connected, FastEthernet0/0
C&&& 192.168.2.0/24 is directly connected, FastEthernet0/1
S&&& 192.168.3.0/24 [1/0] via 192.168.2.2
R&&& 192.168.4.0/24 [120/2] via 192.168.2.2, 00:00:19, FastEthernet0/1
3.查看pc 互ping的情况
注意:在做的时候,动态配置的时候,只有全部路由都配置好以后,在查看的时候才能显示出来。
&本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)

参考资料

 

随机推荐