Question Locked

Setting up Linksys Router and Win2k DHCP/DNS Server

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

We're running a win2k server at our engineering office and I wasn't the original IT guy, but I have solved a lot of major issues with the server over the past year.

However because of the unstable nature of our internet sometimes, I'd like to set up a linksys router (BEFSR41) as our primary internet gateway so that when we reboot the gateway and cable modem we don't knock users off the file/DHCP/DNS server.

What's the best way to approach this?

I want to leave the IP's as dynamically configured as we get a lot of visitors who end up using our wireless system (with a WEP key of course).

We do have most of the printers and office machines set as dynamically configured but I have a reservation mapped to most of the NIC MAC addresses.

The win2k server is set at the primary DNS/DHCP server as well as the primary gateway with the NAT translation mapping the internet gateway to the server.

Currently the Win2k server is also the internet router (Has 2 NIC's).

24 replies

by cg it

basic suggestion,

get a switch. If you can afford it, get 2 Cisco 2900 [2950/24] [2950/24 with uplink ports is even better but more cost].

All servers and printers get static addresses and are reserved in DHCP.

Get rid of routing functions on any of the servers [and 2 NIC configurations]

I'd dump the linksys router and get a SonicWall TZ 170 or a Cisco 800 series [f you know Cisco IOS. If you don't,get a SonicWall and then get a Wireless AP]

Once you have everything on a switch, if you ever reboot the router, the only thing that happens is no internet connectivity until the router comes up.

special note: Linksys is consumer level stuff. Unless the business says to only buy that stuff, cost aside, I wouldn't put it on a business network.

by tom.monter

As far as the hardware goes, I'll likely buy a sonicwall when we get the chance to upgrade, however in the meantime the Linksys is what I have. We are a small engineering firm with less than 20 employees.

How do I go about configuring DNS so that when someone tries to access the internet and the router is working they are able?

I'm just learning the DNS/DHCP side of things and could use some pointers on configuration.

by zerosportal

What type of internet connection does your business
currently have?

If you have a dynamic based internet setup, you would
want to just simply set up your linksys to dynamically
update. The DNS would be passed on to all of the DHCP
clients, and for the static ones (excluding printers) you
could always check the status page of your BEFSR41 and it
will show you the DNS addresses.

If you have a static setup, you will have to obtain those
specific settings from your ISP. What is nice though is if
your running a Win2k Server, under the "Configure your
server" section, you could always check the current
settings for DNS and such and just copy them down.

Hope this helps!

by tom.monter

Our current configuration is the Windows 200 server (Active Directory) is the primary DNS host on the network.

I'm using NAT translation to a dynamically configured host through Time-Warner broadband. (And it's often a pain)

What do I need to change in the DNS server to enable computers to forward DNS resolution requests for internet to the linksys router? I still want the Win2k to be the primary DNS for several reasons not the least of which is speedy logins for our workstations.

by cg it

matter of listing order for TCP/IP properties the NIC.

If you have less than 20 workstations [including the server] I'd dump DHCP and use statically assigned addressing [not much admin effort for 20 devices].

So for TCP/IP properties of the NIC, you'll have 1 listing for your DNS LAN server first, the second will be your ISP DNS server [they usually have 2] then in the Advanced setting properties page, DNS tab, you'll list the second ISP DNS server. Clients will process in the order listed and when your local DNS server can't resolve, the query will go to the ISPs DNS servers.

by tom.monter

Because of the nature of our engineering office with clients coming in with laptops that need internet access quite often I don't want to dump DHCP.

I want to leave the DHCP server intact but still be able to use the linksys router for internet access.

I know this can be done I just need to get it all figured out before I attempt it.

Would I set up the linksys as the IP forwarder in DNS? I can't imagine I'm the first person to want to do this.

by cg it

option 6 in DHCP options is for DNS servers the client is to use. list in order of preference the DNS servers. in your case, your AD server first, then the ISPs DNS servers.

option 3 is for the default router which is you linksys router. That is the default gateway.

