CCNA实验(2) -- Static Route
1.静态路由
R1:ip route 22.1.1.0 255.255.255.0 12.1.1.2
2.静态汇总路由
R1:ip route 22.1.0.0 255.255.0.0 12.1.1.2
3.默认静态路由
R1:ip route 0.0.0.0 0.0.0.0 12.1.1.2
4.选择静态路由
R1:
ip route 33.1.1.0 255.255.255.0 12.1.1.2
ip route 33.1.1.1 255.255.255.255 13.1.1.3
5.浮动静态路由
R1:ip route 33.1.1.0 255.255.255.0 13.1.1.3 10
enable
conf t
no ip do lo
enable pass cisco
line con 0
logg sync
exec-t 0 0
line vty 0 4
pass cisco
logg sync
exit
host
1.静态路由
-------------------------------------------------------------------------
-------------------------------------------------------------------------
R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit
R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit
R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
no shut
exit
-------------------------------------------------------------------
R1:
ip route 22.1.1.0 255.255.255.0 12.1.1.2
ip route 23.1.1.0 255.255.255.0 12.1.1.2
ip route 33.1.1.0 255.255.255.0 12.1.1.2
R2:
ip route 11.1.1.0 255.255.255.0 12.1.1.1
ip route 33.1.1.0 255.255.255.0 23.1.1.3
R3:
ip route 11.1.1.0 255.255.255.0 23.1.1.2
ip route 22.1.1.0 255.255.255.0 23.1.1.2
ip route 12.1.1.0 255.255.255.0 23.1.1.2
2.静态汇总路由
-----------------------------------------------------
R2:
int l1
ip add 22.1.0.1 255.255.255.0
no shut
exit
int l2
ip add 22.1.2.1 255.255.255.0
no shut
exit
int l3
ip add 22.1.3.1 255.255.255.0
no shut
exit
R1:
ip route 22.1.0.0 255.255.0.0 12.1.1.2
R3:
ip route 22.1.0.0 255.255.0.0 23.1.1.2
3.默认静态路由
----------------------------------------------------
R1:
no ip route 22.1.0.0 255.255.0.0 12.1.1.2
ip route 0.0.0.0 0.0.0.0 12.1.1.2
R3:
no ip route 22.1.0.0 255.255.0.0 23.1.1.2
ip route 0.0.0.0 0.0.0.0 23.1.1.2
4.选择静态路由
----------------------------------------------------------------------
-----------------------------------------------------------------------
R1:
int f0/0
ip add 13.1.1.1 255.255.255.0
no shut
exit
int f1/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int f1/0
ip add 13.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
ip add 33.1.1.2 255.255.255.0 secondary
ip add 33.1.1.3 255.255.255.0 secondary
ip add 33.1.1.4 255.255.255.0 secondary
exit
----------------------------------------------------
R1:
ip route 33.1.1.0 255.255.255.0 12.1.1.2
ip route 33.1.1.1 255.255.255.255 13.1.1.3
R2:
ip route 33.1.1.0 255.255.255.0 23.1.1.3
R3:
ip route 12.1.1.0 255.255.255.0 23.1.1.2
R1:
end
show ip route
trace 33.1.1.1
trace 33.1.1.2
5.浮动静态路由
-----------------------------------------------------
R1:
ip route 33.1.1.0 255.255.255.0 13.1.1.3 10
end
show ip route
conf t
int f1/0
shut
exit
end
show ip route
conf t
CCNA实验(2) -- Static Route的更多相关文章
- Packet Tracer 5.0 构建CCNA实验(2)—— 配置VLAN
Packet Tracer 5.0 构建CCNA实验(2)—— 配置VLAN Vlan(Virtual Local Area Network) 即虚拟局域网.VLAN可以把同一个物理网络划分为多个逻辑 ...
- CCNA实验(3) -- RIP
RIP协议分为版本1和版本2,均具备以下特征:1.是距离向量路由协议2.使用跳数(Hop Count)作为度量值3.默认路由更新周期为30秒4.管理距离(AD)为1205.支持触发更新6.最大跳数为1 ...
- CCNA实验(7) -- NAT
1.静态NAT2.动态NAT3.复用内部全局地址的NAT(PAT) enableconf tno ip do loenable pass ciscoline con 0logg syncexec-t ...
- CCNA实验4:HDLC和PPP
一.HDLC封装 router9和11上分别配置s0/0如下 conf t int s0/0 encapsulation hdlc do show int s0/0 ip address x.x.x. ...
- CCNA实验1.port-security
一, 二,MAC地址绑定 3550-1#conf t3550-1(config)#int f0/13550-1(config-if)#switchport mode access /指定端口模式.35 ...
- CCNA实验(1) -- 基本配置
Ctrl+A: 到行首(Ahead)Ctrl+E: 到行尾(End)Esc+B: 回退一个单词(Back)Esc+F: 前进一个单词(Forward) 1.三种配置模式2.时间时区配置3.设置超时时间 ...
- CCNA实验(9) -- Frame Relay
帧中继的一些特点:1.中小企业常用的广域网线路2.通信费用较低3.配置较为复杂 1.将Cisco路由器配置为帧中继交换机2.帧中继基本配置.帧中继映射3.在帧中继的链路上运行RIPv24.帧中继的多点 ...
- 【网络】CCNA实验一:Vlan、Trunk
要求: 1:不同楼层物理隔离,但逻辑相连 2:相同楼层物理相连,但逻辑隔离 3:主机可以动态获取IP地址 4:不同VLAN间可以进行通信 5:主机最终访问www.esafenet.com弹出" ...
- CCNA实验2.VLAN
一. 二.配置主VTP上的信息 sw2上配置为domain server,sw1上配置为domain client,sw2上增加vlan并命名和添加描述 conf t vtp domain corp ...
随机推荐
- javascript 验证身份证
/*身份证号码检索*/ function cardCheck(cartNo) { if (cartNo.val() === "") { return false; } else i ...
- js实现表格
主要方法如下,然后今天学到了js的几个函数知识点. 1.eval()函数: 定义和用法eval() 函数可计算某个字符串,并执行其中的的 JavaScript 代码. 语法eval(string) 其 ...
- Ksoap 使用简介
转:http://www.open-open.com/bbs/view/1320111271749?sort=newest WebService 是一种基于SOAP协议的远程调用标准.通过WebSer ...
- codeforces 15D . Map 优先队列
题目链接 题目意思很简单nm的矩阵里, 选若干个ab的小矩阵, 定义每个矩阵的值为这个矩阵里的所有数的和-最小值*数的个数. 选小矩阵时, 优先选值最小的,然后次小的.. 知道不能选位置. 输出所有矩 ...
- 翻译 GITHUB上HOW TO BE A GOOD PROGRAMMER
转载请注明出处: http://www.cnblogs.com/hellocwh/p/5184072.html 更多内容点击查看 https://ahangchen.gitbooks.io/windy ...
- MFC 全部自绘控件 界面库
http://download.csdn.net/detail/q97082645/8160793 http://download.csdn.net/user/q97082645/uploads/3
- Android 使用Jsoup解析Html
想要做一个看新闻的应用,类似Cnbeta客户端的东西.大致思路如下:根据链接获取新闻列表页的html代码,然后解析,找到所有的新闻标题和新闻链接用listView显示,当点击ListView的Item ...
- WEKA,一个开源java的数据挖掘工具
开始研究WEKA,一个开源java的数据挖掘工具. HS沉寂这么多天,谁知道偏偏在我申请离职的时候给我安排了个任务,哎,无语. 于是,今天看了一天的Weka. 主要是看了HS提供的三个文章(E文,在g ...
- discuz函数dgmdate
function dgmdate($timestamp, $format = 'dt', $timeoffset = '9999', $uformat = '') { global $_G; $for ...
- js 事件之 createEvent、dispatchEvent
//document上绑定自定义事件ondataavailable document.addEventListener('customevent', function(event) { alert(e ...