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

More Machines than IPs 1

Status
Not open for further replies.

bookser

Technical User
Jun 23, 2003
31
US
I have 10 Windows XP PRO machines but only 5 static IPs from my DSL provider. What is the best way to get all machines connected to the Internet. My DSL router has limited NAT capabilities. Please help

Brad
 
Haven't done this myself, but know it is possible. Setup 1 pc with a static IP for your ISP, install second NIC and dual home this pc with internet connection sharing (XP has a network setup wizard). the second NIC will need to connect to the other pc's through a hub/switch.
 
DSL router? All machines connected to this? How limited NAT (surely it can manage 10 internal IP addresses - if you just have one for the router itself).
 
I have a similar situation.

I have 5 static IP address, but way more than 5 PCs - here is what I did.

I am running 2x Win2K servers, and 10x WinXP Pro Workstations

The 2 servers are each connected to the router, and they both have a second network card in. All the other machines are fastened to a network router, that is local to my LAN.
The 2 servers are also connected to this router, but via their 2nd network cards. On the servers I have set up NAT and a decent firewall on each.

M.

Hollingside Technologies, Making Technology work for you.
 
I have a Netopia Cyman 3546. I can enable NAT on the router, but it does not allow to configure the Private IP addresses to be used on my LAN. Will the router assign the IPs automatically? IF it does, what configuration should be set for the TCP/IP properties on the XP boxes? "Obtain IP address automatically". I appreciate everyone’s help.
 
It sounds like you are trying to make it more difficult then necessary.
Here is (I think) the easiest and logical solution:

Your router gets the one and only external IP address.
Your pc's get an internal IP address from the router.
When they connect to the internet your ISP just sees the one IP address. They do not know that multiple machines are connecting.

Jon

There is much pleasure to be gained from useless knowledge. (Bertrand Russell)
 
So all I should have to do is enable NAT and the Router should do the rest.
 
The router should have DHCP in it. You should not have to do any Nat'ing. The PC's should detect the DHCP and get an IP automatically. What you will have to do is tell the router it's External IP address to use, and dns server etc., and set up any security you would want. But, since this is not a wireless network you shouldn't have to change much on the router.

Is it a firewall too? Then you will have to do some configurations.

Jon

There is much pleasure to be gained from useless knowledge. (Bertrand Russell)
 
Here is what I would do....

You will need the following information:

DNS servers from the ISP. Get this by connecting one of the workstations to the router and getting it talking to the internet. When you have done that, go to a cmd prompt, and type 'ipconfig /all'

Now - you will need to designate one of your workstations to be the internet gateway. THis means that all internet traffic will go through this machine. Don't worry - it won't affect the performance of this machine in any way that you will notice, and details of what others acess on the internet will not be visible on this gateway machine.

In this one PC, you will need to put in another network card. From this network card you should connect to a network hub or switch. Connect all the other machines to this hub.

On the other 9 machines, configure their IP addresses manually. Set the DNS addresses to those that you got earlier on, set the gateway to 192.168.0.1, and set their IP address to 192.168.0.xx, where xx is a unique number (not 1 or 0). The IP submask should be 255.255.255.0

In the PC with 2 network cards - connect the other one to the router that provides internet access.

Once this PC can access the internet - go to the network card properties of the card that connects to the router, and enable internet connection sharing.

Bingo - all of your PCs should be able to see each other, and the internet.

Note - if you switch off the internet gateway - then the other PCs will lose internet access until it restarts.

M.

Hollingside Technologies, Making Technology work for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top