Home » Archive » Server 2012 Network Issue / Bug. “No Internet Access”

Server 2012 Network Issue / Bug. “No Internet Access”

Using Windows Server 2012 I have seen a weird issue with the network adapter several times using mainly Hyper-V and VMWare as hypervisors and the problem server being a virtual machine guest.

When you set a static IP and DNS your server may fail to ping outside its LAN. You check and double check the settings and you have all the correct DNS subnet and Gateway Settings, yet you cannot ping a simple website such as Google.

When I check the routing table on the server I notice a persistent route for mask via the local IP address of the server. I also noticed another non persistent route for mask ON-LINK via gateway ip address of the server.

These two routes are your problem.

The best way I have found to resolve this issue is to run this command in elevated command prompt

route delete

This will remove all default routes from the routing table. Then just add a persistent route for to route via the default gateway address like this

route add mask /p

Your server should now start behaving properly

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: