Got it

Example for configuring IPv4 static routes Highlighted

Latest reply: Sep 18, 2017 10:35:42 7012 1 0 0 1

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.


Figure 1. Networking diagram of configuring static routes

Example for configuring IPv4 static routes-2498737-1


PROCEDURE


  1. 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.

  1. As shown in Figure 2, choose WAN Access > Ethernet Interface to open the Ethernet Interface page.


    Figure 2 Ethernet Interface
    Example for configuring IPv4 static routes-2498737-2


  2. On the Ethernet Interface page, clickExample for configuring IPv4 static routes-2498737-3 on the same line as GigabitEthernet0/0/0 to configure an IP address for GE0/0/0, as shown in Figure 3.


    Figure 3 Configuring an IP address for GE0/0/0
    Example for configuring IPv4 static routes-2498737-4


  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.

  1. As shown in Figure 4, choose IP Service > Route > Static Route Configuration.


    Figure 4 Static Route Configuration
    Example for configuring IPv4 static routes-2498737-5


  2. Click Create in the IPv4 Static Route Configuration Table area to configure a default route on Router_1, as shown in Figure 5.


    Figure 5 Configuring a default route on Router_1
    Example for configuring IPv4 static routes-2498737-6


  3. 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.


# After the preceding configurations are complete, choose IP Service > Route > Routing Table to check information about the IP routing table. The following example is the IP routing table of Router_1, as shown in Figure 6.
Figure 6 Configuration result
Example for configuring IPv4 static routes-2498737-7

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.

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

WoodWood
Created Sep 18, 2017 10:35:42

good
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.