question

EhabGhanem-5208 avatar image
0 Votes"
EhabGhanem-5208 asked DSPatrick edited

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

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-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered EhabGhanem-5208 commented

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.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick edited

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://docs.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--








5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EhabGhanem-5208 avatar image
0 Votes"
EhabGhanem-5208 answered DSPatrick edited

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Put up a new set of files to look at.













0 Votes 0 ·