Discussion Locked

Setting up a router

0 helpful
35 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a server based network and I'm trying to setup a router to share DSL throughout the network. It says to choose obtain IP automatically, which I did but on the server it doesn't have that option, so I have to keep using the existing IP. So when I try to run the setup for the router my network stops communicating with the server, because they received an IP not compatible with that of the server. What can I do in this situation.
Thanks for your input.

35 replies

by chris.rodgers

If your ISP gave you a static address you would use it there but on DSL I don't think they'd do that. You'll need to make sure the router can handle DSL. If it can than you shouldn't have to set a IP adress as your ISP will give you a address. The internal side should be able to either be set up by DHCP or a static address, you should make it a static address that is accessible from the other machines but is not in your DHCP range if you're running DHCP. If you need any more help give me a e-mail.

by alex555

The router I am using does work for DSL it is a linksys BEFSR41. But the thing is that my router does not allow me to choose obtain IP automatically, so the IP's that the other computers get an IP that is on a different subnet sothen they can't communicate with the server, so what can I do,should I ask the ISP to give me a new IP and subnet for my server, or what?
I really appreciate your help.

by road-dog

The BEFSR-41 DOES do DHCP as a client on the WAN side and server on the LAN side. Enable DHCP on the WAN side, you will also have to set a couple of other things in your ISP "how to" package. (DNS Primary and Secondary, PPOE, and the like)

On the LAN side set your LAN port as 192.168.0.1 255.255.255.0

Enable DHCP server and NAT
Set the allowable DHCP range to 192.168.0.50 through 192.168.0.100.

Hard configure your server's IP address for 192.168.0.5 255.255.255.0 default gateway 192.168.0.1

If you have a networked printer, set it as 192.168.0.6 255.255.255.0

Computers, set to "use automatic address assignment. Lather, rinse, repeat.

by alex555

and what is the NAT, and how should I set that up? So your saying set the IP's for the pc's to 192.168.0.1?

by road-dog

This allows you to map 254 IP addresses on your LAN side to a single address on the WAN side, sharing the connection.

Set your PC's for DHCP, to pull their IP info from the router on bootup.

192.168.0.1 should be the address of the LAN port on your router, with a 255.255.255.0 mask. This leaves you 254 addresses for devices on your LAN. Save a range for devices that will have statically assigned addresses (server/printer), and assign a block of addresses for DHCP assignment. DO NOT OVERLAP.

by gpaz

If you have a lot of pc's hooked up to the server then i dont recomend what i am going to say, but if you have a few, then i would say give them static IP Address to the machines, you will have to disable LMHOSTS Look Up, in that way you are in control of what machine gets what and have less controvercies, If you don't feel like dealing with asigning ip to each machine, then The way you are doing it so far should work. just a though! ;)

by lordinfidel

(not blasting) What does that have to do with IP other then mapping netbios names to IP address'?

Unless you know some magical thing about LMHosts that has alluded me all these years?

by lordinfidel

But the answer is staring you in the face. Now I'm not going to tell you what the answer is, because that defeats the purpose of you thinking on your own.

What I want you to do is to take a piece of paper and draw out each device that you have. Your modem, your dsl router and your pc's.

Draw lines to each one in the way that they are connected. Then at each device, on your paper, write down what IP address' they currently have.

Then study your diagram and the answer will appear to you.

by alex555

Yes this time it's really something I'm trying to fix not a school project. I am really trying and hopefully you're thought will help.
Thanx

by lordinfidel

If you have 2 machines, each with only 1 IP address. And each IP address is from a different network, will the 2 machines talk to each other if both are plugged into the same switch.

by lordinfidel

Look at your paper with the IP's on it. What do you see now? (and don't say pretty squares with lines)

by alex555

The ISP is providing me with one dynamic IP, would that work if I use a router to share my DSL connection with more than one computer? Please help me out.

by lordinfidel

The external IP is abritrary at this point.
Basically you are NAT'd your internal machines to that IP address.

The dsl router will handle all of that for you.
As long as you set all of your machines to use dhcp and plug them into the dsl router.

Your dsl router should have at a minimum 2 ports on it, 1 is your WAN port and plugs into your dsl Modem. And the other you would plug into either your PC or a switch. Your dsl modem should plug into your phone line. Your dsl modem and router are 2 seperate devices.

If you only have 2 ports on the dsl router then you need a switch.

Then plug your dsl routers port into the switch, and connect your systems into the same switch. They should be able to obtain an IP address from your dsl router, assuming that dhcp is enabled, which it usually is by default.

This is the easiest way to get up and running.
By no means is it the only way though.

Personally I prefer using linux as my "dsl router" using rp-pppoe, but that's just me.

The main prinicple remains the same across all of the different implementations. You are taking a single public address and NAT'd (network adress translation) to private IP's. That way all of the outbound connections from your network, no matter what machine they originated from, look like they came from 1 IP.

by don_c

On the subject: dear abee hee! hee! I had to say that. I have a linksys BEFSR41 router and it is 4 port. I run one server with AD and five clients in my home im on cable. so I can give a little advice on the subject

