9久久伊人精品综合,亚洲一区精品视频在线,成 人免费va视频,国产一区二区三区黄网,99国产精品永久免费视频,亚洲毛片多多影院,精品久久久无码人妻中文字幕,无码国产欧美一区二区三区不卡
學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 網(wǎng)絡(luò)知識(shí) > 路由器 > 路由器知識(shí)大全 > 教你配置簡(jiǎn)單的靜態(tài)路由

教你配置簡(jiǎn)單的靜態(tài)路由

時(shí)間: 若木635 分享

教你配置簡(jiǎn)單的靜態(tài)路由

  歡迎來(lái)到學(xué)習(xí)啦。這篇教你配置簡(jiǎn)單的靜態(tài)路由是學(xué)習(xí)啦小編特地為大家整理的,希望對(duì)大家有所幫助!

  為了更有說(shuō)服力和便于理解我用CPT(Cisco Packet Tracer)演示了一下。

  拓?fù)鋱D如下圖所示:

  分別有四個(gè)網(wǎng)段,10.0.0.0/8、112.237.228.0/24、192.168.10.0/24、211.86.104.0/24。

  靜態(tài)路由設(shè)置如下:

  ip route 192.168.10.0 255.255.255.0 112.237.228.1 ip route 211.86.104.0 255.255.255.0 112.237.228.1 ip route 10.0.0.0 255.0.0.0 112.237.228.244 ip route 211.86.104.0 255.255.255.0 192.168.10.1 ip route 112.237.228.0 255.255.255.0 192.168.10.2 ip route 10.0.0.0 255.0.0.0 192.168.10.2

  配置如下:

  1.PC0的IP配置:

  Packet Tracer PC Command Line 1.0

  PC>ipconfig

  IP Address......................: 10.0.0.3

  Subnet Mask.....................: 255.0.0.0

  Default Gateway.................: 10.0.0.1

  PC>

  2.PC1的IP配置:

  Packet Tracer PC Command Line 1.0

  PC>ipconfig

  IP Address......................: 211.86.104.52

  Subnet Mask.....................: 255.255.255.0

  Default Gateway.................: 211.86.104.254

  PC>

  3.R1的配置:

  Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#interface FastEthernet0/1 R1(config-if)#ip address 10.0.0.1 255.0.0.0 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up R1(config-if)#end R1# %SYS-5-CONFIG_I: Configured from console by console R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int f0/0 R1(config-if)#ip addr 112.237.228.244 255.255.255.0 R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up R1(config-if)#end R1# %SYS-5-CONFIG_I: Configured from console by console R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip route 192.168.10.0 255.255.255.0 112.237.228.1 R1(config)#ip route 211.86.104.0 255.255.255.0 112.237.228.1 R1(config)#end R1# %SYS-5-CONFIG_I: Configured from console by console R1#

  4.R2的配置:

  Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)# R2(config)#interface FastEthernet0/1 R2(config-if)#ip address 112.237.228.1 255.255.255.0 R2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up R2(config-if)# R2(config-if)#exit R2(config)#interface FastEthernet0/0 R2(config-if)#ip address 192.168.10.2 255.255.255.0 R2(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up R2(config-if)#end R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#ip route 10.0.0.0 255.0.0.0 112.237.228.244 R2(config)#ip route 211.86.104.0 255.255.255.0 192.168.10.1 R2(config)#end R2# %SYS-5-CONFIG_I: Configured from console by console R2#

  5.R3的配置:

  Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R3 R3(config)# R3(config)#interface FastEthernet0/1 R3(config-if)#ip address 192.168.10.1 255.255.255.0 R3(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up R3(config-if)# R3(config-if)#exit R3(config)#interface FastEthernet0/0 R3(config-if)#ip address 211.86.104.254 255.255.255.0 R3(config-if)#no shutdown R3(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up R3>enable R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#ip route 112.237.228.0 255.255.255.0 192.168.10.2 R3(config)#ip route 10.0.0.0 255.0.0.0 192.168.10.2 R3(config)#end R3# %SYS-5-CONFIG_I: Configured from console by console R3#

  6.使用tracert進(jìn)行測(cè)試:

  測(cè)試從PC0能否路由到PC1。

  結(jié)果表明測(cè)試成功。

  測(cè)試從PC1能否路由到PC0。

  結(jié)果表明測(cè)試成功。

122723 主站蜘蛛池模板: 一本色道久久加勒比综合 | 精品在免费线中文字幕久久| 97久久精品人人澡人人爽| 成人做受120秒试看试看视频 | 亚洲综合精品成人| 成人又黄又爽又色的视频| 国产初高中生粉嫩无套第一次| 毛多水多高潮高清视频| 久久99久久99精品免视看动漫| 亚洲偷自拍国综合| 国产日韩入口一区二区| 自拍偷区亚洲综合第二区| 一区二区丝袜美腿视频| 91无码人妻精品一区二区蜜桃| 成年女人碰碰碰视频播放| 99久久精品费精品国产一区二| 亚洲成av人片色午夜乱码| 婷婷综合缴情亚洲| 樱桃视频影院在线播放| 亚洲AV无码久久精品成人| 国产乱码1卡二卡3卡四卡5| 国99久9在线 | 免费| 日本九州不卡久久精品一区| 国产内射性高湖| 在线看免费无码的av天堂| 97se综合| 国产亚洲精久久久久久久91| 国产精品自在拍首页视频| 国产精品不卡区一区二| 99久久精品看国产一区| 精品国产午夜福利理论片| 国产欧美日韩高清在线不卡 | 久久人与动人物a级毛片| 国产真人做受视频在线观看| 99视频在线精品国自产拍| 麻花传媒在线观看免费| 欧美丰满熟妇乱XXXXX网站| 综1合AV在线播放| 白色丝袜国产在线视频| 狠狠综合久久综合88亚洲| 色吊丝中文字幕在线观看|