Public IP to one VLAN

Hi Guys,

I have 1 fiber internet line that has been using two separate VLANs, 1 for office 192.xxx.xxx.0/24 and 1 for guest 10.xx.xx.0/24.
I want to route public IP to only one Server of office network for example 192.xxx.xxx.100.

I want to set Public IP to office VLAN also OK.
But I prefer to assign directly to one Server.

How could it be done?

Thank advanced.

This is generally a bad idea. You should do NAT at your router, and either enable hairpin NAT (so internal hosts can reach the server on its public IP) or else use split-horizon DNS so that inside hosts get the private IP address when resolving the hostname, but Internet hosts get the public IP address.

The work-arounds you need to do to get things the way you’ve requested will be hard to troubleshoot and make your network a jumbled mess, especially if you do more such things later for more servers, etc.

Keep it clean and simple.

Thank ZeroByte for your response. My main purpose it to differentiate office VPN IP from guest internet IP address.
I wish my office network IP from blacklist system, like http://www.mxtoolbox.com.
My IP is in blacklist now. Please hlep me.

I’d say follow whatever instructions the blacklist provider gives for getting removed. If it’s SORBs, then you’re in trouble because they’re pretty much just extorting money from people.