哪位高手能不能帮一下我设置一下静态路由
D不对, 静态路由说明静态路由是指由网络管理员手工配置的路由信息。当网络的拓扑结构或链路的状态发生变化时,网络管理员需要手工去修改路由表中相关的静态路由信息。静态路由信息在缺省情况下是私有的,不会传递给其他的路由器,拨号链路只在需要时才拨通,因此不能为动态路由信息表提供路由信息的变更情况。在这种情况下,网络也适合使用静态路由。使用静态路由的另一个好处是网络安全保密性高。动态路由因为需要路由器之间频繁地交换各自的路由表,而对路由表的分析可以揭示网络的拓扑结构和网络地址等信息。因此,网络出于安全方面的考虑也可以采用静态路由。
静态路由做备份,下一条地址两个端口
比如;AR2
ip
route-static
0.0.0.0
0
1.0.0.5
ip
route-static
0.0.0.0
0
1.0.0.14
从CCNA实验手册里截一段给你……
步骤一、基本配置
Router>
Router>enable
Router#config terminal
Router(config)#hostname R1
R1(config)#no ip domain-lookup
R1(config)#line console 0
R1(config-line)# logging synchronous
R1(config-line)#exec-timeout 0 0
R1(config-line)#exit
步骤二:接口配置
R1的配置:
R1(config)#interface s0
R1(config-if)#ip address 30.1.1.1 255.255.255.0
R1(config-if)#clock rate 64000 时钟速率端
R1(config-if)#no shutdown
R1(config-if)#interface loopback 0
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#
R2的配置:
Router(config)#hostname R2
R2(config)#interface s1
R2(config-if)#ip address 30.1.1.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#interface loopback 0
R2(config-if)#ip address 20.1.1.1 255.255.255.0
R2(config-if)#exit
R2(config)#
步骤三、指定静态路由
R1(config)#
R1(config)#ip route 20.1.1.0 255.255.255.0 serial 0 指定静态路由
R2(config)#
R2(config)#ip route 10.1.1.0 255.255.255.0 30.1.1.1 指定静态路由
步骤四、作ping 测试
R1#ping
Protocol [ip]:
Target IP address: 20.1.1.1 目的地址
Extended commands [n]: y 是否用扩展命令
Source address or interface: 10.1.1.1 源地址
!!!!! 显示已通
步骤五、显示静态路由条目
R1#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
20.0.0.0/24 is subnetted, 1 subnets
S 20.1.1.0 is directly connected, Serial0 静态路由条目
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Loopback0
30.0.0.0/24 is subnetted, 1 subnets
C 30.1.1.0 is directly connected, Serial0
步骤六、显示当前配置
R1的配置结果:
R1#show running-config
!
hostname R1
!
no ip domain-lookup
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface Serial0
ip address 30.1.1.1 255.255.255.0
clockrate 64000
!
ip route 20.1.1.0 255.255.255.0 Serial0
!
line con 0
exec-timeout 0 0
logging synchronous
transport input none
end
R2的配置结果:
R2#show running-config
!
hostname R2
!
no ip domain-lookup
!
interface Loopback0
ip address 20.1.1.1 255.255.255.0
!
interface Serial1
ip address 30.1.1.2 255.255.255.0
!
ip route 10.1.1.0 255.255.255.0 30.1.1.1
!
line con 0
exec-timeout 0 0
logging synchronous
!
end
这是俩路由的,三个路由类似,有问题加我QQ吧……
235918624
第一步:
R1的基本配置
Router>enable
Router#config t
Router(config)#hostname R1 连接到R2的se0/0/0
R1(config)#interface fa0/0 连接到PC0
R1(config-if)#ip address 172.16.10.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#interfac se0/0/0
R1(config-if)#ip address 172.16.40.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#clock rate 2000000
fa0/0连接PC0 PC0与路由器中间可以加一个交换机
PC0的配置:
IP Address......................: 172.16.10.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 172.16.10.1
R1的路由配置:
R1(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.2
R1(config)#ip route 172.16.30.0 255.255.255.0 172.16.40.2
R1(config)#ip route 172.16.50.0 255.255.255.0 172.16.40.2
第二步:
R2的基本配置:
Router>enable
Router#config t
Router(config)#hostname R2
R2(config)#interface se0/0/0 连接到R1的se0/0/0
R2(config-if)#ip address 172.16.40.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#interface fa0/0 连接到PC1
R2(config-if)#ip address 172.16.20.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#interface se0/0/1 连接到R3的se0/0/0
R2(config-if)#ip address 172.16.50.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#clock rate 2000000
PC1的配置:
IP Address......................: 172.16.20.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 172.16.20.1
R2的路由配置:
R2(config)#ip route 172.16.10.0 255.255.255.0 172.16.40.1
R2(config)#ip route 172.16.30.0 255.255.255.0 172.16.50.2
第三步:R3的基本配置:
Router>enable
Router#config t
Router(config)#hostname R3
R3(config)#interface se0/0/0 连接到R2的se0/0/1
R3(config-if)#ip address 172.16.50.2 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#interface fa0/0 连接PC2
R3(config-if)#ip address 172.16.30.1 255.255.255.0
R3(config-if)#no shutdown
PC2配置:
IP Address......................: 172.16.30.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 172.16.30.1
R3的路由配置:
R3(config)#ip route 172.16.10.0 255.255.255.0 172.16.50.1
R3(config)#ip route 172.16.40.0 255.255.255.0 172.16.50.1
R3(config)#ip route 172.16.20.0 255.255.255.0 172.16.50.1
第四步:测试
现在从PC0 ping PC1 and PC2
结果:
PC>ping 172.16.20.2
Pinging 172.16.20.2 with 32 bytes of data:
Reply from 172.16.20.2: bytes=32 time=219ms TTL=126
Reply from 172.16.20.2: bytes=32 time=125ms TTL=126
Reply from 172.16.20.2: bytes=32 time=156ms TTL=126
Reply from 172.16.20.2: bytes=32 time=157ms TTL=126
Ping statistics for 172.16.20.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 125ms, Maximum = 219ms, Average = 164ms
PC>ping 172.16.30.2
Pinging 172.16.30.2 with 32 bytes of data:
Reply from 172.16.30.2: bytes=32 time=156ms TTL=125
Reply from 172.16.30.2: bytes=32 time=187ms TTL=125
Reply from 172.16.30.2: bytes=32 time=187ms TTL=125
Reply from 172.16.30.2: bytes=32 time=174ms TTL=125
Ping statistics for 172.16.30.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 156ms, Maximum = 187ms, Average = 176ms
如果还有啥子问题加我:296773107
哪位是高手?帮帮我?
答:第一步:在“服务”属性对话框中,一定要确保启动了“Internet Connection Firewall �ICF / Internet Connection Sharing �ICS ”服务。千万不能停止或禁用该服务。 第二步:右键点击桌面上的“网上邻居”图标,在菜单中选择“属性”,然后在“网络连接”对话框中,右键点击“启...
...保安说有几个是不能用手调的,有哪位高手帮一下忙 谢谢
答:你好,如果摄像枪装的是云台,就可以在主机上调,具体怎么调的话,请发主机系统界面看看是哪个型号的主机才能为你解答,如果摄像枪装的是普通支架 ,是不能调方向的,只能人手在支架上调节。
...打印时却连续打印4份,哪位高手帮忙指点一下,非常感谢!
答:应该在打印机的打印属性里改成1份,经常遇到这种情况:第一次打设置打印1份的时候,打印的是1份,换一份打,又变成4份.这是因为,在打印机的打印属性里设的是4份,所以默认的也就是4份了.
哪位电脑高手?帮我解决一下这个问题?
答:3)硬盘故障,可能需要更换。4)如果你的电脑每次都能检测到硬盘而不能进入系统的话,把硬盘重新完全格式化,再重新装系统。5)另外设置硬盘启动试试(是不是设置错误)。6)还有一种情况,内存重新插拔一下、清一下灰也可以解决问题(有时是因为它引起的)。7)自己解决不了,建议检修一下去。8)上面...
有哪位高手能帮我弄一下有关足球比赛规则的东西,最好有配图说明!_百度...
答:帮助的人:0 我也去答题访问个人页 关注 展开全部 足球比赛规则 第一章 比赛场地 1.场地面积:比赛场地应为长方形,其长度不得多于120米或少于90米,宽度不得多于9O米或少于45米(国际比赛的场地长度不得多于110米或少于100米,宽度不得多于75米或少于64米)。在任何情况下,长度必须超过宽度。 2.画线:比...
哪位高手请帮帮我!急!!
答:我也去答题访问个人页 关注 展开全部 你可以看看下面的文章。对你可能有帮助IE不能上网浏览的常见原因和解决方法:一、网络设置的问题这种原因比较多出现在需要手动指定IP、网关、DNS服务器联网方式下,及使用代理服务器上网的。仔细检查计算机的网络设置。二、DNS服务器的问题当IE无法浏览网页时,可先尝试用IP地址...
我的电脑开机时很慢 大约十多分钟 哪位高手能帮我解决一下 谢谢
答:你的电脑如果连接在局域网内,安装好网卡驱动程序后,默认情况下系统会自动通过DHCP来获得IP地址,但大多数公司的局域网并没有DHCP服务器,因此如果用户设置成“自动获得IP地址”,系统在启动时就会不断在网络中搜索DHCP 服务器,直到获得IP 地址或超时,自然就影响了启动时间,因此局域网用户最好为自己的电脑指定固定IP地址...
哪位高手达人能帮我编写一段 宽松式管理对大学生的利弊 我们是反方...
答:3大学生刚成年,对外部世界产生好奇,希望尝试,但是有些东西是不能尝试的,比如夜店、迪吧之类的地方里面都是年轻人,当然也有大学生,因为从众、模仿等等心理,容易误入歧途,造成无法挽回的局面,所以必须严加管理。4虽然已经是成年人,也许我们有一些道德观,但是我们的法律意识还需要加强,要对自己行为...
哪位高手帮忙写下VLAN配置实例
答:2、配置中继(核心、分支交换机上都设置)3、创建VLAN(在server上设置)4、将交换机端口划入VLAN 5、配置三层交换 1、设置VTP DOMAIN。 VTP DOMAIN 称为管理域。交换VTP更新信息的所有交换机必须配置为相同的管理域。如果所有的交换机都以中继线相连,那么只要在核心交换机上设置一个管理域,网络上所有的...
哪位高手能不能详细的帮我写一下FLASH中,如何制作一个小球围着另一个...
答:按F6插入关键帧,在刚插入的关键帧上点右键,选择“创建补间动画”,在属性面板中,选动作(不能选形状),自动旋转设置为顺时针,1圈。7。ctrl+enter测试动画,ctrl+s保存文件。如果你有基础,应该很容易看懂,如果还有不会的地方,可以给我发邮件到yclfeixia@126.com,呵呵,希望能够帮到你。