• DrayOS 4, imported, vigor_router, wan_setup, public_ip, fixed_ip, ip_routed_subnet, lan_setup, non_nat, dhcp_pool

Use a Public IP on LAN using 'IP Routed Subnet' Interface (DrayOS4)

Suppose ISP provides a public IP subnet 211.100.200.152/255.255.255.252 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.154. 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

WAN Setup

Go to WAN >> Internet Access and configure the WAN connection according to what ISP provides. (Note: If it is necessary to specify an IP address manually, remember that subnet mask for WAN interface should be larger than that of LAN interface.) a screenshot of DrayOS WAN Specify IP address

LAN Setup

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

a screenshot of DrayOS LAN Subnet list

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.
a screenshot of DrayOS IP Routed Subnet Details Page

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
  • Or 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)
a screenshot of DrayOS IP Routed Subnet Details Page
  • Or 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.
a screenshot of DrayOS IP Routed Subnet Details Page

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