Computing.Net > Forums > Windows 2000 > W2K NAT problem!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

W2K NAT problem!

Reply to Message Icon

Name: t-bone
Date: May 17, 2007 at 14:20:27 Pacific
OS: w2k
CPU/Ram: 600/256
Product: asus
Comment:

I had a single W2K Server (2 NICs) with RRAS/NAT, it was set with NAT to hand out ip addresses since there was no DHCP server on this LAN. I configured the Internal and External interfaces. The W2K Pro clients then received internet access through this NAT with no configuration being done on the client computers.
Here is the problem.
I then added a W2K server to this LAN to be a DHCP server, NAT giving out ip addresses was turned off. The client computers and DHCP server then did not have access to the internet!! I then added to each client/DHCP computers Default Gateway the ip address of the W2K servers Internal interface.
The clients/DHCP server then received internet access!

Why when i added the DHCP server did i have to configure each clients Default Gateway?

Why when the NAT acted as the DHCP server the clients Default Gateways did not have to be configured?

The internal interface - DHCP Server - Clients are all conneted to a switch while the External Interface is connected to the router.



Sponsored Link
Ads by Google

Response Number 1
Name: Curt R
Date: May 18, 2007 at 05:39:45 Pacific
Reply:

Ok, let's see if I have this straight. You had one server giving out IP's via RRAS.

You then added another server to be your DHCP server.

You said, "I then added a W2K server to this LAN to be a DHCP server, NAT giving out ip addresses was turned off." What exactly do you mean. I'm afraid this isn't very clear.

NAT and DHCP are two separate services. NAT doesn't give out IP addresses, it translates multiple internal (LAN) IP's to access the internet through a single external IP. Only DHCP gives out IP's. Are you perhaps referring to the DHCP built into RRAS? If yes, turn it off and have DHCP running only from the DHCP server.

I'm afraid your post is rather confusing. Regardless. Here's a couple things to think about. You do not want two DHCP servers on the same subnet. If your clients aren't getting a gateway IP, check the DHCP scope settings and ensure you have the correct Gateway address set in there.



0

Response Number 2
Name: wanderer
Date: May 18, 2007 at 11:12:30 Pacific
Reply:

Q1: you didn't setup the new dhcp server to give out the gateway address as part of getting the ip and dns addresses

Q2: most likely it did it for you because its linked to MS DNS

Q3: makes no sense to me. Switch with pcs should be connected to the inside nic on the server and the externally pointing nic to the router facing the internet. At which point you turn off dhcp [can you do that is RRAS?]since you have a different dhcp server for your lan.

Imagine the power if you knew how to internet search


0

Response Number 3
Name: t-bone
Date: May 19, 2007 at 10:57:38 Pacific
Reply:

I initially had RRAS/NAT handing out ip addresses to the clients, thus clients were getting internet access without me having to set any default gateway ip addresses on the clients.
I then stopped RRAS/NAT from handing out ip addresses and added a DHCP server to hand out ip addresses, once i did this, the clients did not have internet access until i went to each client and entered a default gateway ip address (ip address of internal lan nic).

Why when i added a seperate DHCP server did i have to go to each client and enter a default gateway? When i had RRAS/NAT handing out ip addresses i didn't have to do this and each client had internet access fine?

Yes i only have 1 dhcp server on this lan? RRAS/NAT dhcp server is turned OFF! a seperate dedicated dhcp server is configured.

do i have a setting in the DHCP server to add a default gateway without going to each computer client one-by-one so i don't have to enter a default gateway on each client?


0

Response Number 4
Name: Curt R
Date: May 21, 2007 at 07:22:51 Pacific
Reply:

Why when i added a seperate DHCP server did i have to go to each client and enter a default gateway? When i had RRAS/NAT handing out ip addresses i didn't have to do this and each client had internet access fine?

Likely, you had the DHCP portion of RRAS/NAT configured properly (ie: gateway address setting). Chances are, you didn't set that up in the DHCP server when you created your scope.


do i have a setting in the DHCP server to add a default gateway without going to each computer client one-by-one so i don't have to enter a default gateway on each client?

Certainly you do, just go through your scope options again and find the Default Gateway setting and put the correct address in there.


0

Response Number 5
Name: t-bone
Date: May 21, 2007 at 11:49:59 Pacific
Reply:

Alright, I found scope options, and server options. For both options I added the DNS servers ip address for DNS, and for Router(Default gateway) I added the internal NICs ip address.

But to gain internet access for the DHCP server I still had to have tcp/ip properties configured for DNS and Default Gateway. I still have yet to check to see if this configuring has solved the clients problem.

Both DNS and Router (default gateway) happen to be the same ip address.


0

Related Posts

See More



Response Number 6
Name: Curt R
Date: May 21, 2007 at 19:09:32 Pacific
Reply:

Hmmm....well, you've got me stumped then. Once you have the right IP in the right settings (in this case, DNS and gateway) the clients should receive them and be able to access the internet.

You did verify whether or not the clients are getting the correct IP's right?


0

Response Number 7
Name: t-bone
Date: May 22, 2007 at 07:15:46 Pacific
Reply:

yes the clients are receiving their ip addresses in the right range.

For the dhcp server to gain internet access I still had to go to tcp/ip properties and enter dns servers and default gateways ip address for it to get internet access.

The changes i made on the dhcp servers options (default gateway and dns) i have yet to check a client to see if these settings will give the clients internet access without me going to each clients tcp/ip properties and entering the values manually.

it should work.


0

Response Number 8
Name: Curt R
Date: May 22, 2007 at 11:54:13 Pacific
Reply:

For the dhcp server to gain internet access I still had to go to tcp/ip properties and enter dns servers and default gateways ip address for it to get internet access.

This is normal considering your server should have a static IP. If it doesn't, slap yourself on the forehead, yell, "What was I thinking!?!?" and then statically apply all TCP/IP info for the server. Server's should always have static IP settings.

Yep, the clients "should" work. Just open a command prompt on a client, type in ipconfig /all to verify all the right IP's are in the right places. If they are, pop the browser open and test to ensure you're able to surf properly.

If it's working correctly on one client, it's likely to be on all of them.

I would recommend you completely reboot the client before testing. But if you're feeling lazy, try the two following commands from the command prompt window:

ipconfig /release
ipconfig /renew

and then of course, verify the TCP/IP settings.


0

Sponsored Link
Ads by Google
Reply to Message Icon

block yahoo and msn messa... SATA card knocked out my ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: W2K NAT problem!

W2K install problem www.computing.net/answers/windows-2000/w2k-install-problem/51071.html

Problem For W2K NAT UDP Port www.computing.net/answers/windows-2000/problem-for-w2k-nat-udp-port/42293.html

NAT problem www.computing.net/answers/windows-2000/nat-problem/24675.html