- Table of Contents
- Related Documents
-
Strategy Partner :
01-IP Private Network + Public Network Dual-WAN Policy
Contents
Example: Configuring dual WAN interfaces to access a dedicated IP network and the public network
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 9141P22 of the SR6602-IE router.
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 GE0/0/8 connected to a dedicated IP network and interface GE0/0/9 connected to the Internet. The dedicated IP network belongs to the 172.32.24.0/24 subnet.
· Interface GE0/0/8 uses a fixed IP address (20.1.1.1/24), providing access to the dedicated IP network for internal users.
· Interface GE0/0/9 obtains a public network address through DHCP, providing access to the Internet for internal users.
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 GE0/0/8 for line 1 and interface GE0/0/9 for line 2.
4. Click Apply.
Figure 2 Configuring access to multiple WANs
Configuring WAN interfaces
Configuring interface GE0/0/8
1. Click the WAN Settings tab.
2. Click the edit icon in the actions column for interface WAN8(GE0/0/8).
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 WAN8
Configuring interface WAN2
1. Click the edit icon in the actions column for interface WAN9(GE0/0/9)..
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 WAN9
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: When you configure interface GE0/0/8, the system generates a default route with interface GE0/0/8 as the output interface. The default preference for the route is 60. To prevent traffic to the Internet from being forwarded through GE0/0/8, you must configure a higher preference for the default route with GE0/0/9 as the output interface than the default route with GE0/0/8 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 GE0/0/9 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.)
Coperation Event & Solution
- 09-IP Private Network + Public Network Dual-WAN Policy Configuration Examples-IP Private Network + Public Network Dual-WAN Policy.pdf