WAN Inbound Load Balance in Failover mode by Vigor3900

Inbound Load Balance is a feature that allows Vigor3900/2960/300B to be the authoritative name server for your domain names. The router can automatically reply its WAN IP to the internet clients asking about your domain names. Furthermore, it can do Load Balance or Failover if the router has multiple WAN interfaces. This note is going to demonstrate how to use Inbound Load Balance in Failover mode. In the following example, we want the router to respond with its WAN2 IP in the DNS answers whenever WAN2 is available, and use WAN1's IP as failover.

NOTE: For this setup to work for internet clients, the DNS server of the upper-level domain (which is draytek.com in this example) needs an NS record to redirect the DNS queries for your hostname to this router.

Set up Inbound Load Balance

1. Go to WAN >> Inbound Load Balance, enable Inbound Load Balance and click Add to add a profile for your domain name.

a screenshot of Vigor3900 Inbound Load Balance Settings

2. Configure the Inbound Load Balance profile:

  1. Enable the profile
  2. Enter the Domain Name that you own.
  3. Select Mode to 'Failover'
  4. Set the Priority Setting for each interface. The highest priority is 'Top,' and the lowest is '5. In this example, we want WAN2 to be the primary interface and WAN1 to be the failover.
  5. Click Add, enter both WAN1 and WAN2 and set the same weight for them in the Interface Mapping/Weight.
  6. Click Apply to save the settings.
a screenshot of Vigor3900 Inbound Load Balance Settings

3. Furthermore, we can set Vigor3900 to answer the WAN IP of the other router, to distribute the inbound traffic.

  1. Set the Priority of interface extern in the Priority Setting.
  2. Select 'Manual Input' in Alias Setting.
  3. Click Add, enter the Alias IP address and set the Weight.
a screenshot of Vigor3900 Inbound Load Balance Settings

4. On Detail tab, you may edit the DNS Parameter or add Resource Records to give more information about this domain name.

a screenshot of Vigor3900 Inbound Load Balance Settings

Verify the settings

Now, when the router receives a DNS query for the domain "fae.draytek.com", it will always reply with its WAN2 IP.

a screenshot of executing nslookup in command prompt

When WAN2 is down, the clients will get the IP of WAN1.

a screenshot of executing nslookup in command prompt

Once WAN2 resume its service, they will get the IP of WAN2 again.

a screenshot of executing nslookup in command prompt

Add Sub-domains

In each domain name profile, you may add up to 20 sub-domains. To do this, click Add in the domain name profile, enter the hostname, and add the interface which can be mapped to this sub-domain.

a screenshot of Vigor3900 Inbound Load Balance Settings

After clicking apply, the router will also reply to the DNS queries asking about ftp.fae.draytek.com.

a screenshot of executing nslookup in command prompt

Published On:2016-05-13 

Was this helpful?   

book icon

Related Articles