Clients in domain couldn't access internet after assigning by DHCP server

Ehab Ghanem 21 Reputation points
2021-10-23T13:25:54.95+00:00

I wonder why the client PC which is joined to DC after assigning IP Address from DHCP couldn't access the internet. Please find the below following for my labs:

1- On Domain controller (Windows Server 2019), with DNS & AD installed and IP Address is 192.168.10.10

2- On DHCP member (Windows Server 2019), joined to DC and has 2 NICs one for 192.168.10.12 internally and other for IP 192.168.8.188 + Gateway 192.168.8.1 ( obtained IP from router to go over internet ) so I able to ping 8.8.8.8 so I installed DHCP role on its DHCP member and configured scope then I added in scope option for gateway or 003 router option ( 192.168.8.188 & 192.168.8.1 ) and 006 DNS Server option (192.168.10.10)

3- On Client PC (Windows 10 Enterprise), I made ipconfig command release & renew and took with IP Address 192.168.1.21 and pingable to DC then I joined this client PC to DC. After restarting PC, I show the NIC IP information and found that gateway 192.168.8.188 & 192.168.8.1. Then I tried to browse or ping google 8.8.8.8 but appeared request timed out from CMD.

May I know what I have missed to get clients access internet?

Thanks for your response.

Sorry for my expo english.

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,021 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426K Reputation points MVP
    2021-10-23T13:27:39.377+00:00

    Sounds like a multi-homing nightmare. Please run;

    Dcdiag /v /c /d /e /s:%computername% >C:\dcdiag.log
    repadmin /showrepl >C:\repl.txt
    ipconfig /all > C:\dc1.txt
    ipconfig /all > C:\dc2.txt
    ipconfig /all > C:\problemmember.txt

    then put unzipped text files up on OneDrive and share a link.


2 additional answers

Sort by: Most helpful
  1. Dave Patrick 426K Reputation points MVP
    2021-10-23T14:20:14.62+00:00

    PDC01 is missing a default gateway (192.168.10.12)
    Remove the (208.67.222.222) address from CLIENT01

    Looks like the router is the DHCP server? Set the router to only hand out the ip address of the domain controller.

    Also ADC01 appears offline or possibly removed? If so you can perform cleanup to remove the remnants.
    https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/ad-ds-metadata-cleanup
    https://techcommunity.microsoft.com/t5/itops-talk-blog/step-by-step-manually-removing-a-domain-controller-server/ba-p/280564

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Ehab Ghanem 21 Reputation points
    2021-10-23T14:26:43.877+00:00

    I tried it but be noted that PDC01 server machine is only installed AD and DNS server IP used by manually
    DHCP is on other server machine
    and Client is obtained IP automatically after release from DHCP.