静态路由配置环境配置:数据包跟踪器
路由器--2811
第一步:构建拓扑注意:中间路由器需要添加网卡
先关闭添加-nm-2Fe2w
步骤2:ip主机IP配置#####左侧路由器配置
否
内布尔
配置终端
int f0/0
ip add 10.0.0.254 255.255.255.0
no shutdown
退出
int f0/1
ip add 20.0.0.1 255.255.255.0
no shutdown
退出
do show ip int brief
#####右侧路由器结构
否
内布尔
配置终端
int f0/0
ip add 30.0.0.2 255.255.255.0
no shutdown
退出
int f0/1
ip add 40.0.0.254 255.255.255.0
no shutdown
退出
do show ip int brief
#####中间路由器结构
否
内布尔
配置终端
int f0/0
ip add 20.0.0.2 255.255.255.0
no shutdown
退出
int f0/1
ip add 30.0.0.1 255.255.255.0
no shutdown
退出
int f1/0
ip add 50.0.0.254 255.255.255.0
no shutdown
退出
do show ip int brief
步骤:配置路由左侧路由器配置IP路由0.0.0.0.0.0.020.0.2
do show ip rout
右路由器配置IProute0.0.0.0.0.0.0.030.0.1
do show ip rout
中间路由器配置路由器(config ) IP路由器10.0.0.0255.255.255.020.0.0.1
router(config ) # IP route 40.0.0.0255.255.255.030.0.0.2
router(config ) #do show ip rou
步骤:检查网络的状态