Hello, Community friends!
This post shows an example for configuring IPv4 static routes. Please read further down.
APPLICABILITY
This example applies to all AR models of V200R002C01 and later versions.
NETWORKING REQUIREMENTS
As shown in Figure 1, hosts in different network segments are connected through several routers. Every two hosts in different network segments are required to communicate with each other using static routing protocols.
PROCEDURE
Configure IP addresses for interfaces on the routers.
The following example describes how to configure an IP address for GE0/0/0 on Router_1. The configurations of other interfaces are similar to that of GE0/0/0 and are not mentioned here.
Set Interface name to GigabitEthernet0/0/0, IP address to 10.1.2.1, and Subnet mask to 255.255.255.0.
Set Interface name to GigabitEthernet0/0/1, IP address to 10.1.4.2, and Subnet mask to 255.255.255.252.
Set Interface name to GigabitEthernet0/0/2, IP address to 10.1.4.5, and Subnet mask to 255.255.255.252.
Set Interface name to GigabitEthernet0/0/0, IP address to 10.1.3.1, and Subnet mask to 255.255.255.0.
Set Interface name to GigabitEthernet0/0/1, IP address to 10.1.4.6, and Subnet mask to 255.255.255.252.
As shown in Figure 2, choose to open the Ethernet Interface page.
On the Ethernet Interface page, click
on the same line as GigabitEthernet0/0/0 to configure an IP address for GE0/0/0, as shown in Figure 3.
Click OK to complete the IP address configuration of GE0/0/0 on Router_1.
Similarly, configure IP addresses for GE0/0/1 on Router_1 and interfaces on Router_2 and Router_3.
Configure an IP address for GE0/0/1 on Router_1: Set IP address to 10.1.4.1 and Subnet mask to 255.255.255.252.
Configure IP addresses for interfaces on Router_2.Configure IP addresses for interfaces on Router_3.
Configure a default route on Router_1.
Set Destination IP address to 10.1.1.0, Subnet mask to 255.255.255.0, and Next hop to 10.1.4.1.
Set Destination IP address to 10.1.3.0, Subnet mask to 255.255.255.0, and Next hop to 10.1.4.6.
As shown in Figure 4, choose .
Click Create in the IPv4 Static Route Configuration Table area to configure a default route on Router_1, as shown in Figure 5.
Click OK to complete the configuration of the default route on Router_1.
Similarly, configure a static routes from Router_2 and Router_3 to different network segments.
Configure static routes from Router_2 to different network segments.Configure a default route on Router_3: Set Destination IP address to 0.0.0.0, Subnet mask to 0.0.0.0, and Next hop to 10.1.4.5.
Verify the configuration.
PC_1 can communicate with PC_2 and PC_3.
CONFIGURATION NOTES
Configure IP addresses on the same network segment for interfaces that connect two routers together.
Configure IP addresses and IPv4 default gateways for hosts.