华为eNSP路由器不同vlan之间的通信
实验目的:两台主机互通
AR11
<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
int g0/0/0
ip add 192.168.1.254 24
q
int g0/0/1
ip add 192.168.2.1 24
q
ip route-static 192.168.4.0 24 192.168.2.2
ip route-static 192.168.3.0 24 192.168.2.2
AR12
<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
int g0/0/0
ip add 192.168.2.2 24
int g0/0/1
ip add 192.168.3.1 24
q
Enter system view, return user view with Ctrl+Z.
ip route-static 192.168.1.0 24 192.168.2.1
ip route-static 192.168.4.0 24 192.168.3.2
AR13
<Huawei>undo terminal monitor
Info: Current terminal monitor is off.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
int g0/0/0
ip add 192.168.3.2 24
int g0/0/1
ip add 192.168.4.254 24
q
Enter system view, return user view with Ctrl+Z.
ip route-static 192.168.2.0 24 192.168.3.1
ip route-static 192.168.1.0 24 192.168.3.1
实验:两台主机互ping
页:
[1]