- DrayOS 5, imported, wan_setup, public_ip, vlan_configuration, dhcp_server, lan_routing
Use a Public IP on LAN using 'For Routing Usage' option (DrayOS5)
WAN Setup
Go to Configuration / WAN 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.)
LAN Setup
- Go to Configuration / LAN / LAN Networks page, click "Add" and create LAN profile as follows:
- Select Routing for Usage.
- Enter the IP Address for the router. Note that this could be the same as router's WAN IP Address.
-
Enter the Subnet Mask according to ISP.
- For DHCP Server Configuration, we may either:
-
Disable DHCP Server, and manually set a fixed IP/Subnet Mask on the host.
-
Enable DHCP Server, and set up the DHCP IP pool according to IP range which the ISP provides.
- Go to VLAN List tab, click "Add" to create VLAN ID as follows:
- Input the VLAN ID number in range 1~4096.
- Enter a Name of the VLAN.
- Select the LAN network we just created.
-
Click Apply to save the profile.
- Go to Interface VLAN tab, configure the Interface VLAN Settings as follows:
- Select "Access" as Port Type. We use Port 3, Port 4 as example.
- Select the VLAN ID we just created on step 3.
-
Click Apply to save the profile.
After finishing the above configurations, a PC or Server that connects to Port 3 or Port 4 with IP address 211.100.200.154, subnet mask 255.255.255.252, and Gateway IP 211.100.200.153 can access Internet through the Vigor Router.
