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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

internet servers

Status
Not open for further replies.

logi2000

Programmer
Jun 17, 2003
221
CR
how many servers can i have connected to internet if i only have one public ip address, how can that be done ?
 
If you are limited to one IP, you are limited to the number of ports and the UDP/TCP combinations of them.

For instance, TCP port 80 on your IP would normally be HTTP. You could, for some reason, define, UDP port 80 as fingerd or something nutty. Normally its a very poor idea to move services away from their normal ports (in /etc/services).

Thus, you are limited to the available combinations found in /etc/services for the ports on a single IP #

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
Also be aware that:

1. some services can use more than one port (e.g. S-FTP)
2. a web server can differentiate on URL, so although they all connect on the same IP and using port80, the server can host multiple web domains and redirect to the correct one based on URL.

<marc> i wonder what will happen if i press this...[ul][li]please tell us if our suggestion has helped[/li][li]need some help? faq581-3339[/li][/ul]
 
ok but i just want to know:
how many servers can i have connected to internet if i only have one public ip address, how can that be done ?
 
What do you mean by servers? Physical computers, sites being served, or just people gaining access to surf the internet... The question you ask is not clear and that is probably why you haven't received the answer you're looking for.
 
ok. how many physical computers can i have connected to internet, if my network only has one public ip address ?
 
If you get a router, you should be only limited by your bandwidth. The more people you connect to a connection, the slower it will get (assuming the connected users will use the connection simultaneously). But the physical number of computers you could connect is quite high. For instance, your setup could be like this:

Internet---Router---Computers

Where the number of computers connecting to the internet would be limited by the number of ports on the router

Or

Internet---Router---Switch---Computers

Where the number of computers would be limited by the number of available ports on the switch in addition to the number of ports on the router. You could plug multiple switches into one another, such as:

Internet---Router---Switch---Switch---Switch

Computers would be able to plug into each switch. So, the number is actually quite limitless.

The default for most routers will translate your Public IP address to a Class C internal IP address. This is done through Network Address Translation. You could use a class B or a class A network to connect more PC's than in a Class C network, but since you'll be able to connect 253 computers to a Class C network (254 actually, 253 computers and 1 router) I doubt you need detail about changing to a different network address.

Hope that's what you're looking for...

deeno
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top