First of lets assign host name and IP address to the routers:
AR1
Assigning Host name:
<Huawei>system-view
[Huawei]sysname AR1
Assign IP Addresses to the Interfaces
#
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ip address 10.1.12.1 24
[AR1-GigabitEthernet0/0/0]undo shutdown
#
[AR1]interface GigabitEthernet 0/0/2
[AR1-GigabitEthernet0/0/2]ip address 192.168.1.1 24
[AR1-GigabitEthernet0/0/2]undo shutdown
#
AR2
Assigning Host name:
<Huawei>system-view
[Huawei]sysname AR2
Assign IP Addresses to the Interfaces
#
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.1.12.2 24
[AR2-GigabitEthernet0/0/0]undo shutdown
<Huawei>system-view
[Huawei]sysname AR2
Assign IP Addresses to the Interfaces
#
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ip address 10.1.12.2 24
[AR2-GigabitEthernet0/0/0]undo shutdown
#
[AR2]interface GigabitEthernet 0/0/1
[AR2-GigabitEthernet0/0/2]ip address 192.168.2.1 24
[AR2-GigabitEthernet0/0/2]undo shutdown
#
Verification
AR1
AR2
PC1 connected to AR1 can ping to its gateway IP but cannot ping to remote PC2.
And same true for the PC2 can ping its gateway IP but cannot reach to PC1.
\
This is common behavior of all routers from different vendors. Because by default routers only know connected networks.
This is common behavior of all routers from different vendors. Because by default routers only know connected networks.
So lets move to next step and add static routes.
AR1
No comments:
Post a Comment