网络工程师交换试验手册之三:默认网关实验(扩展训练)
2007-06-25 13:04
351 查看
实验目的:
通过实验体会静态路由的灵活应用,以及如何将路由器定义为UNIX服务器模式,如何为路由器定义默认网关。
实验拓扑:
实验内容:
路由器的基本配置
R1 (config-if)#interface s0
R1 (config-if)#ip address 192.168.2.1 255.255.255.0
R1 (config-if)#clock rate 64000
R1 (config-if)#no shut
$$$$$$$$$$
R2(config)#interface s1
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#interface s0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut
$$$$$$$$$$$
R3(config)#interface s1
R3(config-if)#ip address 192.168.3.2 255.255.255.0
R3(config-if)#no shut
配置R2和R3为UNIX服务器模式
R1(config)#no ip routing(去掉路由器的路由功能)
R1(config)#ip default-gateway 192.168.2.2(为路由器定义默认网关)
R3(config)#no ip routing
R3(config)#ip default-gateway 192.168.3.1
3.查看目前的路由器状态
R1#show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
R1#show ip route
Default gateway is 192.168.2.2
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
4、验证默认网关的配置
从R1上ping R3的S1口
R1#ping 192.168.3.2
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/64 ms
实验总结:
这类型的实验是扩展攻击实验的一种,考察的就是学员的快速反应能力,其实内容很简单,但是由于思路的问题,这种问题也是工程师的杀手锏。
通过实验体会静态路由的灵活应用,以及如何将路由器定义为UNIX服务器模式,如何为路由器定义默认网关。
实验拓扑:
实验内容:
路由器的基本配置
R1 (config-if)#interface s0
R1 (config-if)#ip address 192.168.2.1 255.255.255.0
R1 (config-if)#clock rate 64000
R1 (config-if)#no shut
$$$$$$$$$$
R2(config)#interface s1
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#interface s0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shut
$$$$$$$$$$$
R3(config)#interface s1
R3(config-if)#ip address 192.168.3.2 255.255.255.0
R3(config-if)#no shut
配置R2和R3为UNIX服务器模式
R1(config)#no ip routing(去掉路由器的路由功能)
R1(config)#ip default-gateway 192.168.2.2(为路由器定义默认网关)
R3(config)#no ip routing
R3(config)#ip default-gateway 192.168.3.1
3.查看目前的路由器状态
R1#show ip route
Default gateway is not set
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
R1#show ip route
Default gateway is 192.168.2.2
Host Gateway Last Use Total Uses Interface
ICMP redirect cache is empty
4、验证默认网关的配置
从R1上ping R3的S1口
R1#ping 192.168.3.2
Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/59/64 ms
实验总结:
这类型的实验是扩展攻击实验的一种,考察的就是学员的快速反应能力,其实内容很简单,但是由于思路的问题,这种问题也是工程师的杀手锏。
相关文章推荐
- 网络工程师交换试验手册之三:默认网关实验(扩展训练)
- 网络工程师交换试验手册之十五:EIGRP实验
- 网络工程师交换试验手册之二:静态路由实验
- 网络工程师交换试验手册之八:RIPv1与RIPv2的兼容性实验
- 网络工程师交换试验手册之十七:NAT转换实验
- 网络工程师交换试验手册之四:静态路由的负载均衡网络工程师交换试验手册之四:静态路由的负载均衡
- 网络工程师交换试验手册之二十四:使用syslog记录Cisco设备日志
- 网络工程师交换试验手册之七:RIPv2汇总实验
- 网络工程师交换试验手册之二十二:Cisco常见路由器密码和版本恢复方法
- 网络工程师交换试验手册之十三:单区域OPSF配置
- 网络工程师交换试验手册之二:静态路由实验
- 网络工程师交换试验手册之一:路由器的基本配置
- 网络工程师交换试验手册之十一:访问控制列表实验
- 网络工程师交换试验手册之十九:VLAN实验
- 网络工程师交换试验手册之九:RIP单播和被动接口实验
- 【原创】科研训练指导手册(DE2-115_labs_vhdl)-PART7--实验六
- 网络工程师交换试验手册之十八:SWITCH的基本配置
- 【原创】科研训练指导手册(DE2-115_labs_vhdl)-PART2--实验一
- 网络工程师交换试验手册之二十五:详细讲授利用xmodem来恢复IOS
- 网络工程师交换试验手册之七:RIPv2汇总实验