Solved

Client PC can not access Internet thru Windows 2008 DHCP, 2 Nics

Posted on 2008-10-29
11
518 Views
Last Modified: 2009-12-16
Windows Server 2008 can get on Internet. client PC can pickup the IP from DHCP server but
can not get on the Internet.

Win Server 2008 has two network cards.

Nic1 (WAN)

IP: 10.0.1.49
Subnet Mask: 255.255.255.0
Gateway: 10.0.1.1
Primary DNS: 66.180.96.12
Secondary DNS: 64.238.96.12

NIc 2 (Lan) DHCP

IP: 192.168.16.2
Mask: 255.255.255.0
Gateway: none
Primary DNS: 196.168.16.2

Client can pickup the IP but cannot access the Internet. Client PC can ping
192.168.16.2 but cannot ping 10.1.1.49 Any suggestions?
0
Comment
Question by:dtang888
  • 7
  • 4
11 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 22837050
The issue is that you have external DNS servers listed in the server's TCP\IP settings. You shouldn't have any external DNS servers listed in your internal network. You need to set these DNS servers up in the forwarders tab in DNS.

http://www.windowsnetworking.com/articles_tutorials/DNS_Conditional_Forwarding_in_Windows_Server_2003.html
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 22837062
Are you trying to route? You should also go to the TCP\IP properties of the external NIC click advance then go to the DNS tab and uncheck Register this address with DNS. Make sure your DNS server is listening on the internal NIC also.

http://technet.microsoft.com/en-us/library/cc759481.aspx
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 22837070
Sorry posted to quickly. The 10.0.0.0 are only used for private addressing which means it isn't routable to the internet. You must have a route setup within RAS to allow the client to ping the other address. What are you trying to accomplish?
0
 

Author Comment

by:dtang888
ID: 22837584
I did setup RAS & selected NIC 1 for Internet Access. All I wanted to do is let client PC login to server and the client is able to connect to the Internet. Did you mean I should not use Primary DNS: 196.168.16.2 for internal network. I will read the articles you suggested.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 22840556
This is address 10.0.0.0 is for only internal networks it isn't able to router externally. Can you give me a quick overview of your network?
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:dtang888
ID: 22840973
I have a Cisco router that porvides the Internet access with a fixed IP. I manually assigned an IP 10.0.1.49 , gateway 255.255.255.0, gateway 10.0.1.1 for the Nic 1 of the W2K8 server so I can access the internet form the server. I, then, assign the IP of the NIC2 as 192.168.16.2, mask 255.255.255.0 and no gateway and configure as a DHCP server. My client WinXP can pickup the IP like 192.168.16.10 from the DHCP server, but cannot connect to the Internet. I am sure I did something wrong somewhere. But I don't know how to fix it.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 22841851
If you have a cisco router  then you don't have to setup a route in the server. You can use one NIC card allow the clients to access the router's internal NIC which is the 10.0.0.0 network address. You can change the router's internal NIC to match the 192.168.0.0. address. You are routing twice.
0
 

Author Comment

by:dtang888
ID: 22847922
I changed NIC1 to static IP as follows:
72.16.xxx.6
mask: 255.255.255.248
gateway: 72.16.xxx.1

My client pc still can not connect to the Internet. When I ping google from the client PC, it returned

www.1.google.com [74.125.47.99] .......
unreachable

Looks like it pick up the DNS info, but still can not ping to outside IPs.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 22850105
Why did you change NIC1 to this IP address?

Do you have a switch?
Does the client connect to the switch?
Does the server connect to the switch?
Does the router connect to the switch?
0
 

Author Comment

by:dtang888
ID: 22851169
Why did you change NIC1 to this IP address? So I can use all 5 public IPs. Right?

Do you have a switch? I connected Cisco router with a switch 1. 1st NIC connected to switch 1.
Does the client connect to the switch? client connected to switch 2
Does the server connect to the switch? Nic2 connected to switch 2.
Does the router connect to the switch?
0
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 500 total points
ID: 22852058
Is the router acting as a DHCP server? You don't need to make NIC2 an external address. You should configure the cisco router to use the 5 addresses. The cisco router is routing your internal network to the internet. You can't have an external address on your internal server. Let the cisco router do all routing for you.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now