路由器双链路组网H3C模拟器配置全网互通,配置静态路由,两条链路之间做负载均衡

display ip interface brief 查看端口IP简要状态信息

display ip routing-table 查看路由表

ping -a 172.163.100.254 172.163.200.254 ping源地址到目的地地址

一、配置交换机SW1

sw1

vlan 100

port g1/0/1

interface vlan 100

ip address 172.163.100.254 24

interface g1/0/2

port link-mode route

ip address 1.1.1.1 24

quit

ip route-static 2.1.1.0 24 1.1.1.2

ip route-static 3.1.1.0 24 1.1.1.2

ip route-static 172.163.200.0 24 1.1.1.2

二、配置交换机SW2

sw2

vlan 200

port g1/0/2

interface vlan 200

ip address 172.163.200.254 24

interface g1/0/3

port link-mode route

ip address 2.1.1.3 24

interface g1/0/1

port link-mode route

ip address 3.1.1.3 24

ip route-static 1.1.1.0 24 3.1.1.2

ip route-static 1.1.1.0 24 2.1.1.2

ip route-static 172.163.100.0 24 3.1.1.2

ip route-static 172.163.100.0 24 2.1.1.2

三、配置路由器R1

R1

interface g0/0

ip address 1.1.1.2 24

ping 1.1.1.1

interface g0/2

ip address 2.1.1.2 24

interface g0/1

ip address 3.1.1.2 24

ip route-static 172.163.100.0 24 1.1.1.1

ip route-static 172.163.200.0 24 3.1.1.3

ip route-static 172.163.200.0 24 2.1.1.3

Published by

风君子

独自遨游何稽首 揭天掀地慰生平