Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple domain names

Status
Not open for further replies.

sampko

Programmer
Nov 4, 2004
76
US
I have one ip, but multiple domain names. Anyway to use nat to determine what domain name someone browses to, and based on that send it to a seperate ip on the internal network?
 
ip nat inside source static [tcp/udp] [inside-ip-address] [port] interface [outside-interface-name] [port]

example, FTP traffic to inside host @10.1.1.12

ip nat inside source static tcp 10.1.1.12 21 interface Dialer1 21

The port numbers can be whatever you need them to be, like 2121 for a second FTP server.

HTH

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
I am assuming this is for HTTP requests? If not then what services are you looking to forward? As long as your DNS records point to your single external IP then what Burt suggested will work for different services.

However, if you want to host multiple services using the same port (like 80), you will need to have a device that can perform application level header inspection. For example, the device can examine the header content and route packets as follows:

Website(GET request) Public IP Private IP
--------- --------- -----------
50.0.0.1:80 192.168.0.1:80
50.0.0.1:80 192.168.0.2:80

Basically it will intercept the HTTP requests, examine the header packet, then route it accordingly.

You can use a content services switch, like the Cisco 11500 or probably a Cisco 400. You could even use Microsoft ISA server.
 
Yeah, after re-reading the post it looks like he's after multiple dns names, one public ip address, multiple inside hosts like your example, NetRX...

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top