- 积分
- 67
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2017-3-27
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
|
楼主 |
发表于 2017-5-25 12:01:13
|
显示全部楼层
SW:
interface Vlan1
ip address 192.168.1.254 255.255.255.0
!
interface Vlan2
ip address 192.168.2.254 255.255.255.0
interface Ethernet0/0
switchport mode access
!
interface Ethernet0/1
switchport access vlan 2
switchport mode access
R1:
interface Ethernet0/0
ip address 192.168.1.1 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.1.254
R2:
interface Ethernet0/0
ip address 192.168.2.1 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.2.254
结果: R1 ping不到R2
r1>ping 192.168.2.254
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.254, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/5 ms
r1>ping 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
设备型号模拟器的所以我不太晓得怎么知道 show version
Cisco IOS Software, Linux Software (I86BI_LINUXL2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20151103)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to FLO_DSGS7_POSTCOLLAPSE_TEAM_TRACK_DSGS_PI5
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 04-Nov-15 02:31 by mmen
ROM: Bootstrap program is Linux
Switch uptime is 1 hour, 6 minutes
System returned to ROM by reload at 0
System image file is "unix:/tmp/iou/lab_93/dev_1/i86bi-linux-l3-adventerprisek9-15.3.1.3T.b"
这是下载的文件:i86bi-linux-l3-adventerprisek9-15.3.1.3T.bin |
5#
2017-5-25 12:01:13
回复(0)
收起回复
|