华为静态路由配置实例
- 格式:doc
- 大小:90.50 KB
- 文档页数:2
RA配置
System-view
Sysname RA
Interface ethernet 0/0
Ip address 192.168.1.1 255.255.255.0
Interface ethernet 0/1
Ip address 192.168.2.1 255.255.255.0
quit
ip route-static 192.168.3.0 255.255.255.0 192.168.2.2
ip route-static 192.168.4.0 255.255.255.0 192.168.2.2
RB配置
System-view
Sysname RB
Interface ethernet 0/0
Ip address 192.168.3.1 255.255.255.0
Interface ethernet 0/1
Ip address 192.168.2.2 255.255.255.0
quit
ip route-static 192.168.1.0 255.255.255.0 192.168.2.1 ip route-static 192.168.4.0 255.255.255.0 192.168.3.2
RC配置
System-view
Sysname RC
Interface ethernet 0/0
Ip address 192.168.3.2 255.255.255.0
Interface ethernet 0/1
Ip address 192.168.4.1 255.255.255.0
quit
ip route-static 192.168.1.0 255.255.255.0 192.168.3.1
ip route-static 192.168.2.0 255.255.255.0 192.168.3.1