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

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

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

時間:2015/6/28來源:IT貓撲網(wǎng)作者:網(wǎng)管聯(lián)盟我要評論(0)

    //實現(xiàn):通過靜態(tài)路由實現(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 //配置時鐘頻率
    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

    //測試:(終端計算機(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)閱讀

文章評論
發(fā)表評論

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

相關(guān)下載

人氣排行 各品牌的ADSL與路由器出廠默認(rèn)IP、帳號、密碼路由器地址大全-各品牌路由設(shè)置地址騰達(dá)路由器怎么設(shè)置?騰達(dá)路由器設(shè)置教程ADSL雙線負(fù)載均衡設(shè)置詳細(xì)圖文教程路由表說明(詳解route print)網(wǎng)管員實際工作的一天用此方法讓2M帶寬下載速度達(dá)到250K/S左右網(wǎng)管必會!了解交換機(jī)控制端口流量