Here is my initial setup.
I have a router, a switch is connect to that router, on that switch is a Physical Server, on that server is a virtual machine (WIN2K8R2 192.168.1.21) and also on that switch is a physical workstation (WORKDESKTOP 192.168.1.100).
Physical Server is using EXSI Hypervisor 5.0, Virtual Machine is Windows Server 2008 R2, Phyiscal Workstation is Windows Pro 7 64bit
Now I have setup DHCP, DNS, AD on the WIN2K8R2 server, and have successfully connect the WORKDESKTOP to this server. So the LAN part is working fine.
The server can also access the internet.
Howver the workstation cannot access the internet for some reason.
The workstation does not show a gateway, manually setting the gateway through to my server ip (192.168.1.21) must trick it into thinking there is internet as it says there is but I cannot ping anything.
As far as I know the routing tables on the server look correct because it shows when using the route print command: 192.168.1.0 blah blah 192.168.1.21 which should be correct, I think.
Am I overlooking something?
How do I continue my troubleshooting?
The DG on the workstation should point to the router not the server, unless the server is acting as the DG, which it doesn't sound like it is.
In your DHCP configuration, you'll want to set Scope or Server options to provide the DHCP clients with:
Router
DNS Server(s)
DNS Domain Name (optional)
The workstation does not show a gateway, manually setting the gateway through to my server ip (192.168.1.21) must trick it into thinking there is internet as it says there is but I cannot ping anything.
Your workstation can route fine to your server because they're on the same subnet. Your workstation needs to know the route out - this is presumably your router (which is different from your Windows 2008 R2 server, correct?). Unless you have specifically configured your server to route for your 192.168.1.0/XX network, telling your workstation that it is the default gateway will not accomplish what you want.
What is the default gateway set to for your server? Set your workstation to use that as the default gateway instead of your server (192.168.1.21). If you specifically want your server to do the routing then you need to establish the appropriate static routes on you server (and possibly a whole mess of other things depending on how your outbound connection is setup).