繁体中文
设为首页
加入收藏
当前位置:技术首页 >> 网络 >> 综合技术 >> /31位掩码实验演示

/31位掩码实验演示

2008-04-08 21:53:04  作者:IT动力源  来源:IT动力源收集整理  浏览次数:0  文字大小:【】【】【
关键字:cisco技术
注意:/31位掩码只能用在点对点链路上 topo:  R1====R2=====R3   R1#sh run
hostname R1
interface Serial1/1
ip address 192.168.1.2 255.255.255.254
router rip
version 2
network 192.168.1.0
no auto-summary
==============================================
R2#show running-config
hostname R2
interface Serial1/0
ip address 192.168.1.3 255.255.255.254
serial restart-delay 0
!
interface Serial1/1
ip address 192.168.2.1 255.255.255.0
serial restart-delay 0

router rip
version 2
network 192.168.1.0
network 192.168.2.0
no auto-summary
===============================================
R3#sh running-config
hostname R3
interface Serial1/0
ip address 192.168.2.2 255.255.255.0
serial restart-delay 0
router rip
version 2
network 192.168.2.0
no auto-summary
================================================
实验验证:
R1#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/77/124 ms
================================================
R3#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 120/132/144 ms
================================================
R3#show ip route
Codes: 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
Gateway of last resort is not set
    192.168.1.0/31 is subnetted, 1 subnets
R    192.168.1.2 [120/1] via 192.168.2.1, 00:00:05, Serial1/0
C 192.168.2.0/24 is directly connected, Serial1/0

点击收藏到

责任编辑:hefei

本文引用地址: http://tech.itzero.com/2008/0408/36561.html 请粘贴到你的QQ/MSN上推荐给你的好友

相关文章
解决广播风暴的方法:storm-control
IPSec VPN(对不同的数据流进行不同的加密和认证)
BGP后门链路(Backdoor)实际案例(配图+详细验证过程)
OSPF虚链路(virtual-link)配置实例 + 详细验证过程
ASA配置笔记
EzVPN Client 完整配置
操作BGP路由过滤(基于路由条目)实际案例(配图+详细验证过程)
OSPF邻居认证实际案例(配图)+详细验证过程
Cisco网络管理的35个常见问题及解答
路由器实例 关于CE1/PRI接口配置命令说明
 

最新文章

更多

· IP网络安全管理系统探讨
· 全面了解交换机漏洞 保...
· 层层设防保护VoIP安全 ...
· 简述常见黑客入侵方法以...
· 入侵检测(IDS)存在的问题...
· 实例讲解Oracle监听口令...
· WLAN中VoIP的安全隐患
· 部署网络防火墙策略
· 关于思科局域网交换机维...
· 中毒后六大紧急措施

热点文章

更多

· EzVPN Client 完整配置
· ASA配置笔记
· IPSec VPN(对不同的数据...
· 解决广播风暴的方法:st...
· /31位掩码实验演示
· 如何解决企业内网IP上网
· 充分应用行为分析(NBA)...
· 网络行为分析:对付旧敌...
· 无线网卡在使用中无法获...
· 常用命令帮你诊断网络故障

其它推荐