R5
<Huawei>undo t m
<Huawei>sy
[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]ip ad 192.168.1.254 24
[Huawei-Ethernet0/0/0]int e0/0/1
[Huawei-Ethernet0/0/1]ip ad 12.1.1.1 24
[Huawei-Ethernet0/0/1]q
[Huawei]ip route-static 192.168.2.0 24 e0/0/1 12.1.1.2
[Huawei]ip route-static 192.168.3.0 24 e0/0/1 12.1.1.2
[Huawei]ip route-static 192.168.4.0 24 e0/0/1 12.1.1.2
R6
<Huawei>
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 12.1.1.2 24
[zjlfc-Ethernet0/0/0]int e0/0/1
[zjlfc-Ethernet0/0/1]ip ad 192.168.3.254 24
[zjlfc-Ethernet0/0/1]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 192.168.2.254 24
[zjlfc-GigabitEthernet0/0/1]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 192.168.4.254 24
[zjlfc-GigabitEthernet0/0/0]q
[zjlfc]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1