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

Clients can't pull IP from NAT

Status
Not open for further replies.

jwarmuth

IS-IT--Management
Sep 22, 2001
151
CA
I am trying to set up my server to use NAT to allow my intranet high speed access.

There are a few questions that I haven't been able to get a definitive answer on yet, such as will NAT work if the public adapter is using DHCP, and does the internal nic have to be configured static or can it use DHCP to pull an IP from the range specified for clients?

At any rate I have tried them all and can't seem to get my client to pull an IP address from the server. Here's how I have it configured now:

Public Adapter: IP - DHCP - internet is working fine
is set to translate tcp/udp headers

Private Adapter: IP - static - 198.162.0.1/255.255.255.0

With this setup I have internet connectivity on the server. My client can't seem to get an IP from the server though. I set my client as static to test that and giving it an IP of 198.162.0.10/255.255.255.0 I was able to ping the private nic on the server, but unable to gain web access, or ping outside the network.

Any ideas of what I should be looking for?
 
To reply to the first question. All NIC's can is DHCP. The only IP that has to be static is the IP of the private server NIC. Else you never know where your server is.
When you want to share internet using nat you have to make sure that your local clients have the NAT server IP as default gateway. You can set this in the dhcp records so it is assigned automatic or you can do this manual. This should fix your problems.

Arjan Meskers
Junior Software Developper
The netherlands
 
Also the DNS entry on the client needs to be set to the IP of the NAT server and the subnet mask needs to be set, usually 255.255.255.0 . By the way I don't know if you mistyped the IP but when NAT is set up with default settings, it gives out DHCP addresses in the form 192.168.0.x, so if your NAT server is 198.162.0.1 you won't be able to access anything.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top