option 15 is for domain name which you use for client host name resolution.

Note: your all in one box server needs a static address and any other servers on the network also should have static addresses. They should not be assigned DHCP addresses as these can change which would cause problems with the DHCP options you set. These static addresses are listed in the DHCP reserved address [or are from that pool DHCP reserves].

If it was me, I'd think, do these people with wireless laptops need to be on the corporate network? if all they want is internet access, I'd get a wireless router to segment them from the corporate network. They can still have internet access, but not be on the same network as the corporate network. just hook up the wireless router on an open wired switch port on the linksys,

by tom.monter

So basically the server would be responsible for DNS forwarding as usual.

As I understand the IP address of the linksys router would become the gateway IP for internet, with name server resolution still handled by the windows 2000 server?

by cg it

Don't have the linksys router be anything other than your perimeter router/gateway/firewall. The only thing it should do is provide NAT and be a firewall between your network and the internet [ISPs network].

Your server should be the point that provides clients with what it needs [in this case question, providing addressing, gateway and DNS info]. Your W2003 Server is an AD server which means client computers must log on and authenticate with it to gain network resources. W2003 server DNS has conditional forwarding already enabled on it [meaning that it's authoritative for the domain zone of your AD network] and will forward requests that it's not authoritative for instead of just dropping requests it can't resolve. you still need to list the ISPs DNS server on client computers to get to the internet. DNS is just resolving names to addressing or in a recursive lookup, address to names. When it can't resolve it'll forward but it needs to know where to forward. Typically root hint servers but in your case, you don't need to get so complicated. Just add your ISPs DNS server below!!! your DNS server in the DNS listing in options in DHCP. clients will try your DNS first and then your ISPs second.

try it out. take a computer and load in a static address subnet mask, gateway and your DNS server first and your ISPs second and see if you get to the internet.

using a Class C 192.168.1/24 range you'll have 253 host addresses available. With only 20 clients only 20 of those 253 will be used and if you setup your DHCP to lease beginning with 192.168.1.10 - 254, it'll lease in sequence so the most used would be 192.168.1.10-30 so you could safely use 192.168.1.252 for the trial comp and not worry about a duplicate address.

by info

Coming into this a wee bit late...I have a home LAN with a single (I know...redundancy; but only have 1 server!) AD/PDC running W2K Server. My BEFSR41 is DHCP/gateway to Internet (192.168.1.254); Server is 192.168.1.15. On the BASIC SETUP screen, I have entered 192.168.1.15 as STATIC DNS1. I no longer have to manually configure my XP-Pro clients with a DNS IP address to point to my PDC (which was needed for the clients to properly find the PDC). The Linksys gets the Internet DNS servers automatically when it gets its Public IP Address from my DSL provider's DHCP Server. All is now good and simple.

by tom.monter

We have a new problem and I received some help in the past from everyone here that was much appreciated.

The current setup on our windows 2000 server is that the server is being used as the primary AD authentication and a linksys router is being used for access to the internet.

The primary AD server is 192.168.1.1

The internet router is 192.168.1.60

Currently for workstations the primary gateway is set for 192.168.1.60.

All computers can access the internet fine.

The new problem is that peachtree software upgrade we installed requires that the local computer it's running off of have the AD server's gateway (192.168.1.1) and not the router's gateway. Basically this causes problems because the computers that accounting uses can either have internet or peachtree access but not both. Does anyone have a workaround for this? Is there a way to link the gateways or forward the server's gateway to the linksys router?

The way things are configured now the Linksys only acts as the internet bridge and the server is a file and accounting server. However peachtree is stupid and for some reason reason requires the server's gateway be the primary for it to even access the server files properly.

by cg it

it's not the internet router...

Peachtree needs the gateway for?? updates?

Peachtree shouldn't care what is the gateway as long as you specify the gateway out to the internet which in this case is the internet router.

by tom.monter

My bad that was a typo, the gateway is 192.168.0.60.

Obviously it shouldn't care but it does. If I set the gateway on the computer to 192.168.1.1 (windows 2000 computer) peachtree works fine, however if I set the gateway to 192.168.1.60 peachtree gives an error that the database software is not acessable. I know peachtree uses some type of SQL server but haven't been able to determine what is going on.

by cg it

This is all I could find on peachtree accounting and data paths eg gateway data path.

http://tinyurl.com/6dynn4

if your saying that you change the default gateway in the NIC properties page to the linksys router and you lose your access to your peachtree accounting database, then where the database for peachtree is located isn't on the same subnet as the workstations. The NIC default gateway simply is the way out of the local network. In essence, any data packets not destined for the local network gets sent to the default gateway and the router sends them to the next hop router. In this case the internet.

Where's the peachtree db server? is it on another subnet? [does your server have to route traffic to another LAN to get to the db?]

by tom.monter

Hmmm,

Well peachtree access does fail when I change the primary gateway to 192.168.1.60 to 192.168.1.1 it gives me an error that the database software on the server is not installed. I wonder if this has to do with the pervasive SQL software that Peachtree installs. I wonder if it was configured to the old setting before we switched the server from using the integrated internet routing to the Linksys for routing internet traffic.

What is odd is that if I set a secondary gateway on the local machines a few minutes after logging in on that machine the internet becomes accessible.

The exact message is:

"Your database engine on computer *servername* is unavailable. Please make sure that computer is logged in or that the database service is running. Click Retry when the database engine is running or Cancel the current operation."

This message only appears after I change the primary gateway to 192.168.1.60 from 192.168.1.1. It also only happens on windows 2000 workstations but on windows XP workstations peachtree is unstable and locks up, and generally acts funny if 192.168.1.1 is not the primary gateway.

The Peachtree database is on the DNS/DHCP server on a separate raid from the OS.

This is a really frustrating problem.

Maybe I need to go back and reinstall the pervasive SQL software or at least do a repair on it.

by cg it

Tom... is your network still setup with the W2K server having 2 NICs? if so, are the workstations on one side of the server and the db server on the other side?

eg db server >>>> NIC1 W2K Server <<<<< NIC2 W2k Server<<<< workstations?

by tom.monter

Basically I have the server which is plugged into the network switches and the Linksys router is plugged into the switches and each of the workstations uses the 2K server as DNS resolution, DHCP and as a file server and/or accounting server.

by cg it

what the gateway address is.

I'd send a message over to peachtree and tell them what's happening. There was nothing in the KB about this.

I would also check the "gateway" path.... peachtree uses the term "gateway" to describe the path to the database.

by tom.monter

Later tonight I'll try reinstalling the Peachtree software on the server after a complete uninstall and see if that helps. I'll also be installing an update to the pervasive SQL software to see if that fixes it.

by tom.monter

Well after running around and around the problem I finally found the solution. I had to uninstall the peachtree software and pervasive SQL software from the server. Reboot. Change the settings for the server NIC from a gateway of 192.168.1.1 to 192.168.1.60 (linksys gateway) and reboot.

Then reinstall the peachtree software, apply the pervasive client 9.5 update and reboot.

System works fine now.

What a pain in the ass and a LOT of trial and error. I now officially despise peachtree.

by cg it

so the IP is actually set during installation eh? so if you change your gateway addressing you have to uninstall and reinstall?

I'd send in a comment or complaint to Peachtree.

by tom.monter

Pretty stupid eh? You'd think they'd be smart enough to allow dynamic update off of the DHCP server during bootup of the server.

Thanks for all the attempts to help.

Just out of curiosity what would your recommend for a hardware internet gateway with good security and space for about 25-30 workstations? I really want to get our system off of this Linksys ASAP.

by cg it

Cisco would be my first choice. 1800 series.

Second choice, I'd go with ISA Server. There's a lot you can do with it and its far easier to work with than Cisco IOS. ISA can take the place of a perimeter router and firewall, plus provide internet access control via site, content rules as well as allow of deny access by domain account. It also gives you a bunch of reports on what's going on.

This discussion is closed to new replies.