Archive for the ‘Uncategorized’ Category

“Demystifying” – Windows server 2012 Hyper-V 3.0 network virtualization – part III – (two hosts / two subnets)

Friday, October 26th, 2012

In this part III I would like to show you how network virtualization works between two Hyper-V hosts in different subnet (in my example connected HV01 – Router (IPSec VPN) – WAN – WAN – Router (IPsec VPN) – HV02).

You can see how to do that by clicking on a link to video tutorial:
http://www.screencast.com/t/pRDC7Z4UKrg  – Hyper-V 3.0 – Network virtualization Part 4

* at 1:48 – I have already copy pasted that before – you should do it on both hosts
* at 2:04 – there is mistake as those parameters were already there so I removed them and resumed with video recording
* at 2:43 – I did not paste the second part to HV02 (I already did that in previous demo)
* at 3:59 – You will not see GRE traffic until you add Ethernet card to monitoring

In my environment I have two hyper-v hosts called HV01 (10.17.217.177 with gw 10.17.217.1 (router – that makes IPSec VPN)) and HV02 (10.17.218.177 with gw 10.17.218.1 (router – that makes IPSec VPN)).

So only Hyper-V hosts “see” each other over VPN (two different subnets).

I have used folowing powershell cmdlets:

First we need to enable ms_netwnv component on !PHYSICAL! nic – not on virtual switch NIC!
Run it on HV01 and HV02:

Enable-NetAdapterBinding “Ethernet” -ComponentID ms_netwnv

Now we create Lookup record and CustomerRoute (we use IP addresses of our virtual machines, their mac address and IP address of Hyper-V host) This is explained in my previous post.
Run it on HV01 and HV02:
New-NetVirtualizationLookupRecord -CustomerAddress “10.10.10.11” -ProviderAddress “10.17.217.177” -VirtualSubnetID “5001” -MACAddress “AAAAAAAAAA01” -Rule “TranslationMethodEncap”
New-NetVirtualizationLookupRecord -CustomerAddress “10.10.10.12” -ProviderAddress “10.17.218.177” -VirtualSubnetID “5001” -MACAddress “AAAAAAAAAA02” -Rule “TranslationMethodEncap”
New-NetVirtualizationCustomerRoute -RoutingDomainID “{11111111-2222-3333-4444-000000000000}” -VirtualSubnetID “5001” -DestinationPrefix “10.10.10.0/24” -NextHop “0.0.0.0” -Metric 255

Now only on HV01 you should configure provider address and provider route (this is how hosts will get connectivity to each other…):
New-NetVirtualizationProviderAddress -InterfaceIndex 12 -ProviderAddress “10.17.217.177” -PrefixLength 24

New-NetVirtualizationProviderRoute -InterfaceIndex 12 -DestinationPrefix “0.0.0.0/0” -NextHop “10.17.217.1”

The same thing on HV02:
New-NetVirtualizationProviderAddress -InterfaceIndex 12 -ProviderAddress “10.17.218.177” -PrefixLength 24
New-NetVirtualizationProviderRoute -InterfaceIndex 12 -DestinationPrefix “0.0.0.0/0” -NextHop “10.17.218.1”

At the end we need to add VirtualSubnetID parameter to our VM’s sitting on HV01 and on HV02

HV01 (Where Blue01 VM sits):
Get-VMNetworkAdapter -VMName Blue01 | where {$_.MacAddress -eq “AAAAAAAAAA01”} | Set-VMNetworkAdapter -VirtualSubnetID 5001

HV02 (Where Blue02 VN sits):
Get-VMNetworkAdapter -VMName Blue02 | where {$_.MacAddress -eq “AAAAAAAAAA02”} | Set-VMNetworkAdapter -VirtualSubnetID 5001

Share your knowledge / Deli svoje znanje @Simbioza

Tuesday, October 16th, 2012

