静态路由基础配置实验(Cisco+Huawei 实战)

1. 实验示意图

在这里插入图片描述

2. 要求

  • SW1,R1,R2,SW2之间运行静态路由123,PC1和PC2之间互通。

3. 当前配置

在这里插入图片描述

3.1 PC1、PC2配置

  • 配置PC1和PC2的ip地址、子网掩码和网关(在模拟器中,右键PC图标,选择“启动”,然后右键PC图标,选择“配置”)

3.2 SW1配置(Cisco)

sys
hostname SW1


interface Vlan2
ip address 10.208.4.1 255.255.255.192
interface Vlan100
ip address 10.208.1.2 255.255.255.252
 
 
interface GigabitEthernet1/0/4
switchport mode access
switchport access vlan 100

interface GigabitEthernet1/0/8
switchport mode access
switchport access vlan 2


ip route 10.213.1.0 255.255.255.0 10.208.1.1


line vty 0 4
password cisco
login

3.3 R1配置(Cisco)

enable
hostname R1
card type e1 0 0
controller E1 0/0/1
channel-group 0 unframed


interface Serial0/0/1:0
ip address 10.208.1.5 255.255.255.252
encapsulation ppp


interface GigabitEthernet0/0
ip address 10.208.1.1 255.255.255.252


ip route 10.208.4.0 255.255.255.0 10.208.1.2
ip route 10.208.1.0 255.255.255.0 10.208.1.6
ip route 10.213.1.0 255.255.255.0 10.208.1.6

3.4 R2配置(Huawei)

sys
sysname R2


interface Serial4/0/0
link-protocol ppp
ip address 10.208.1.6 255.255.255.252    
fe1 unframed


interface GigabitEthernet0/0/1
ip address 10.208.1.9 255.255.255.252


ip route-static 10.208.1.0 255.255.255.0 10.208.1.5
ip route-static 10.208.4.0 255.255.255.0 10.208.1.5
ip route-static 10.213.1.0 255.255.255.0 10.208.1.10

3.5 SW2配置(Cisco)

enable
hostname SW2


interface Vlan-interface2
ip address 10.213.1.1 255.255.255.192 

interface Vlan-interface100
ip address 10.208.1.10 255.255.255.252 


interface Ethernet0/4
switchport access vlan 100

interface Ethernet0/8
switchport access vlan 2


ip route 10.208.4.0 255.255.255.0 10.208.1.9 

  1. cisco路由器忘记密码恢复 ↩︎

  2. E1和E1-F基础知识 ↩︎

  3. 静态路由配置–思科实验 ↩︎

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

清梦daydream

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值