Re: SOLVED IT

#47591

gordon
Member

Ok how to pass on public static IP’s to vlans

make sure you have a dhcp asssigned address on the wan nic not a static.

add this for each static ip to vlan you to the Startup/Cron – Post Boot script

Note the 10.0.10.1 address is the local address assigned to the vlan interface

# Startup Script
route add -net 89.xxx.xxx.90 netmask 255.255.255.255 gw 10.0.10.1 # Users Router IP

Then add an ip to the vlan interface of say 89.xxx.xxx.91 subnet 255.255.255.255

Done, assign the machine on that vlan with:
IP: 89.xxx.xxx.90
Sub: 255.255.255.240
GW: 89.xxx.xxx.91

bingo job done, I have also assigned a DHCP to the local address so that a machine on the end of it can get a dhcp local address to test connection if needed.