Small Business default Route use and configuration Lab-Huawei
Objective: to realize the interworking of the whole network through static route and default route.
Topology Diagram:
Steps and configuration:
Manually configure the ip address, subnet mask, and gateway of PC1,PC2.
AR1:
[Huawei] sys R1 # modify the device name to R1
[R1] int gi0/0/0 # enters port 0
[R1-GigabitEthernet0/0/0] undo shutdown # enable Port
[R1-GigabitEthernet0/0/0] ip add 192.168.1.254 255.255.255.0 # configure IP
[R1-GigabitEthernet0/0/0] int gi0/0/1 # enters port 1
[R1-GigabitEthernet0/0/1] un shutdown # enable Port
[R1-GigabitEthernet0/0/1] ip add 192.168.2.1 255.255.255.0 # configure IP
[R1-GigabitEthernet0/0/0] quit # returns to view mode
[R1] ip route-static 0.0.0.0 0.0.0.0 192.168.2.2 # configure a default route
AR2:
[Huawei] sys R2 # change the device name to R2
[R1] int gi0/0/0 # enters port 0
[R2-GigabitEthernet0/0/0] undo shutdown # enable Port
[R2-GigabitEthernet0/0/0] ip add 192.168.2.2 255.255.255.0 # configure IP
[R2-GigabitEthernet0/0/0] int gi0/0/1 # enters port 1
[R2-GigabitEthernet0/0/1] un shu # enable Port
[R2-GigabitEthernet0/0/1] ip add 192.168.3.1 255.255.255.0 # configure IP
[R2-GigabitEthernet0/0/0] quit # returns to view mode
[R2] ip route-static 192.168.1.0 255.255.255.0 192.168.2.configure a default route
[R2] ip route-static 192.168.4.0 255.255.255.0 192.168.2.3.configuration default route
AR3:
[Huawei] sys R3 # modify device name to R3
[R3] int gi0/0/0 # enters port 0
[R3-GigabitEthernet0/0/0] undo shutdown # enable Port
[R3-GigabitEthernet0/0/0] ip add 192.168.3.2 255.255.255.0 # configure IP
[R3-GigabitEthernet0/0/0] int g0amp 0ram 1 # enter port 1
[R3-GigabitEthernet0/0/1] un shu # enable Port
[R3-GigabitEthernet0/0/1] ip add 192.168.4.254 255.255.255.0 # configure IP
[R3-GigabitEthernet0/0/0] quit # returns to view mode
[R3] ip route-static 0.0.0.0 0.0.0.0 192.168.3.1 # configure a default route
Test and verification
Pc1== > pc2
Pc2== > pc1
Novice on the road, the god gives a lot of advice. "