• Happy holidays, folks! Thanks to each and every one of you for being part of the Tom's Hardware community!

Routing a public IP

routingpb

Honorable
May 5, 2013
1
0
10,510
Hi,

I would need help on the following:

I have:
- A 16 Public IP range (XXX.XXX.XXX.10 - 25)
- My wireless router is using one WAN public IP behind the router
- My server is behind the router on the LAN with one static IP (192.168.0.10)

I would like my server to have a WAN public IP, say XXX.XXX.XX.15
How do I configure the "Routing" panel of my wireless router?

The interface is as follows:
> Network / Host IP
> Netmask
> Gateway
> Metric
> Interface

Thank you,

Cheers,
 
Solution
Most consumer-grade NAT routers don’t support multiple public IPs on the WAN (you simply have no means to BIND more than one through the GUI). So no amount of routing configuration is going to get past that problem. Most likely you’ll either have to upgrade to a business-class router, or run your own gateway (e.g., pfSense).

But there is one exception. If your router is dd-wrt compatible, you could configure it for multiple public IPs using one-to-one NAT.

http://www.dd-wrt.com/wiki/index.php/One-to-one_NAT

Of course, the reason it’s possible is because you’re able to access the router’s CLI (command line interface) for hacking purposes (something not typically possible w/ a commercial router).
Most consumer-grade NAT routers don’t support multiple public IPs on the WAN (you simply have no means to BIND more than one through the GUI). So no amount of routing configuration is going to get past that problem. Most likely you’ll either have to upgrade to a business-class router, or run your own gateway (e.g., pfSense).

But there is one exception. If your router is dd-wrt compatible, you could configure it for multiple public IPs using one-to-one NAT.

http://www.dd-wrt.com/wiki/index.php/One-to-one_NAT

Of course, the reason it’s possible is because you’re able to access the router’s CLI (command line interface) for hacking purposes (something not typically possible w/ a commercial router).
 
Solution