Solved

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

Posted on 2008-10-29
11
522 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

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
 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

825 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