What is LAN IP Alias and how to use it?
Support Model : Vigor2952 SeriesVigor3900Vigor2960Vigor300B
LAN IP Alias allows Vigor Router to own multiple LAN IP addresses in a single subnet. Each IP address can be a gateway connecting to a specific WAN interface. So LAN clients can simply change their gateway IP on the PC to go through different WAN interface.
We have received some reports, that the connection quality of different server may vary from ISPs. Some website or service will perform better when go through the ISP1, but others will be smoother when accessing via the ISP2. The owner of an internet café may know this condition well. When playing the online game, not only the hardware performance will affect the playing experience, the connection quality and latency also play the huge roles. Online game A may be smoother when going through the line of ISP1, yet, the online game B can provide better playing experience when using the line from ISP2. The internet café owner may apply the line from both ISPs, but how to make computers go through different ISP line in the same time? Here is the point that "LAN IP Alias" feature can solve the owner's problem. The owner can set up the LAN IP Alias, let the customers decide to play the online games through the ISP they desire.
This article demonstrates how to set up the LAN IP Alias on Vigor Router.
Setting on Vigor2925 and Vigor2952
1. Go to LAN >> General Setup page, click Details Page button of an active LAN profile.
2. Click LAN IP Alias button.
3. Configure LAN IP Alias settings on the pop up window:
- Enable an index
- Give a MLAN IP which is in the subnet of the LAN profile, but do not be the same as any other used IP addresses
- Choose an Outpu Interface
- Click OK to save the settings
4. Vigor Router now has two LAN IP addresses in the LAN subnet, and the LAN clients can choose which WAN interfaces they would like to go through by changing the gateway setting on their computers easily.
Setting on Vigor3900, Vigor2960 and Vigor300B
We can create two LAN profiles which are in the same subnet, set the router to untag the LAN on different LAN port, and set the route policy to make the router forward the traffic to different WAN interface, based on the gateway IP which the LAN clients send to. Then, configure the port-based VLAN on the external switch, so the LAN clients can choose and connect to the desired gateway.
Note: the LAN IP Alias on Vigor3900, Vigor2960 and Vigor300B is a feature MUST cooperates with a switch with
1. Go to LAN >> General Setup >> General Setup page, click Add to create a LAN profile.
2. Go to LAN >> General Setup >> General Setup page, click Add to create a LAN profile.
- Give a Profile name
- Enable the profile
- Give the profile a VLAN ID
- Disable Default MAC Address, enter a MAC address which is different to any other MAC addresses that router own
- Set an IP Address which is different from but in the same subnet as LAN1
- Disable the DHCP Server
- Click Apply to save the settings
3. Go to LAN >> Switch >> 802.1Q VLAN page, select the default VLAN ID 10 then click Edit to change the settings.
4. Remove LAN_Port_2 from Member and Untag member, then click Apply.
5. Click Add on the 802.1Q VLAN page to create a new rule.
6. Fill in the VLAN ID of the LAN profile which created in the step 2, and select LAN_Port_2 as Member and Untag member, click Apply to save the settings.
7. Go to Routing >> Policy Route page, click Add to create 2 rules for LAN1 and LAN2.
8. Set the Policy Rule to make the router forward the traffic to different WAN interfaces,
- Giva a Profile name
- Enable the rule
- Selet Top as the Priority
- Select Interface as the Source Type, and choose lan1 for the Interface
- Choose wan1 for the Load Balance Rule
- Create another Policy Rule for lan2, remember to set the Interface to lan2 and the Load Balance Rule to wan2
9. Set your switch as the following topology:
- Set the switch subnet as the lan subnet of Vigor3900
- Create 2 Port-Based VLAN/Private VLAN profile, one contains port 1 and port 3, and the other one contains port 1 and port 5
- Connect to port 1 to the LAN clients, port 3 and port 5 to Vigor3900
Vigor3900 now has two LAN IP addresses in the LAN subnet, and LAN clietns can choose which WAN interfaces they would like to go through by changing the gateway setting on their computers easily.