H3CNE实验(一)静态路由

需求:实现PC4 (192.168.1.1)访问 PC5 (192.168.2.1)
实验拓扑:

实验步骤:
R1:
system-view
sysname R1
interface g0/0
ip address 11.1.1.1 255.255.255.0
undo shutdown
quit
interface g0/1
ip address 192.168.1.254 24
undo shutdown
quit
(配置静态路由)
ip route-static 192.168.2.0 24 11.1.1.2
R2:
system-view
sysname R2
interface g0/0
ip address 11.1.1.2 24
undo shutdown
quit
interface g0/1
ip address 12.1.1.2 24
undo shutdown
quit
(配置静态路由)
ip route-static 192.168.2.0 24 12.1.1.3
ip route-static 192.168.1.0 24 11.1.1.1
R3:
system-view
sysname R3
interface g0/1
ip address 12.1.1.3 24
undo shutdown
quit
interface g0/0
ip address 192.168.2.254 24
undo shutdown
quit
(配置静态路由)
ip route-static 192.168.1.0 24 12.1.1.2
PC4:

PC5:

实验结果:
PC4上测试:
ping 192.168.2.1

  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,您需要进行h3cne静态实验,以下是具体步骤: 1. 配置由器IP地址和管理口地址:登录由器,进入system-view模式,输入以下命令: ``` [H3C] sysname Router [Router] interface vlan-interface 1 [Router-Vlan-interface1] ip address 192.168.1.1 24 [Router-Vlan-interface1] quit [Router] interface GigabitEthernet0/0/0 [Router-GigabitEthernet0/0/0] port link-mode route [Router-GigabitEthernet0/0/0] ip address 10.1.1.1 24 [Router-GigabitEthernet0/0/0] quit ``` 2. 配置PC1和PC2的IP地址:进入PC1和PC2的命令行界面,输入以下命令: ``` C:\>ipconfig Windows IP Configuration Ethernet adapter Ethernet0: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.1.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 C:\>ping 192.168.1.1 ``` ``` C:\>ipconfig Windows IP Configuration Ethernet adapter Ethernet0: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.2.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 C:\>ping 192.168.2.1 ``` 3. 配置由器的静态由:在由器的命令行界面,输入以下命令: ``` [Router] ip route-static 192.168.2.0 24 10.1.1.2 [Router] ip route-static 192.168.3.0 24 10.1.1.2 ``` 4. 验证由器的静态由配置是否正确:在由器的命令行界面,输入以下命令: ``` [Router] display ip routing-table ``` 5. 验证PC1和PC2之间的通信是否正常:在PC1和PC2的命令行界面,输入以下命令: ``` C:\>ping 192.168.2.2 ``` ``` C:\>ping 192.168.3.2 ``` 以上就是h3cne静态实验的具体步骤,希望能对您有所帮助。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值