Tuesday, 21 February 2012

How to route between internal networks in Hyper-V

If you have a Hyper-V lab environment and want to make it a little more like a corporate network then you might want to set up multiple networks and routing between them. But how would you accomplish that? There are different ways to solve it as a Vyatta router (or any other small Linux firewall) or perhaps a Forefront TMG. The way that I chose and that's very simple, you can read about on the following page.


Monday, 20 February 2012

How to configure NTP server for Windows Server 2008 R2

To configure the NTP server in Windows is not exactly complicated, but because you get various different suggestions when googling I thought I would just write a short tutorial that I know works. Instruction is verified on Windows Server 2008 R2. What is needed is essentially three short lines:

w32tm /config /manualpeerlist:pool.ntp.org,0x8 /syncfromflags:MANUAL
net stop w32time
net start w32time

Don't forget to disable time sync if you have virtual server.

Which NTP Server should you choose? Or should you choose several? Yes, redundancy is never wrong, and considering how easy it is to set up several, it is preferred. SP Technical Research Institute provides a free time sync service.

So, tell me. Give me an example. Coming below ...
Run the following in a elevated command prompt:

w32tm /config /manualpeerlist:"ntp1.sp.se,0x8 ntp2.sp.se,0x8" /syncfromflags:MANUAL
net stop w32time
net start w32time

P.S. One tip is of course to check the system log afterwards to see that the time sync seems to work.