Articles

Setup static WAN IPs and NAT LAN IP

September 21, 2007 at 07:29:00
Specs: Windows XP/CentOS, Varies

I have recently subscribed to a DSL ISP that provides me with a /29 subnet and 6 static IPs. I have some servers that I would like to setup with static WAN IPs (to be fully routable) and a few desktop computers which I want to share using static IP using NAT on a router (to be non-routable). I am unable to currently have both WAN and LAN IPs functioning on my network so far. I have more machines then available static WAN IPs.

How do I setup a network to have WAN IPs go to some servers and have the desktops only use NAT?

Here is the equipment I currently have:
DSL modem: Broadxent 8012U-V
Router: Linksys WRT54GS Ver:1.0
Switch: Netgear FS526T

I also have a server available with 4 network connection available (firewall/gateway/NAT maybe?)

I have looked around on Google, but have not found any solutions so far.
Thank you very much for any help!

Matthew


See More: Setup static WAN IPs and NAT LAN IP

Report •


#1
September 21, 2007 at 11:29:18

I would suggest you review your understanding of what routing and nonrouting is about. It would explain "I am unable to currently have both WAN and LAN IPs functioning on my network "

Normally it is not advisable to put a server as a host directly on the internet.

Normally you only use one wan ip on the wan interface of your router and do nat to your lan. If you have a web or mail server you would forward ports via your router to those ip addresses. This is where doing ip reservations in the router pay off. Its a way of doing static ip assignments but using the lan ip not a wan ip.

You would get your isp to put in a mx record into dns for the mail and an A record for the web server.

You can't use 4 network ports in the server with your equipment.

"How do I setup a network to have WAN IPs go to some servers and have the desktops only use NAT?"

You would configure as this:
internet<>switch with static wan ip servers
internet<>switch<>router<>pcs with lan ip.

This puts the static wan ip servers as hosts on the internet. Better keep them patched, secured and software firewalled!

You may need to add route tables to the router for the pcs to communicate with the servers.


Imagine the power if you knew how to internet search


Report •

#2
September 22, 2007 at 05:51:21

The only way to give you a real answer is to ask the question...what are you trying to do with the servers you want to put on the internet?

D


Report •

#3
September 24, 2007 at 07:09:20

I would like to host three different web servers and two FTP servers. I really only plan to use 4 static IPs, one for each web server (to use port 80) and the fourth one for my router to do NAT for the desktop computers. The two FTP sites will be hosted on two of the web servers

I hope that this helps to explain a little more.


Report •

Related Solutions


Ask Question