中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

CCNA實驗二:手動建立靜態路由表

發布時間:2020-06-30 15:51:51 來源:網絡 閱讀:684 作者:蝸牛001號 欄目:網絡安全

HQ>en

HQ>enable 

HQ#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

HQ(config)#int e0/0

HQ(config-if)#no shut

HQ(config-if)#no shutdown 

HQ(config-if)#ip add

HQ(config-if)#ip address 172.16.1.100 255.255.255.248

HQ(config-if)#exi

HQ(config)#int e0/1

HQ(config-if)#no shu

HQ(config-if)#no shutdown 

HQ(config-if)#ip ad

HQ(config-if)#ip add

HQ(config-if)#ip address 192.168.1.2 255.255.255.252 

HQ(config-if)#exi

HQ(config)#exi

*Sep 14 16:38:30.401: %SYS-5-CONFIG_I: Configured from console by console

HQ#show ip route            //顯示路由表

Codes: L - local, C - connected, S - static, 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

       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP

       a - application route

       + - replicated route, % - next hop override


Gateway of last resort is not set


      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C        172.16.1.96/29 is directly connected, Ethernet0/0

L        172.16.1.100/32 is directly connected, Ethernet0/0

      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.1.0/30 is directly connected, Ethernet0/1

L        192.168.1.2/32 is directly connected, Ethernet0/1

HQ#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

HQ(config)#ip route 10.1.10.16 255.255.255.240 e0/1 //將10.1.10.16放入路由表,通過e0/1通信

HQ(config)#exi

HQ#

*Sep 14 16:59:32.032: %SYS-5-CONFIG_I: Configured from console by console

HQ#ping 10.1.10.23

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.1.10.23, timeout is 2 seconds:

.!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/1 ms  //ping通目標地址

HQ#show ip route             //顯示修改過的路由表

Codes: L - local, C - connected, S - static, 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

       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP

       a - application route

       + - replicated route, % - next hop override


Gateway of last resort is not set


      10.0.0.0/28 is subnetted, 1 subnets

S        10.1.10.16 is directly connected, Ethernet0/1

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks

C        172.16.1.96/29 is directly connected, Ethernet0/0

L        172.16.1.100/32 is directly connected, Ethernet0/0

      192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks

C        192.168.1.0/30 is directly connected, Ethernet0/1

L        192.168.1.2/32 is directly connected, Ethernet0/1

HQ#



在另一臺路由器Branch上進行相同配置,即可實現互相訪問,注意掩碼


相關設置:

HQ:       e0/1  192.168.1.2  255.255.255.252

        e0/0  172.16.1.100  255.255.255.248

Branch:   e0/1  192.168.1.1   255.255.255.0

        e0/0  10.1.10.23   255.255.255.240


重要命令:show ip route  顯示路由表

      ip route + ip地址 +掩碼   手工設置靜態路由表


注:當使用 ip route + ip地址 +掩碼   命令手工設置靜態路由表時,此處ip地址應寫箭頭處地址,而非local ip地址。

CCNA實驗二:手動建立靜態路由表


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

泰来县| 大足县| 邻水| 土默特左旗| 彭州市| 伊宁县| 新丰县| 奇台县| 永昌县| 资兴市| 开化县| 吴桥县| 陆川县| 东丽区| 丹寨县| 福鼎市| 鄂伦春自治旗| 山西省| 温泉县| 古丈县| 新民市| 柳州市| 和平区| 瑞金市| 阿瓦提县| 安达市| 庆云县| 香港| 盐亭县| 息烽县| 兴海县| 共和县| 蓬溪县| 吉首市| 金坛市| 郎溪县| 本溪市| 丹凤县| 政和县| 祁连县| 宁阳县|