I have a server with Windows 2012 r2 and have 2 network adapter NIC1 and NIC2

With NIC2 I have local net work and it work with IP4v : getway : with dhcp and dns server and clients start from to and all is working fine.

Now I use NIC1 to internet router and I have internet in server

How do I share this internet by server to all clients while keeping my local network configuration the same without changes? thanks

  • Please clearly state what problem you are having and make your question clear. Is dhcp running on the machine with 2 NICS? You only list one IP address in your question, but only seem to give details of one of the NICs. – Richie086 Nov 18 '15 at 9:24
  • my clearly question is how share internet in server with all clients ?? – Ibrahim Alsaman Nov 18 '15 at 10:13
  • Is there some reason that you want to have all of the traffic route thru your server? You do not necessarily need to route the traffic through the server. You would be better of coming out of your router into a switch and then have all of your devices also connect to the switch with Ethernet cables. That way all of your devices will get DHCP from the router. For your server, create a static dhcp lease on your router so that machine always gets the same IP address from your router. – Richie086 Nov 18 '15 at 11:28


Here is an example of how you should configure your network.
enter image description here

Set the IP address of statically on your server (I am assuming you have already done this). As long as each computer is in the same subnet (I am guessing you are using, which is commonly called a /24 network), all devices should be able to communicate with each other. A subnet of means you can have a total of 254 devices connected with IP addresses ranging from to, regardless if the IP addresses you are using are statically assigned or handed out via DHCP.

If this situation does not work for you, please leave a comment and let me know and I will re-word my answer to your question.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.