< Knowledge Base

Use a Public IP on LAN by IP Routed Subnet

Published On: Mar 23, 2018 

If our ISP allocates a block public IP addresses for us, then we may use the public IP address with IP Routed Subnet or Routing Usage LAN.

Suppose ISP provides a public IP subnet 211.100.200.152/255.255.255.248 for us, and the gateway IP is 211.100.200.158. The public IP addresses we can use are between 211.100.200.153 to 211.100.200.157. The following shows how to set up a non-NAT subnet so that the server behind Vigor Router can use the public IP address 211.100.200.154.

network topology

1. Go to LAN >> General Setup, click on Details Page for IP Routed Subnet.

2. Set up TCP/IP details for IP Routed Subnet.

  1. Enable IP Routed Subnet
  2. Enter the IP Address for the router. Note that this could be the same as router's WAN IP
  3. Enter the Subnet Mask according to ISP.

3. For the host behind Vigor Router to obtain the public IP address, we may either:

    • Configure a fixed IP/Subnet Mask on the host
    • Set up DHCP IP Pool, enable Use LAN Port, and connect the host to the router on the specified LAN port (which is port 1 and 2 in this example)

    • Set up DHCP IP pool, enable Use MAC Address, add the host's MAC address to the table, and connect the host to the router from any of the LAN ports.

After finishing above configurations, host with a public IP 211.100.200.154/ mask 255.255.255.248/ Gateway IP 211.100.200.153 will be able to access Internet through Vigor Router.

 

 

1. Go to WAN >> General Setup, configure a WAN profile according to what ISP provides.

2. Go to LAN >> General Setup, select the LAN profile you want to use the public IP address. At More Subnet field, click Add to add a subnet as follows:

  • IP: The router's LAN IP (this can be the same IP as Vigor3900's WAN IP)
  • Subnet Mask: the subnet you want to use on LAN, this should be equal to or smaller than the Subnet Mask configured on WAN.
  • Mode: ROUTING
  • Save and then Apply the LAN profile.

3. Go to Routing >> Static Route >> LAN/WAN Proxy ARP, bind the LAN profile and the WAN profile.

4. For the LAN host using the public IP, configure the static IP address at TCP/IP configuration, where the IP address should be different from that of the router, the subnet mask should be the same, and gateway should be the router's LAN IP address.

Additionally, if there is a second WAN which has public IP addresses for LAN host, you may add more subnet in the LAN profile.

And then specify the second IP range to the second WAN at Routing >> Static Route >> LAN/WAN Proxy ARP.

Was this helpful?     


Related Articles