静态路由扩展实验
2010-04-13 13:41
218 查看
思路:
1:命名
2:设置端口IP
3:设置静态路由
查看命令!
查看路由端口:
show ip route
查看基本配置:
show running-config
查看route:
Show ip route
------------------------------------------------------
配置文档:
Ra:
enable
config terminal
no ip domain-lookup //禁止DNS服务
hostname Ra ///命名
interface f2/0
ip address 192.168.1.1 255.255.255.0 //设置IP
no shutdown
exit
interface f0/0
ip address 192.168.3.1 255.255.255.0 //设置IP
no shutdown
exit
interface f1/0
ip address 192.168.2.1 255.255.255.0 //设置IP
no shutdown
exit
ip route 192.168.4.0 255.255.255.0 192.168.3.2 //设置路径
ip route 192.168.6.0 255.255.255.0 192.168.3.2
ip route 192.168.6.0 255.255.255.0 192.168.2.2
ip route 192.168.5.0 255.255.255.0 192.168.2.2
end
write
---------------------------------------------------------
Rb:
enable
config terminal
no ip domain-lookup //禁止DNS服务
hostname Rb //命名
interface f0/0
ip address 192.168.3.2 255.255.255.0 //设置IP
no shutdown
exit
interface f1/0
ip address 192.168.4.1 255.255.255.0 //设置IP
no shutdown
exit
ip route 192.168.6.0 255.255.255.0 192.168.4.2 //设置路径
ip route 192.168.1.0 255.255.255.0 192.168.3.1
end
write
--------------------------------------------------------
Rc:
enable
config terminal
no ip domain-lookup
hostname Rc
interface f1/0
ip address 192.168.4.2 255.255.255.0 //设置IP
no shutdown
exit
interface f2/0
ip address 192.168.5.1 255.255.255.0 //设置IP
no shutdown
exit
interface f0/0
ip address 192.168.2.2 255.255.255.0 //设置IP
no shutdown
exit
interface f3/0
ip address 192.168.6.1 255.255.255.0 //设置IP
no shutdown
exit
ip route 192.168.3.0 255.255.255.0 192.168.4.1 //设置路径
ip route 192.168.1.0 255.255.255.0 192.168.4.1
ip route 192.168.1.0 255.255.255.0 192.168.2.1
end
write
-------------------------------------------------------
测试截图:
相关文章推荐
- CCNA实验二:静态路由
- 实验15:静态路由的设置及相关命令
- 59、IPv6配置实验之静态路由
- 实验:配置静态默认路由
- 网络运维实验之静态路由
- NA-NP-IE系列实验8:静态路由
- 特惠套餐:CCNA零基础实验+CCNP路由6大核心【扩展wireshark抓包】
- 单臂路由、扩展ACL与NAT的网络地址转换的配置实验
- 实验四:静态路由、缺省路由的配置
- 【解忧杂货店】静态路由基础配置--华为数通R&S实验漫载(4)
- 静态路由原理和实验
- 实验四:静态路由
- 计网实验1--配置路由
- rip动态路由以及三层交换实现DHCP服务实验【笔记|实验】
- 实验指南:EIGRP之-----缺省路由,路由过滤 推荐
- CCNP路由实验之十四 路由器的访问控制ACL
- 【nachos】山东大学操作系统课设实验nachos系统(3)扩展文件系统
- 路由的简单dhcp实验
- Swift 关于Protocol扩展的静态特性
- CCNP之BSCI实验4:配置EIGRP默认路由