IT貓撲網(wǎng):您身邊最放心的安全下載站! 最新更新|軟件分類(lèi)|軟件專(zhuān)題|手機(jī)版|論壇轉(zhuǎn)貼|軟件發(fā)布

您當(dāng)前所在位置: 首頁(yè)系統(tǒng)集成網(wǎng)絡(luò)管理 → 路由器靜態(tài)路由配置

路由器靜態(tài)路由配置

時(shí)間:2015-06-28 00:00:00 來(lái)源:IT貓撲網(wǎng) 作者:網(wǎng)管聯(lián)盟 我要評(píng)論(1)

??? //實(shí)現(xiàn):通過(guò)靜態(tài)路由實(shí)現(xiàn)網(wǎng)絡(luò)的連通性。
??? //環(huán)境:
??? Router01
??? Router02
??? CISCO 2960-01
??? CISCO 2960-02
??? PC01
??? PC02
??? //拓?fù)洌喝鐖D(110422-路由器靜態(tài)路由配置)

???? ?
??? //配置Router01
??? Router01>enable
??? Router01#configure terminal
??? Router01(config)#interface fastEthernet 1/0
??? Router01(config-if)#no shutdown
??? Router01(config-if)#ip address 192.168.1.1 255.255.255.0
??? Router01(config-if)#exit
??? Router01(config)#interface serial 2/0
??? Router01(config-if)#ip address 192.168.3.1 255.255.255.0
??? Router01(config-if)#clock rate 64000 //配置時(shí)鐘頻率
??? Router01(config-if)#no shutdown
??? Router01#configure terminal
??? Router01(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.2??? //靜態(tài)路由配置(目標(biāo)網(wǎng)段,下一跳地址)
??? Router01#show ip route?? //查看路由表
??? Router01#write
??? //配置Router02
??? Router02>enable
??? Router02#configure terminal
??? Router02(config)#interface fastEthernet 1/0
??? Router02(config-if)#no shutdown
??? Router02(config-if)#ip address 192.168.2.1 255.255.255.0
??? Router02(config-if)#exit
??? Router02(config)#interface serial 2/0
??? Router02(config-if)#ip address 192.168.3.1 255.255.255.0
??? Router02(config-if)#no shutdown
??? Router02#configure terminal
??? Router02(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1
??? Router02#write

??? //測(cè)試:(終端計(jì)算機(jī))
??? PC01>ping 192.168.1.1
??? Pinging 192.168.1.1 with 32 bytes of data:
??? Reply from 192.168.1.1: bytes=32 time=7ms TTL=255
??? Ping statistics for 192.168.1.1:
??? Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
??? Approximate round trip times in milli-seconds:
??? Minimum = 7ms, Maximum = 7ms, Average = 7ms
??? Control-C
??? PC01>ping 192.168.3.1
??? Pinging 192.168.3.1 with 32 bytes of data:
??? Reply from 192.168.3.1: bytes=32 time=13ms TTL=255
??? Ping statistics for 192.168.3.1:
??? Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
??? Approximate round trip times in milli-seconds:
??? Minimum = 13ms, Maximum = 13ms, Average = 13ms
??? Control-C
??? PC01>ping 192.168.3.2
??? Pinging 192.168.3.2 with 32 bytes of data:
??? Reply from 192.168.3.2: bytes=32 time=21ms TTL=254
??? Ping statistics for 192.168.3.2:
??? Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
??? Approximate round trip times in milli-seconds:
??? Minimum = 21ms, Maximum = 21ms, Average = 21ms
??? Control-C
??? PC01>ping 192.168.2.1
??? Pinging 192.168.2.1 with 32 bytes of data:
??? Reply from 192.168.2.1: bytes=32 time=19ms TTL=254
??? Ping statistics for 192.168.2.1:
??? Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
??? Approximate round trip times in milli-seconds:
??? Minimum = 19ms, Maximum = 19ms, Average = 19ms
??? Control-C
??? PC01>ping 192.168.2.101
??? Pinging 192.168.2.101 with 32 bytes of data:
??? Reply from 192.168.2.101: bytes=32 time=35ms TTL=126
??? Ping statistics for 192.168.2.101:
??? Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
??? Approximate round trip times in milli-seconds:
??? Minimum = 35ms, Maximum = 35ms, Average = 35ms
??? Control-C

關(guān)鍵詞標(biāo)簽:路由器,靜態(tài)路由配置

相關(guān)閱讀

文章評(píng)論
發(fā)表評(píng)論

熱門(mén)文章 路由器地址大全-各品牌路由設(shè)置地址 路由器地址大全-各品牌路由設(shè)置地址 各品牌的ADSL與路由器出廠默認(rèn)IP、帳號(hào)、密碼 各品牌的ADSL與路由器出廠默認(rèn)IP、帳號(hào)、密碼 Nslookup命令詳解-域名DNS診斷 Nslookup命令詳解-域名DNS診斷 站長(zhǎng)裝備:十大網(wǎng)站管理員服務(wù)器工具軟件 站長(zhǎng)裝備:十大網(wǎng)站管理員服務(wù)器工具軟件

相關(guān)下載

    人氣排行 各品牌的ADSL與路由器出廠默認(rèn)IP、帳號(hào)、密碼 路由器地址大全-各品牌路由設(shè)置地址 騰達(dá)路由器怎么設(shè)置?騰達(dá)路由器設(shè)置教程 ADSL雙線負(fù)載均衡設(shè)置詳細(xì)圖文教程 路由表說(shuō)明(詳解route print) Nslookup命令詳解-域名DNS診斷 網(wǎng)管員實(shí)際工作的一天 網(wǎng)管必會(huì)!了解交換機(jī)控制端口流量