1. The frist thing you need to do is turn off the modem an unplug the router

2. Then you need to goto all your pc's and make sure they obtain IP automatically inculding your server

3. Then shut all pc's down

4. Push the rest in the front of the router (hold for 30 sec)

5. in order restart the modem then the router and one pc goto the router's setup page to the dhcp page enable the dhcp set the starting ip address to 100 then the number of users to 50 you shouldnt need anymore than that click apply. Unplug router. restart router reboot pc

6. goto the cmd and tpye ipconfig/all then goto the enternet

7. repeat step 6 for all other pc's and server

hope this helps its what i had to do for my network and i have had my router for two years and had no problems even if you have static or not

by alex555

I will try that, but my only problem is that I can't set the server to obtain IP automatically, it only has the option were I have to assign an IP for it. Why is that? It's the first time I seen that.

by omie

You are not helping Abee at all. You are just confusing the person. Based on your posting you are not helping him out.

First argument is on the server. All servers must have a static IP address or else the services will not function. What are those services..? I hope you know what are those.You can't even configure the AD without static IP address.

Second argument is that he is trying to configure a linksys router. Do you know what are the items you need to configure on the router. Roaddog is right in his advise.You need to configure the IP addresses on the WAN side and on the LAN. You need also to configure the authentication. You need to decide if the router will be your dhcp server. You will just need one DHCP server. If the server is the dhcp server disable the router dhcp or vice versa. but I recommend the router as dhcp server for simplicity, unless the user is comfortable in configuring the WIN2k server dhcp service.

In assigning the IP on the server it must met the following requirement.
IP -->should be unique from the lan IP but it must belong to the same subnet.
Subnet mask: this defines your scope of IP addresses
Default gateway. that is the IP adress of you router

DNS: since you are using the router as DHCP server use the DNS of the ISP.

You could call linksys tech support to configure your router if you are not comfortable.

by don_c

First argument all servers need a ststic IP. Wrong its better to have a static IP but you really don't have to have one. My linksys router and Abee's are the same router. My server is a W2KS domain controler and runs AD. One client is XP two are W2K one win98 and a linux box. So im not trying to confused Abee

Second argument yes you only can have one dhcp sever and that was what I was having him do.Using the router as the dhcp sever. The linksys is pretty simple router to use

In previous postings he said this is not a school project. But it is he's learning different way's of doing networks.

This is for road-dog. I agree with you on what you were saying and I just giving abee a quick fix

by alex555

So this is what I will do.
Keep the static IP on the server but keep it on the same subnet as the Router, and my rouer will be my dhcp.
I think if I have any further problems I will call tech support.
All you guys are great help and I really appreciate all your inputs. Thanks
And I will let you know how it goes.

by alex555

I'm usin windows 2000 on the server with the small business server software, and windows 98 on the clients.

by don_c

on the desktop rightclick my network places /properties rightclicklocal area connection / properties highlight tcp/ip then properties and your there sorry it took so long to reply long days

by alex555

I have done all of that but the main problem I have is that I can't pick obtain IP automatically on the server. Another question, should I delete the old Domain name and host name which is probably for the old ISP?

by omie

I hope you know your stuff for it is dumb to configure a server to have a dynamic IP address .Never heard an IT pro that knows how to configure server will use dynamic IP address. Any server is needs a static IP to have a reliable service. For a DC with DHCP IP and you were able to configure the AD ... give me a break.How did you configure the DNS ?

by don_c

When you setup the router for dhcp it will give all your pc's IP address. Look in the dhcp table for the IP. Then put that in your dns. That router will not change the IP address for that port as long as you don't plug another computer into it will also stay the same even if you reboot the sever. The dns server dont know if the IP address is static or dhcp so long as it dont change. REMEMBER we are dealing with M$

by omie

You are talking a different DNS. You can't configure the server AD if you don't setup the DNS server. You are talking the DNS in the router setup that is the DNS for your ISP.

by happy_hardc0re

Sorry I havent read all of the posts to the topic, but I have a few suggestions that may help you out.

#1, Have all NICs in computer to automaticaly obtain an IP from the DHCP server" your router" and keep them all on the same subnet unless you need them to be different, usually 255.255.255.0 works just fine.

by alex555

I just want to thank everyone for their assistance in this problem, I really benefited from everyones reply, and it turned out that I was doing the right thing to start off but the problem turned out to be the phone jack that someone installed was bad, so I changed that and hooked everything back up and it worked. It took me a while to let you know cause I've been really busy.
I just want to say thanks again.

by r3d

The only thing he has to worry about for his network is if the router config breaks or is reset (not likely) and the router gives the address to a different system. Then he has to resetup the router config to give the address to his server. Wouldn't take long, but can be a pain...

You could just make the IP of your server static and let the router handle the rest of the DHCP addresses. easier and less hassle if the router breaks or dunps it's config. I have a similar router, but I have the 8-port...

Wish you guys luck!

-R3D

This discussion is closed to new replies.