欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

HCIA靜態(tài)路由配置實驗案例

  發(fā)布時間:2020-04-09 14:35:59   作者:李小強   我要評論
這篇文章主要介紹了HCIA靜態(tài)路由配置實驗,結合具體實驗案例形式分析了HCIA靜態(tài)路由配置的具體步驟、原理、操作命令與相關注意事項,需要的朋友可以參考下

本文實例講述了HCIA靜態(tài)路由配置。分享給大家供大家參考,具體如下:

HCIA---靜態(tài)路由

目錄

搭建拓撲圖

在這里插入圖片描述

實驗要求

1.內網(wǎng)所有IP基于172.16.0.0/16進行子網(wǎng)劃分
2.盡量減少路由條目
3.不能出環(huán)
4.R3 - R4之間正常走1000M線路,1000M壞了走100M,備份
5.全網(wǎng)可達

配置過程

劃分子網(wǎng)

172.16.0.0 /16

172.16. 000 0 0000.0
255.255. 000 0 0000.0
 

借三位

172.16.0.0 /20–借一位,作為DHCP下放網(wǎng)段
172.16.0.0 /21-- R2—PC2
172.16.16.0 /21–R2—PC3

172.16.32.0 /20–借一位,作為DHCP下放網(wǎng)段
172.16.32.0 /21–R3-PC4
172.16.48.0 /21–R3-PC5

172.16.192.0 /20–R1-PC1
172.16.224.0 /20–R4-PC6

主干道網(wǎng)絡域:
 

172.16.64.0 /20
172.16.128.0 /20
172.16.96.0 /20
172.16.160.0 /20

配置各個路由器的地址

R1路由器:
 

system-view
[Huawei]sysname R1
[R1]interface gi 0/0/0
[R1-GigabitEthernet0/0/0]ip address 172.16.64.1 20
[R1-GigabitEthernet0/0/0]interface gi 0/0/1
[R1-GigabitEthernet0/0/1]ip address 172.16.192.1 20
[R1-GigabitEthernet0/0/1]quit
[R1]

R2路由器:
 

system-view
[Huawei]sysname R2
[R2]interface gi 0/0/0
[R2-GigabitEthernet0/0/0]ip address 172.16.64.2 20
[R2-GigabitEthernet0/0/0]interface gi 0/0/1
[R2-GigabitEthernet0/0/1]ip address 172.16.96.1 20
[R2-GigabitEthernet0/0/1]interface gi 1/0/0
[R2-GigabitEthernet1/0/0]ip address 172.16.0.1 21
[R2-GigabitEthernet1/0/0]interface gi 2/0/0
[R2-GigabitEthernet2/0/0]ip address 172.16.16.1 21
[R2-GigabitEthernet2/0/0]quit
[R2]

R3路由器:
 

system-view
[Huawei]sysname R3
[R3]interface gi 0/0/0
[R3-GigabitEthernet0/0/0]ip address 172.16.96.2 20
[R3-GigabitEthernet0/0/0]interface gi 1/0/0
[R3-GigabitEthernet1/0/0]ip address 172.16.32.1 21
[R3-GigabitEthernet1/0/0]interface gi 2/0/0
[R3-GigabitEthernet2/0/0]ip address 172.16.48.1 21
[R3-GigabitEthernet2/0/0]interface gi 0/0/1
[R3-GigabitEthernet0/0/1]ip address 172.16.128.1 20
[R3-GigabitEthernet0/0/1]interface gi 0/0/2
[R3-GigabitEthernet0/0/2]ip address 172.16.160.1 20
[R3]

R4路由器:
 

system-view
[Huawei]sysname R4
[R4]interface gi 0/0/0
[R4-GigabitEthernet0/0/0]ip address 172.16.128.2 20
[R4-GigabitEthernet0/0/0]interface gi 0/0/1
[R4-GigabitEthernet0/0/1]ip address 172.16.160.2 20
[R4-GigabitEthernet0/0/1]interface gi 1/0/0
[R4-GigabitEthernet1/0/0]ip address 172.16.224.1 20
[R4-GigabitEthernet1/0/0]interface gi 2/0/0
[R4-GigabitEthernet2/0/0]ip address 202.100.1.1 24
[R4]

配置下一跳

R1路由器:
 

[R1]ip route-static 172.16.0.0 20 172.16.64.2
[R1]ip route-static 172.16.96.0 20 172.16.64.2
[R1]ip route-static 172.16.32.0 20 172.16.64.2
[R1]ip route-static 172.16.128.0 20 172.16.64.2
[R1]ip route-static 172.16.160.0 20 172.16.64.2
[R1]ip route-static 172.16.224.0 20 172.16.64.2
[R1]ip route-static 202.100.1.0 24 172.16.64.2
[R1]ip route-static 0.0.0.0 0.0.0.0 202.100.1.0
save

R2路由器:
 

[R2]ip route-static 172.16.192.0 20 172.16.64.1
[R2]ip route-static 172.16.32.0 20 172.16.96.2
[R2]ip route-static 172.16.128.0 20 172.16.96.2
[R2]ip route-static 172.16.160.0 20 172.16.96.2
[R2]ip route-static 172.16.224.0 20 172.16.96.2
[R2]ip route-static 202.100.1.0 24 172.16.96.2
[R2]ip route-static 0.0.0.0 0.0.0.0 202.100.1.0
[R2]ip route-static 172.16.0.0 20 null 0 //空接口防環(huán)
save

R3路由器:
 

[R3]ip route-static 172.16.64.0 20 172.16.96.1
[R3]ip route-static 172.16.192.0 20 172.16.96.1
[R3]ip route-static 172.16.0.0 20 172.16.96.1
[R3]ip route-static 172.16.224.0 20 172.16.160.2
[R3]ip route-static 202.100.1.0 24 172.16.160.2
[R3]ip route-static 172.16.224.0 20 172.16.128.2 preference 100 //增大優(yōu)先值,備份
[R3]ip route-static 202.100.1.0 24 172.16.128.2 preference 100
[R3]ip route-static 0.0.0.0 0.0.0.0 202.100.1.0
[R3]ip route-static 172.16.32.0 20 null 0
save

R4路由器:
 

[R4]ip route-static 172.16.64.0 20 172.16.160.1
[R4]ip route-static 172.16.192.0 20 172.16.160.1
[R4]ip route-static 172.16.0.0 20 172.16.160.1
[R4]ip route-static 172.16.96.0 20 172.16.160.1
[R4]ip route-static 172.16.32.0 20 172.16.160.1
[R4]ip route-static 172.16.64.0 20 172.16.128.1 preference 100
[R4]ip route-static 172.16.192.0 20 172.16.128.1 preference 100
[R4]ip route-static 172.16.0.0 20 172.16.128.1 preference 100
[R4]ip route-static 172.16.96.0 20 172.16.128.1 preference 100
[R4]ip route-static 172.16.32.0 20 172.16.128.1 preference 100
[R4]ip route-static 0.0.0.0 0.0.0.0 202.100.1.0
save

手動配置PC的 IP地址

此時全網(wǎng)可達。

相關文章

最新評論