Dva dni sem posvetil ljudem, ki se prvič srečujejo z računlnikom… Podpiram odličen projekt @ Simbioza
For two days I have spent some time to teach people that is starting to use computers how to make basic tasks… Suporting great project @ Simbioza

Učenci popoldanske izmene…


Učenci jutranje izmene…

Fun never ends with Orchestrator and Jure :)

Monday, July 2nd, 2012

Some orchestrated boobs 🙂

http://www.purgar.net/orchestrated-boobs-kind-of/

Windows server 2012 Release Candidate is here!

Friday, June 1st, 2012

Great new product has reached Release Candidate…

Go ahead and try it!

http://technet.microsoft.com/en-us/evalcenter/hh670538.aspx

You like Windows server 8 beta? Try MS labs!

Thursday, May 24th, 2012

If you want to try all amazing features that are coming with Windows server 2012 try this labs:

http://technet.microsoft.com/fr-fr/windowsserver/hh968267.aspx

MSDays12 – Sofia Bulgaria

Thursday, March 29th, 2012

Fantastic time with friends at the event… Cool sessions…

Here is my contribution in form of powerpoint presentations…

 

Change time sync interval in Windows server 2008 (R2)…

Sunday, December 18th, 2011

During regular check of my Hyper-V hosts (Windows servers 2008 (R2)) I have seen that some of them have time out of sync even if all of them have configured external NTP source (I am using pool.ntp.org – in my case si.pool.ntp.org (Slovenian pool))…

But by default Windows is making NTP query and correction every 7 days (604800 seconds :))…

Well as NTP query is from network prospective small / light I have decided to make this check and sync once per hour… (3600 seconds)…

Well where do we set up this?

The key that you need to change is located in:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
W32Time\TimeProviders\NtpClient\SpecialPollInterval

Change from 604800 to 3600 (1 hour for example)… And restart Windows Time service

You can check snapshots on:
https://skydrive.live.com/?cid=38C674F31C0CB95C&id=38C674F31C0CB95C%212390#cid=38C674F31C0CB95C&id=38C674F31C0CB95C%212391

 

SloWUG NG – goriška IT pro uporabniška skupina…

Saturday, November 5th, 2011

Pa smo jo zagnali! Vabljeni vsi, ki se profesionalno ali za hobi ukvarjate z administracijo IT sistemov pa tudi tisti, ki vas zene zelja po novih znanjih, novih izkušnjah, pogovorih in druzenju z ljudmi, ki se ukvarjajo s podobnimi stvarmi kot vi…

SloWUG NG je “hčerinska” skupnost skupnosti SloWUG (http://www.slowug.si). SloWUG v Ljubljani ze vrsto let na srečanjih združuje ITjevce iz celotne Slovenije…
Podobno zgodbo zelimo začeti tudi v drugih mestih po Sloveniji in tako je nastala tudi skupnost SloWUG NG (http://ng.slowug.si), kjer se bomo enkrat na mesec srečevali na različnih lokacijah v Novi Gorici in prisluhnili dvem ali trem predavateljem, ki bodo predstavili novosti, rešitve ali pa kakšen praktičen primer iz vsakdanjega dela.

Srečanja so brezplačna in namenjena širitvi znanj, sklepanju novih prijateljstev in morda tudi novih poslovnih sodelovanj.

Vabljeni torej 15.11.2011 v prostore Primorskega tehnološkega parka… Več informacij na http://ng.slowug.si

Se vidimo!

Sinergia Q&A – IPv6 session and RDS&VDI session

Thursday, October 20th, 2011

How to anyway prioritize IPv4 over IPv6 🙂
http://tuts4tech.net/2010/04/05/set-preference-for-ipv4-over-ipv6-on-windows-7/

 

I’m speaking at Sinergija 2011! :)

Friday, October 7th, 2011

If you are coming to Sinergija 2011 in Belgrade I have two sessions – one on VDI and RDS in Windows server 2008 R2 and second about IPv6 and Microsoft… See ya!