Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

Win 2012 R2 local LAN no internet connection

Act as DHCP-Server: On local LAN all work fine, but the clients can not connect to the internet
0
HeinzWSueess
Asked:
HeinzWSueess
  • 6
  • 6
1 Solution
 
GauthierCommented:
wrong gateway, or DNS not forwarding the request.
try a ping www.google.com
then ping 8.8.8.8
if both fail, it's the gateway, if the first fail, it's the DNS
0
 
Seth SimmonsSr. Systems AdministratorCommented:
is the gateway setting correct?
can they ping the gateway?
how far does traceroute 8.8.8.8 go?
0
 
HeinzWSueessAuthor Commented:
Maybe I was not clear with my question.
I use two NICs, one for the internet gateway and the other for the internal LAN.
internet gateway is ok.
I set up a DNS 192.168.20.1, this is also the fix IP from the Internal LAN NIC.

ping www.google.com
then ping 8.8.8.8 both OK

traceroute 8.8.8.8 traceroute?
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
GauthierCommented:
did you do the ping from the server or from the PC.
the test needed to be done on the PC.
But since you are dual headed the problem is most likely a routing issue on the server.
0
 
GauthierCommented:
Does the server have a public IP?
If no, then either
Install RRAS on the server:
http://msdn.microsoft.com/en-us/library/dd314183%28v=ws.10%29.aspx
Or setup static routes on the modem and the PC.
0
 
HeinzWSueessAuthor Commented:
OK, now I tried on the PC-Client. It's surely a routing problem. Do I need a NAT?
0
 
HeinzWSueessAuthor Commented:
Thanks
0
 
GauthierCommented:
Is there really a need to be dual homed (as you did)?
The benefit are limited, and the configuration problems it bring on the server are not worth the pain.
Being dual homed was recommended for W2000-2003, but from 2008 onward, the reverse is recommended.
And if you need RRAS for VPN, it now works on single adapter systems
0
 
HeinzWSueessAuthor Commented:
How should I do that better?
0
 
HeinzWSueessAuthor Commented:
Maybe now I understand. Only one NIC? And the DHCP Range in the range of the router?
example: router 192.168.1.1, DHCP-Range 192.168.1.50 -150?
0
 
GauthierCommented:
Yes that's it.
But if you plan to use vpn, it would be best to adapt the range of the router to someting less used (like you did initially).
Note that you can also still use both network card and plug them in parallel to the switch to speed up file transfer (Server 2012 as a switch independent teaming mode).
0
 
GauthierCommented:
Also note that you need to disable the DHCP on the router (often easy)
Or configure the router DHCP with the options needed by the client of the server: the domain and dns option. Usually those options are not available in of the shelve and ISP modem/routers.
(Edited for clarification)
0
 
HeinzWSueessAuthor Commented:
Thanks, all is now clear for me
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now