Need explanation on static IP's, port forwarding to multiple machines, and how to set up my network
Posted on 2009-02-17
I currently have a static IP via business class DSL. I have a Motorola DSL modem connected to Linksys VPN wireless router, and then 2 gigabit switches.
The router has 1 of my 5 static IP's on the internet.
Behind that I have multiple machines including 2 Win2K8 servers. One is our business server which I run Terminal Services off of so we can run Quickbooks for on site billing.
The other server is a test server which also runs TS, and a few other applications that I use to demo with. I have both servers set static on the local LAN.
To switch between them before I was going into the router remotely and changing the port forward from 1 ip to the other but now I want to be able to access both, at the same time.
I added a A record that points to my static IP, remote.xxxxxxx.xxx.
How do I set this up so that I can access either box from the internet? If the router itself has a static IP, how can I assign the box beyond the router one of my other 4 static IP's? How will it route?
I've thought of changing the ports on each so RDP protocol on 1 port would be through 1 box, and another port on the other but since this is for demo'ing I don't want to reconfigure client machines to try out the demo server.
I understand how the router works, the confusion comes in on how does 1 static IP route through another? If my static IP's are:
And the .1 is my main IP assigned to the router, how can I assign one of the Win2K8 boxes the .2 address, how would it know to route there?
What I'd really like is to add another A record with test.xxxxxx.xxx so people can resolve to a domain name but again if I point it to one of my other 4 available address, how do I configure the router?