- 积分
- 113
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2018-2-5
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
![Rank: 2](https://cdn.hh010.com/static/image/common/star_level1.gif) ![Rank: 2](https://cdn.hh010.com/static/image/common/star_level1.gif)
|
发表于 2018-3-19 10:49:02
|
显示全部楼层
测试结果:16/位掩码可以通,但是都用24/位掩码无法通
PC端:
IP Address......................: 192.168.2.1
Subnet Mask.....................: 255.255.0.0
Default Gateway.................: 192.168.1.1
PC>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=0ms TTL=255
Reply from 192.168.1.1: bytes=32 time=1ms TTL=255
Ping statistics for 192.168.1.1:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
路由器:
Router(config)#
Router(config)#int
Router(config)#interface f0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.1 255.255.0.0
结果:
Router#
Router#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 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
Router# |
10#
2018-3-19 10:49:02
回复(0)
收起回复
|