07-Dual-WAN Policy of IP Leased Line and Public Network Configuration Examples

HomeSupportConfigure & DeployConfiguration ExamplesH3C MSR Routers Commonly Used Feature Configuration Examples(Web)-R6749-6W10107-Dual-WAN Policy of IP Leased Line and Public Network Configuration Examples
01-Dual-WAN Policy of IP Leased Line and Public Network Configuration Examples

Introduction

The following information describes how to access both a dedicated IP network and the public network through dual WAN interfaces.

Prerequisites

Procedures and information in the examples might be slightly different depending on the software or hardware version of the product.

The configuration examples were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

The following information is provided based on the assumption that you have basic knowledge of static routing.

Software version used

This configuration example was created and verified on Release 6749P21 of the MSR830-10HI-GL routers.

Example: Configuring dual WAN interfaces to access a dedicated IP network and the public network

Network configuration

As shown in Figure 1, the router acts as the enterprise's gateway, with interface WAN1 connected to a dedicated IP network and interface WAN2 connected to the Internet. The dedicated IP network belongs to the 172.32.24.0/24 subnet.

·     Interface WAN1 uses a fixed IP address (20.1.1.1/24), providing access to the dedicated IP network for internal users.

·     Interface WAN2 obtains a public network address through DHCP, providing access to the Internet for internal users.

Figure 1 Network diagram

 

Procedures

Configuring WAN access

1.     Log in to the web management interface of the router, and then access the WAN settings configuration page.

2.     On the Scene tab, select the multi-WAN scenario.

3.     Select interface WAN1 for line 1 and interface WAN2 for line 2.

4.     Click Apply.

Figure 2 Configuring access to multiple WANs

 

Configuring WAN interfaces

Configuring interface WAN1

1.     Click the WAN Settings tab.

2.     Click the edit icon in the actions column for interface WAN1.

3.     Select Fixed IP connection mode.

4.     Enter 20.1.1.1 for the IP address parameter.

5.     Enter 255.255.255.0 for the subnet mask parameter.

6.     Enter 20.1.1.254 for the gateway parameter.

7.     Enable the NAT feature.

8.     Use the default settings for the other parameters, and then click Apply.

Figure 3 Configuring interface WAN1

 

Configuring interface WAN2

1.     Click the edit icon in the actions column for interface WAN2.

2.     Select the DHCP connection mode.

3.     Enable the NAT feature.

4.     Use the default settings for the other parameters, and then click Apply.

Figure 4 Configuring interface WAN2

 

Configuring static routing

Configuring a static route to the dedicated IP network

1.     Access the static routing configuration page.

2.     Add an IPv4 static route as follows:

a.     Enter 172.32.24.0 for the destination IP address parameter.

b.     Enter 24 for the mask length parameter.

c.     Select interface GE1 as the output interface for the next hop parameter, and enter 20.1.1.254 for the next hop IP address parameter.

d.     Use the default settings for the other parameters, and then click Apply.

Figure 5 Configuring a static route to the dedicated IP network

 

Configuring a default route to the public network

IMPORTANT

IMPORTANT:

When you configure interface WAN1, the system generates a default route with interface WAN1 as the output interface. The default preference for the route is 60. To prevent traffic to the Internet from being forwarded through WAN1, you must configure a higher preference for the default route with WAN2 as the output interface than the default route with WAN1 as the output interface.

 

Add an IPv4 static route as follows:

1.     Enter 0.0.0.0 for the destination IP address parameter.

2.     Enter 0 for the mask length parameter.

3.     Select interface GE2 as the output interface for the next hop parameter, and enter 1.1.1.1 for the next hop IP address parameter.

4.     Enter 50 for the preference parameter.

5.     Use the default settings for the other parameters, and then click Apply.

Figure 6 Configuring a default route to the public network

 

Verifying the configuration

1.     Verify that the host can ping the dedicated IP network (172.32.24.10). (Details not shown.)

2.     Verify that the host can ping the public network (www.baidu.com). (Details not shown.)

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网