Forum Discussion
yshahzad
Jun 02, 2024Copper Contributor
Server 2012 not getting gateway
Hi We are using Dell server virtual machines in VMware. I restarted the Dell server and then all our virtual machines started one by one, but unfortunately, our WSUS server is showing no internet...
yshahzad
Jun 04, 2024Copper Contributor
InterfaceAlias : Ethernet
InterfaceIndex : 12
InterfaceDescription : Intel(R) 82574L Gigabit Network Connection
NetProfile.Name : abc.local
IPv4Address : x.y.z.13
IPv4DefaultGateway : x.y.z.1
DNSServer : x.y.z.252
IP address is OK (static)
Default gateway is OK
DNS server is OK
Karl-WE
Jun 04, 2024MVP
yshahzad ty. Whats the output of
Get-NetConnectionProfile
Test-Netconnection DNSserverIP -Port 53
Test-Connection www.google.com
- yshahzadJun 04, 2024Copper Contributor
PS C:\Users\abc> Get-NetConnectionProfile
Name : xyz.local
InterfaceAlias : Ethernet
InterfaceIndex : 12
NetworkCategory : DomainAuthenticated
IPv4Connectivity : LocalNetwork
IPv6Connectivity : NoTraffic
PS C:\Users\abc> Test-NetConnection DNSserverIP -Port 53Test-NetConnection : The term 'Test-NetConnection' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Test-NetConnection DNSserverIP -Port 53
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Test-NetConnection:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundExceptionPS C:\Users\abc> Test-NetConnection www.google.com
Test-NetConnection : The term 'Test-NetConnection' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Test-NetConnection www.google.com
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Test-NetConnection:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException- Karl-WEJun 05, 2024MVPI see the PS in your Windows Server 2012 is old, so it is missing the commandlets. Pardon me. I do not want to ask you to install WMF 5.1, lot of complexity here and risk depending the update state.
From my end the basics look fine. netprofile and ipconfig look good. hard to TS from remote why it does not work.
what you can see it can only talk to local network.
NLA does not detect internet.
IPv4 Connectivity would be: Internet
then.
There is no other way but to debug networking, VLAN, Gateway reachable, DNS lookup (
Resolve-DNSname yourDCDNSName.domain.com
Resolve-DNSname www.google.com
if these commands do not exist try nslookup instead of Resolve-DNSName.- yshahzadJun 05, 2024Copper Contributor
I tried the below commands:
PS C:\Users\abc> Resolve-DNSname CompanyDNS
Name Type TTL Section IPAddress
---- ---- --- ------- ---------
CompanyDNS.company.local A 3600 Answer x.y.z.252
PS C:\Users\abc> Resolve-DNSname www.google.comName Type TTL Section IPAddress
---- ---- --- ------- ---------
www.google.com AAAA 37 Answer 2a00:1450:4006:808::2004
www.google.com A 37 Answer 142.251.37.196