实验拓扑
配置r1
router(config)r1(config)r1(config-if)r1(config-if)r1(config-if)r1(config-if)r1(config-if)r1(config)r1(config)
查看接口ip
r1interface ip-address ok? method status protocolethernet0/0 192.168.12.1 yes manual up up ethernet0/1 192.168.1.254 yes manual up up ethernet0/2 unassigned yes unset administratively down down ethernet0/3 unassigned yes unset administratively down down serial1/0 unassigned yes unset administratively down down serial1/1 unassigned yes unset administratively down down serial1/2 unassigned yes unset administratively down down serial1/3 unassigned yes unset administratively down down
查看r1路由表
r1codes: l - local, c - connected, s - static, 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 i - is-is, su - is-is summary, 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, h - nhrp, l - lisp a - application route + - replicated route, % - next hop override, p - overrides from pfrgateway of last resort is not set 192.168.1.0/24 is variably subnetted, 2 subnets, 2 masksc 192.168.1.0/24 is directly connected, ethernet0/1l 192.168.1.254/32 is directly connected, ethernet0/1s 192.168.3.0/24 [1/0] via 192.168.12.2 192.168.12.0/24 is variably subnetted, 2 subnets, 2 masksc 192.168.12.0/24 is directly connected, ethernet0/0l 192.168.12.1/32 is directly connected, ethernet0/0s 192.168.23.0/24 [1/0] via 192.168.12.2
配置r2
router>enablerouterrouter(config)r2(config)r2(config-if)r2(config-if)r2(config-if)r2(config-if)r2(config-if)r2(config)r2(config)
查看接口ip
r2interface ip-address ok? method status protocolethernet0/0 192.168.12.2 yes manual up up ethernet0/1 192.168.23.2 yes manual up up ethernet0/2 unassigned yes unset administratively down down ethernet0/3 unassigned yes unset administratively down down serial1/0 unassigned yes unset administratively down down serial1/1 unassigned yes unset administratively down down serial1/2 unassigned yes unset administratively down down serial1/3 unassigned yes unset administratively down down
查看路由
r2codes: l - local, c - connected, s - static, 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 i - is-is, su - is-is summary, 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, h - nhrp, l - lisp a - application route + - replicated route, % - next hop override, p - overrides from pfrgateway of last resort is not sets 192.168.1.0/24 [1/0] via 192.168.12.1s 192.168.3.0/24 [1/0] via 192.168.23.3 192.168.12.0/24 is variably subnetted, 2 subnets, 2 masksc 192.168.12.0/24 is directly connected, ethernet0/0l 192.168.12.2/32 is directly connected, ethernet0/0 192.168.23.0/24 is variably subnetted, 2 subnets, 2 masksc 192.168.23.0/24 is directly connected, ethernet0/1l 192.168.23.2/32 is directly connected, ethernet0/1
配置r3
router>enable routerrouter(config)r3(config)r3(config)r3(config-if)r3(config-if)r3(config-if)r3(config-if)r3(config-if)r3(config)r3(config)
查看接口ip
r3interface ip-address ok? method status protocolethernet0/0 192.168.23.3 yes manual up up ethernet0/1 192.168.3.254 yes manual up up ethernet0/2 unassigned yes unset administratively down down ethernet0/3 unassigned yes unset administratively down down serial1/0 unassigned yes unset administratively down down serial1/1 unassigned yes unset administratively down down serial1/2 unassigned yes unset administratively down down serial1/3 unassigned yes unset administratively down down
查看路由
r3codes: l - local, c - connected, s - static, 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 i - is-is, su - is-is summary, 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, h - nhrp, l - lisp a - application route + - replicated route, % - next hop override, p - overrides from pfrgateway of last resort is not sets 192.168.1.0/24 [1/0] via 192.168.23.2 192.168.3.0/24 is variably subnetted, 2 subnets, 2 masksc 192.168.3.0/24 is directly connected, ethernet0/1l 192.168.3.254/32 is directly connected, ethernet0/1s 192.168.12.0/24 [1/0] via 192.168.23.2 192.168.23.0/24 is variably subnetted, 2 subnets, 2 masksc 192.168.23.0/24 is directly connected, ethernet0/0l 192.168.23.3/32 is directly connected, ethernet0/0
配置vpc4
vpcs> ip 192.168.1.2/24 192.168.1.254checking for duplicate address...vpcs : 192.168.1.2 255.255.255.0 gateway 192.168.1.254
配置vpc5
vpcs> ip 192.168.3.2/24 192.168.3.254checking for duplicate address...vpcs : 192.168.3.2 255.255.255.0 gateway 192.168.3.254
在vpc4上ping vpc5测试连通性
vpcs> ping 192.168.3.284 bytes from 192.168.3.2 icmp_seq=1 ttl=61 time=0.958 ms84 bytes from 192.168.3.2 icmp_seq=2 ttl=61 time=0.785 ms84 bytes from 192.168.3.2 icmp_seq=3 ttl=61 time=1.050 ms84 bytes from 192.168.3.2 icmp_seq=4 ttl=61 time=0.823 ms84 bytes from 192.168.3.2 icmp_seq=5 ttl=61 time=0.827 ms
电池安全问题让电动汽车遭受着毁灭性打击
中国移动正式公布2019年普通光缆产品集中采购中标候选人结果
泛在电力物联网发展面层维度分析
车企Q3财报:赔到腿抖或数钱到手软
工业智能网关应用:工业大吊扇能耗采集监控解决方案
Cisco配置静态路由
大功率电源系统的电源转换及稳压级需要纤薄的平面封装?
圣诞节即将来临,这些蓝牙耳机已经做好准备了
运算放大器和电压比较器的区别
C-V2X迎规模落地,为车辆智能化时代保驾护
云存储技术是如何影响商业世界的
向从未有人到过的星球发送信号时,会发生什么呢?
linksys无线路由器设置方法
使用扩频技术解决敏感模拟前端和辐射EMI的开关噪声问题
燃料电池汽车技术的主要结构,技术特点和发展情况的详细资料概述
直接电镀的品质检验
波音建议暂停装配普惠发动机的 777 飞机运行
【社区之星】耿汉武:工程师的自我提升,精学胜于博学
外国公司垄断,国产CT的价格居高不下
香港秋季电子产品展、国际电子组件及生产技术展十月举行 全球最大电子产品商贸平台云集尖端科技