Home

Hyper-V Default switch IP address range change. Ver 1809 Build 17763.1

%3CLINGO-SUB%20id%3D%22lingo-sub-261431%22%20slang%3D%22en-US%22%3EHyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261431%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20one%20confirm%20IP%20address%20range%20changed%20to%20192.168.X.Y%20Subnet%20255.255.255.240%26nbsp%3Bfrom%20172.X.X.X%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20changes%20the%20subnet%20randomly%20on%20every%20Hyper-V%20services%20startup.%20192.168.X.Y%20.%20X%20can%20change%20from%2051%20thru%20180.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlthough%20this%20is%20working%20on%20DHCP%20based%20IP%20assignment%20on%20guests%2C%20It%20is%20causing%20issues%20on%20static%20IP%20as%20it%20keeps%20changing%20after%20every%20boot%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EBala%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-392782%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-392782%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231310%22%20target%3D%22_blank%22%3E%40Remon%20li%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENot%20at%20the%20moment%20-%20because%20there%20may%20be%20changes%20upcoming%20to%20Hyper-V%20for%201903%20-%20so%20anything%20we%20do%20now%20will%20be%20made%20redundant%20for%20the%20next%20upgrade....%20which%20is%20very%20similar%20to%20what%20has%20been%20happening%20since%201511.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Virtual%20Machine%20connected%20to%20the%20Default%20Switch%20will%20also%20be%20connecting%20to%20'New'%20networks%20for%20the%20first%20time%2C%20each%20time%20both%20the%20Host%20and%20Virtual%20machine%20boots...%20changing%20to%20a%20static%20IP%20only%20solves%20the%20problem%20temporarily%20-%20as%20changes%20to%20the%20default%20switch%20IP%20will%20result%20in%20the%20VM%20losing%20connectivity.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20work%20around%20I%20had%20where%20I%20created%20a%20new%20'custom%20default%20switch'%20and%20keeping%20the%20original%20default%20switch%20along%20side%20it%20worked%20best%2C%20as%20I%20just%20told%20all%20the%20Virtual%20Machines%20to%20ignore%20the%20original%20default%20switch%20and%20just%20use%20the%20custom%20switch%20that%20I%20configured.%3C%2FP%3E%3CP%3EThe%20only%20thing%20that%20breaks%20this%20is%20major%20build%20upgrades%20-%20example%3A%201511%20-%201607%20-%201703%20-%201803%3C%2FP%3E%3CP%3EAs%20well%20as%20anything%20relating%20to%20having%20to%20reset%20your%20network%20configuration%20using%20the%20Settings%20UI%20aka%20ImmersiveShell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-389170%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-389170%22%20slang%3D%22en-US%22%3E%3CP%3EDo%20you%20have%20any%20idea%20how%20to%20get%20this%20ip%20fixed%20%3F%20Maybe%20we%20can%20run%20powershell%20script%20to%20change%20it%20after%20reboot%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E---------------------%3C%2FP%3E%3CP%3EJust%20tried%20to%20update%20IP%20on%20reboot%20with%20powershell%20script%2C%20it's%20ok%20to%20keep%20same%20IP%20%2C%20but%20the%20network%20doesn't%3C%2FP%3E%3CP%3Ework%20for%20VMs.This%20is%20not%20way.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-331390%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-331390%22%20slang%3D%22en-US%22%3EI%20confirmed%20that%20the%20pair%20of%20rules%20of%20reception%20of%20%22DNS%20Server%20Forward%20Rule%20TCP%20-%20XXXXXXXXXXXXXXXX%20-%200%22%20and%20%22DNS%20Server%20Forward%20Rule%20UDP%20-%20XXXXXXXXXXXXXXXX%20-%200%22%20increases%20forever%20with%20the%20influence%20that%20the%20Default%20Switch%20is%20recreated.%20The%20%22XXXXXXXXXXXXXXXX%22%20is%20GUID%20of%20port%20of%20Default%20Switch%20that%20was%20recreated.%20If%20we%20do%20not%20delete%20wasted%20rules%2C%20will%20one%20day%20overflow%3F%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-314505%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-314505%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20has%20been%20the%20case%20for%20quite%20some%20time%20-%20and%20is%20not%20isolated%20to%2017763%2C%20and%20stretches%20to%2010240.%3C%2FP%3E%3CP%3E(Though%20earlier%20issues%20weren't%20this%20exact%20problem)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20%22Hyper-V%20Virtual%20Ethernet%20Adapter%22%20that%20appears%20in%20device%20manager%20that%20appears%20as%20%22vEthernet%20(Default%20Switch)%22%20in%20Network%20and%20Sharing%20Centre%20is%20being%20deleted%20and%20reinstalled%20each%20time%20you%20shutdown%20and%20boot.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20also%20check%20the%20registry%20to%20see%20the%20abundant%20keys%20that%20are%20created%20and%20never%20removed%20and%20just%20linger%20in%20HKLM%5CSystem%5CCurrentControl%5CServices%5C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you're%20suffering%20from%20this%20issue%20-%20you%20should%20see%20a%20ton%20of%20%7BGUID%7D%20just%20under%20.NETFramework%2C%20and%26nbsp%3B%20a%20whole%20bunch%20more%20in%20the%20VM%20services%20section...%20vmsmp%2C%20vmsp%2C%20vmsfsf%2C%20etc.%3C%2FP%3E%3CP%3EVMSMP%5Cparameters%5CSwitchList%20contains%20the%20current%20'Default%20Switch'%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThose%20GUID%20under%20the%20.NETFramework%20Key%2C%20when%20expanded%20will%20have%20Tcpip%20keys%20for%20previous%20switches...%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F65967i4DDF2894577116FC%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Hyper-Fail.PNG.jpg%22%20title%3D%22Hyper-Fail.PNG.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-307585%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-307585%22%20slang%3D%22en-US%22%3E%3CP%3EActurally%2C%20it%20will%20change%20to%20192.168.x.x%20after%20several%20more%20rebooting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-307583%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-307583%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20a%20concrete%20example%2C%20the%20Default%20Switch%20in%20Hyper-V%20assigns%26nbsp%3B172.17.123.149%20upon%20initial%20VM%26nbsp%3Bprovisioning%2C%26nbsp%3Band%20then%20I%20reboot%20and%20the%20address%20changes%20to%26nbsp%3B172.18.63.196.%20(At%20least%20it's%20not%20192.168.x.x!%20That%20happens%20some%20portion%20of%20the%20time%2C%20too!)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20far%20as%20I'm%20aware%2C%20there%20is%20no%20means%20by%20which%20to%26nbsp%3Bconfigure%20this%20IP%20address%20range.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20the%20folks%20working%20for%20HashiCorp's%20Vagrant%20can't%20figure%20out%20how%20to%20nail-down%20a%20static%20IP%20address%20in%20Hyper-V%3B%20see%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fhashicorp%2Fvagrant%2Fissues%2F8384%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fhashicorp%2Fvagrant%2Fissues%2F8384%3C%2FA%3E%20.%20If%20they%20can't%20figure%20it%20out%2C%20the%20rest%20of%20us%20are%20hopelessly%26nbsp%3Blost...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-307581%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-307581%22%20slang%3D%22en-US%22%3E%3CP%3EAnd%20that's%20precisely%20why%20this%20behavior%20is%20so%20annoying.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20though%20I'm%20hard-coding%20a%20static%20IP%20in%20the%20VM%20during%20provisioning%20(based%20upon%20the%20dynamic%20IP%20that%20Hyper-V%20assigns%20via%20the%20Default%20Switch)%2C%20as%20soon%20as%20I%20restart%20the%20host%20machine%2C%20the%20IP%20address%20class%2Frange%20may%20very%20well%20change%2C%20which%20makes%20the%20VM%20network%20configuration%20inoperable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20be%20clear%2C%20hard-coding%20a%20static%20IP%20in%20the%20VM%20is%20not%20a%20problem%2C%20as%20long%20as%20the%20Default%20Switch%26nbsp%3Bin%20Hyper-V%20doesn't%20change%20the%20IP%20address%20class.%20But%20when%26nbsp%3Bthe%20guest%20IP%20address's%20first%20three%20octets%26nbsp%3Bare%20changing%26nbsp%3Bon%20every%20host%20machine%20reboot%2C%20there%20is%20simply%20no%20reliable%20means%20by%20which%20to%20configure%20a%20guest%20VM%20to%20use%20a%20static%20IP%20address.%20Assigning%20a%20static%20IP%20during%20provisioning%20is%20a%20trivial%20matter%20in%20every%20other%20virtualization%20solution!%26nbsp%3BThe%20fact%20that%20it's%20impossible%20in%26nbsp%3BHyper-V%26nbsp%3Bis%20bewildering.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20anybody%20aware%20of%20an%20official%20%22issue%22%20%2F%20%22bug%20report%22%20that%20documents%20the%20behavior%20we're%20discussing%20in%20this%20thread%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-303166%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-303166%22%20slang%3D%22en-US%22%3E%3CDIV%3E17763.194%20has%20same%20issue.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EAccording%20to%20the%20Microsoft-Windows-Hyper-V-VmSwitch%2FOperations%20log%2C%20it%20shows%20that%20the%20Default%20Switch%20is%20recreated%20each%20time%20the%20machine%20is%20booted.%3CBR%20%2F%3E(When%20started%20in%20safe%20mode%26nbsp%3Bwith%20networking%2C%20it%20is%20not%20recreated%2C%20so%20it%20remains%20on%20the%20same%20subnet%20as%20last%20normal%20boot.)%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-299405%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-299405%22%20slang%3D%22en-US%22%3E%3CP%3EAny%20news%20on%2017763.194%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-298601%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-298601%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248889%22%20target%3D%22_blank%22%3E%40cbj4074%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20glad%20you%20got%20it%20sorted%20out.%20Pretty%20cool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EBTW...Regarding%20your%20comment%20%22I%20can%20confirm%20that%20the%20switch%20type%20does%20not%20determine%26nbsp%3Bassigned%20IP%20address%20class%2C%20as%20you%20suggest%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EOne%20needs%20to%20be%20on%20Insider%20Build%2017763.168%20to%20get%20consistent%20CLASS%20D%20IP%20address%20on%20Hyper-V%20Stop%2FStarts.%20Sorry%20do%20not%20know%20the%20build%20number%20for%20W2K16%20which%20I%20am%20told%20is%20also%20based%20on%20same%20code%20path%20of%20Windows%2010K.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBala%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-298428%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-298428%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20again%20for%26nbsp%3Bsharing%20your%20observations%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3B.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20confirm%20that%20the%20switch%20type%20does%20not%20determine%26nbsp%3Bassigned%20IP%20address%20class%2C%20as%20you%20suggest.%20Indeed%2C%20when%20using%20the%20Default%20Switch%2C%20my%20colleagues%20and%20I%20receive%20a%20mix%20of%20192%20and%20172%20addresses%20if%20we%20provision%20VMs%20repeatedly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20work%20around%20this%2C%20we've%20had%20to%20implement%20scripts%20that%20run%20at%20the%20end%20of%20the%20provisioning%20process%2C%26nbsp%3Bwithin%20the%20VMs%2C%20to%20detect%20and%20set%20the%20IPv4%20and%20gateway%20addresses%20statically.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20there's%20any%20upside%20to%20the%20Hyper-V%20Switch%20behavior%2C%20it's%20that%20once%20a%20static%20IP%20is%20hard-coded%20within%20the%20VM%2C%20Hyper-V%20seems%20happy%20to%20issue%20it%20to%20the%20client%26nbsp%3Bwhenever%20the%20VM%20is%20powered-on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20said%2C%20I%20have%20not%20tried%20rebooting%20the%20host%20machine%2C%20starting%2Fstopping%20the%20Hyper-V%20service%2C%20etc.%20between%20VM%20boots%20to%20see%20if%20that%20behavior%20remains%20consistent...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296817%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296817%22%20slang%3D%22en-US%22%3EAre%20you%20sure%20that%20in%20your%20particular%20case%20the%20class%20B%20vs.%20class%20C%20assignment%20isn't%20based%20simply%20on%20the%20type%20of%20switch%20(Default%2C%20External%2C%20Internal%2C%20and%20Private)%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248889%22%20target%3D%22_blank%22%3E%40cbj4074%3C%2FA%3E%2C%20I%20have%20no%20idea%20how%20iP%20is%20getting%20assigned.%2017763.104%20was%20bad%2C%2017763.164%20seems%20to%20atleast%20stick%20to%20Class%20D.%20I%20have%20stopped%2Fstarted%20%2C%20rebooted%20at%20least%20dozen%20times%20and%20confirming.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296814%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296814%22%20slang%3D%22en-US%22%3E%3CP%3ENo%20problem%20at%20all%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3B.%20I%20really%20appreciate%20the%20info%20you've%20shared%20thus%20far%2C%20and%20thank%20you%20for%20clarifying%20your%20observations.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20Hyper-V%20on%26nbsp%3Bthe%20mainline%20Enterprise%20branch%26nbsp%3B(Build%201803%2017134.345)%2C%20I've%20only%20ever%20seen%20the%20Default%20Switch%20assign%20a%26nbsp%3BClass%20B%20address%20in%20the%20172.X.X.X%20range%2C%26nbsp%3Band%20the%20last%20three%20octets%20seem%20variable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlthough%2C%20when%20I%26nbsp%3B%3CSTRONG%3Ecreate%3C%2FSTRONG%3E%20a%20new%26nbsp%3BExternal%20Switch%20(haven't%20tried%20the%20other%20types)%2C%20it%20is%20assigned%20a%20Class%20C%20address%20in%20the%20192.X.X.X%20range.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAre%20you%20sure%20that%20in%20your%20particular%20case%26nbsp%3Bthe%20class%20B%20vs.%20class%20C%20assignment%20isn't%20based%20simply%20on%20the%20type%20of%20switch%20(Default%2C%20External%2C%20Internal%2C%20and%20Private)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20any%20case%2C%20until%20there%20is%20some%20simple%20means%20by%20which%20to%20set%20these%20values%20statically%2C%20this%20behavior%20is%20going%20to%26nbsp%3Bbe%20problematic%20for%20automation%2C%20period.%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296807%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296807%22%20slang%3D%22en-US%22%3E%3CP%3EToo%20bad%20it%20is%20a%20pretty%20cool%20feature%20that%20is%20not%20working%20as%20we%20want.%20May%20be%20the%20development%20team%20has%20other%20ideas%20I%20suppose.%26nbsp%3BAs%20this%20is%20an%20ICS%20based%20knock%20off%20functionality%2C%20I%20am%20not%20surprised.%20ICS%20behaves%20exactly%20the%20same%20and%20unmanageable%20too.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296804%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296804%22%20slang%3D%22en-US%22%3EBad%20news.%20I'm%20afraid%20develop%20team%20take%20it%20as%20new%20featuer%20instead%20of%20bug.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296801%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296801%22%20slang%3D%22en-US%22%3ETook%20it%20down%2017763.168%20last%20night%20and%20was%20hoping%20it%20will%20be%20corrected.%20Confirming%20still%20has%20same%20issue%20and%20default%20switch%20is%20unmanagable%20exactly%20like%20ICS%20definition.%3CBR%20%2F%3E%3CBR%20%2F%3EOnly%20new%20thing%20it%20is%20assigning%20only%20class%20D%20Network%20ip%20address.%3CBR%20%2F%3E%3CBR%20%2F%3EFirst%20two%20octet%20seems%20stabilized.%20192.168.XXX.YYY.%20can%20change%20on%20every%20Hyper-V%20service%20start%2Fstop%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-296757%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-296757%22%20slang%3D%22en-US%22%3E%3CP%3E17763.168%20released%20%2C%20is%20it%20fixed%20or%20not%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-295135%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-295135%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248889%22%20target%3D%22_blank%22%3Ecbj4074%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20do%20not%20know%20why%20I%20said%20something%20very%20wrong.%20Sorry%20for%20misleading.%20I%20checked%20again%2C%20It%20appears%20the%20unpredictable%20IP%20address%20on%20default%20switch%20issue%20exists%20in%20build%2017763.104%20too.%26nbsp%3BDarn%20thing%20assigns%20CLASS%20C%20(172.17.239.XXX)%20or%20CLASS%20D%20(192.168.75.XXX).%20It%20is%20still%20unmanegable.%20May%20be%20I%20was%20clouded%20by%20the%20workaround%20I%20had%20in%20place.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%20I%20created%20a%20work%20around%20to%20take%20advantage%20of%20default%20switch%20as%20my%20two%20Physical%20NICs%20are%20teamed%20and%20fault%20tolerant.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ECreated%20an%20Internal%20Switch%3C%2FLI%3E%3CLI%3EAlso%20have%20default%20switch%20that%20piles%20up%20on%20the%20bridged%20NIC%20(ICS)%3C%2FLI%3E%3CLI%3EHave%20to%20VNIC's%20on%20the%20guest.%3COL%3E%3CLI%3EInternal%20Switch%20based%20NIC%20is%20Static%20192.168.5.XXX%20(255.255.255.0)%20for%20guest%20to%20guest%20communication.%3C%2FLI%3E%3CLI%3EDefault%20switch%20based%20NIC%20is%20Dynamic%20for%20Internet%20access%3C%2FLI%3E%3C%2FOL%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EBala%3C%2FP%3E%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-294160%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-294160%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3Bis%20correct%20in%20that%20the%20Connection%20type%20cannot%20be%20changed%20for%20the%20Default%20Switch%20(all%20of%20the%20options%20are%26nbsp%3Bgrayed-out)%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F248099%22%20target%3D%22_blank%22%3E%40H3ALY%3C%2FA%3E%26nbsp%3B%2C%20even%20with%20all%20VMs%20powered-off.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20any%20case%2C%20I%20have%20the%20same%20problem%2Fquestion%20as%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231310%22%20target%3D%22_blank%22%3E%40Remon%20li%3C%2FA%3E%26nbsp%3B.%20All%20I'm%20trying%20to%20do%20is%20assign%20a%20static%20IP%20address%20to%20a%20guest%20VM%20so%20that%20it%20doesn't%20change%20on%20me%20unexpectedly.%20I'd%20really%20like%20to%20satisfy%20the%20following%20requirements%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3EBe%20able%20to%20specify%20the%26nbsp%3BIP%20address%20to%20be%20used%20in%20the%20guest%20VM%2C%20e.g.%2C%20192.168.10.10.%3C%2FLI%3E%3CLI%3EBe%20able%20to%20accomplish%20the%20above%20programatically%2C%20so%20that%20it%20can%20be%20done%20as%20part%20of%20an%20automated%20provisioning%20process%20(e.g.%2C%20via%20Vagrant).%3C%2FLI%3E%3CLI%3EGive%20Internet%20access%20to%20the%20guest%20VM%20via%20NAT%20(exactly%20as%20is%20done%20with%20the%20Default%20Switch).%20To%20be%20clear%2C%20I%20am%20amenable%20to%20using%20the%20Default%20Switch%20(instead%20of%20creating%20a%20new%20one)%2C%20as%20long%20as%20its%20IP%20address%20does%20not%20change%20on%20me.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20sounds%20as%20though%20this%20is%20a%20two-part%20problem%2C%20and%20the%20first%20part%20is%20fixed%20in%20Build%26nbsp%3B%3CSPAN%3E17763.134%2C%26nbsp%3Bso%20at%20least%20the%20subnet%20will%20no%20longer%20change%20at%20random.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3B%2C%20when%20you%20say%2C%20%22Erratic%20IP%20address%20assignment%20issue%20is%20fixed%20in%20Build%2017763.%20134%22%2C%26nbsp%3Bhow%20many%20of%20the%20four%20octets%20are%20now%20%22fixed%22%3F%20The%20first%20three%3F%20In%20other%20words%2C%20do%20you%20now%20find%20that%20the%20address%20is%20predictably%20set%20to%20192.168.XX%2C%20where%20XX%20never%20changes%20unexpectedly%20(nor%20the%20192.168%20part)%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20for%20any%20clarification%26nbsp%3Bthat%20you're%20able%20to%20provide!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-293537%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-293537%22%20slang%3D%22en-US%22%3EErratic%20IP%20address%20assignment%20issue%20is%20fixed%20in%20Build%2017763.%20134.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20bit%20confused%20about%20the%20last%20post%20about%20checking%20in%20the%20VSM%20for%20External%2FInternal%20network%20that%20is%20association.%20We%20are%20talking%20about%20Default%20Switch%20supplied%20by%20MS%20for%20NATing%20from%20Configuration%20version%20%26gt%3B7.0.%20MS%20easy%20way%20of%20old%20fashioned%20internet%20connection%20sharing.%20It%20is%20always%20EXTERNAL.%20I%20am%20sorry%20not%20able%20to%20make%20any%20sense.%20We%20are%20not%20taking%20about%20a%20custom%20Switch%20that%20is%20associated%20with%20any%20network%20type%20(External%2FInternal%2FPrivate)%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-293443%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-293443%22%20slang%3D%22en-US%22%3E%3CP%3ETake%20a%20look%20at%20your%20Default%20Switch%20in%20Virtual%20Switch%20Manager%2C%20is%20it%20set%20to%20%22External%20Network%22%20with%20a%20defined%20controller%20or%20is%20it%20set%20to%20%22Internal%20Network%22%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-276058%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-276058%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20I%20got%20same%20problem%20and%20can%20not%20find%20any%20answers%20to%20get%20a%20fixed%20ip%20for%20default%20switch.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-261655%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-261655%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20appears%20to%20be%20very%20random.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDefault%20switch%20again%20reverted%20back%20to%20172.17.X.X%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStrange.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-477193%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-477193%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231310%22%20target%3D%22_blank%22%3E%40Remon%20li%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20haven't%20actually%20played%20around%20with%20all%20of%20my%20VM's%20yet.%20However%20-%201903%20has%20fixed%20one%20of%20the%20Hyper-V%20Default%20Switch%20problems%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20Default%20Switch%20would%20always%20be%20set%20as%20a%20public%20network%20-%20this%20can%20be%20disruptive%20to%20other%20connected%20networks%20-%20as%20I%20don't%20trust%20that%20the%20MS%20Engineers%20did%20a%20good%20job%20with%20how%20Domain%2FPrivate%2FPublic%20interact.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%201903%26nbsp%3B%20-%20the%20Default%20Switch%20is%20not%20assigned%20a%20Network%20Category.%20Which%20is%20how%20it%20should%20have%20been%20to%20begin%20with.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20%3CSTRONG%3Ealways%20%3C%2FSTRONG%3Egoing%20to%20be%20a%20private%20network%20-%20as%20VM's%20can%20only%20use%20it%20to%20interact%20with%20other%20VM's%20on%20the%20Host%20and%20to%20the%20Host%20itself..%20an%20%3CSTRONG%3EInternal%20Network.%20%3C%2FSTRONG%3ELike%20I%20said...%20I%20don't%20trust%20the%20engineers%20to%20have%20done%20the%20network%20categories%20correctly%2C%20until%20now.%20Took%204%20years.%3CBR%20%2F%3E%3CBR%20%2F%3EAnyhow%2C%20I'm%20in%20the%20middle%20of%20updating%20the%20VM's%20on%20my%20laptop%20to%201903%20and%20see%20what%20I%20can%20do%20in%20the%20Guest%20Machine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109683i8E20562E2648C570%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Finally-Internal.jpg%22%20title%3D%22Finally-Internal.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-477230%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-477230%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F177295%22%20target%3D%22_blank%22%3E%40%E3%81%8B%E3%81%9A%E3%81%8A%20%E5%B1%B1%E5%86%85%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231310%22%20target%3D%22_blank%22%3E%40Remon%20li%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109685i04C300D07FD5EA73%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22pseudoInternal-Bridge.PNG%22%20title%3D%22pseudoInternal-Bridge.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHost%20(Right%20Screen)%3A%26nbsp%3B%20vEthernet%20(Main%20Internal)%20-%2010.0.0.1%3C%2FP%3E%3CP%3EGuest%20(Left%20Screen)-%20Static%20IP.%20Gateway%20is%20Host's%20Main%20Internal%20Switch%20IP.%3C%2FP%3E%3CP%3EIP%3A%2010.0.0.2%3C%2FP%3E%3CP%3ESubnet%3A%20255.255.255.0%3C%2FP%3E%3CP%3EGateway%3A%2010.0.0.1%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20need%20Internet%20connectivity%20on%20the%20Guest%20-%20you%20need%20to%20bridge%20your%20Host%20Machine's%20Main%20Internal%20Switch%20to%20an%20Internet%20Connection...%20Highlight%20Both%2C%20Right%20Click%20and%20Bridge.%20Easiest%20way%20to%20do%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(Main%20Internal)%20Static%20IP%20addresses%20persist%20through%20Reboot%20and%20Shutdown.%3C%2FP%3E%3CP%3EGuest%20Machines%20connecting%20to%20(Main%20Internal)%20will%20need%20a%20Static%20IP%20set%20and%20these%20also%20persist%20thought%20Reboot%20and%20Shutdown.%20You%20will%20need%20to%20host%20a%20DHCP%20server%20if%20you%20don't%20want%20to%20use%20static.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENested%20VM%20...%20you%20can%20go%203%20deep%20with%20Hyper-V.%3C%2FP%3E%3CP%3EThe%20Hyper-V%20Server%20that%20will%20host%20DHCP%20will%20need%20to%20spoof%20Mac-Address.%20If%20you%20don't%20you'll%20end%20up%20with%20the%20same%20set%20of%20IP%20addresses%20each%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20better%20screenshot...%20NB-TECH%20and%20NB-G751JY%20will%20always%20connect%20to%20each%20other%20after%20reboot%2C%20and%20vEthernet%20(Default%20Switch)%20is%20never%20used.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109686i04D398D5A320364B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Guest-Internal.jpg%22%20title%3D%22Guest-Internal.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F109687iE89AA3BAC7897C85%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Host-Internal.jpg%22%20title%3D%22Host-Internal.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-477434%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-477434%22%20slang%3D%22en-US%22%3EThis%20thread%20is%20about%20the%20default%20switch%2C%20not%20a%20new%20switch%20you%20create%20with%20a%20fixed%20IP%20address.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-711433%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-711433%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3BDont%20want%20to%20be%20that%20guy%2C%20but...172.x.x.x%20is%20a%20class%20B%20(16%20bit)%26nbsp%3B%3C%2FP%3E%3CP%3EClass%20C%20address%20is%20the%20one%20I%20believe%20your%20referring%20too%20as%20in%26nbsp%3B%3CSPAN%3E192.168.x.x%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%20-%3C%2FP%3E%3CP%3E%3CSTRONG%3EClass%20A%3C%2FSTRONG%3E%20goes%20from%26nbsp%3B%20%3CSTRONG%3E0%3C%2FSTRONG%3E%20upto%20%3CSTRONG%3E127%3C%2FSTRONG%3E%20-%20ex.%2010.10.10.1%3C%2FP%3E%3CP%3E%3CSTRONG%3EClass%20B%3C%2FSTRONG%3E%20goes%20from%20%3CSTRONG%3E128%3C%2FSTRONG%3E%20upto%20%3CSTRONG%3E191%3C%2FSTRONG%3E%26nbsp%3B%20(hence%20the%20172.16.x.x%20as%20i%20too%20have%20that%20anomaly%20in%20my%20vEthernet%3C%2FP%3E%3CP%3E%3CSTRONG%3EClass%20C%26nbsp%3B%3C%2FSTRONG%3Egoes%20from%20%3CSTRONG%3E192%3C%2FSTRONG%3E%20upto%20%3CSTRONG%3E223%3C%2FSTRONG%3E%20-%20common%20ex.%20192.168.1.1%3C%2FP%3E%3CP%3Ethen%20you%20get%20%3CSTRONG%3EClass%20D%3C%2FSTRONG%3E%20and%20also%20%3CSTRONG%3EE%26nbsp%3B%3C%2FSTRONG%3E%20but%20these%20are%20reserved%20special%20purposes.%26nbsp%3B%20Class%20D%20for%20multicast%20and%20E%20for%20experimental.%3C%2FP%3E%3CP%3EClass%20D%20goes%20from%20%3CSTRONG%3E224%3C%2FSTRONG%3E%20upto%20%3CSTRONG%3E239%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EClass%20E%20goes%20from%20%3CSTRONG%3E240%3C%2FSTRONG%3E%20upto%20%3CSTRONG%3E255%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3BIf%20you%20knew%20this%20then%20ignore%20this%20reply.%3C%2FP%3E%3CP%3EI%20hope%20you%20sorted%20out%20the%20issue.%20I%20dont%20see%20any%20resolution%20at%20the%20end%20of%20this%20thread.%20Let%20me%20know%20if%20you%20did.%3C%2FP%3E%3CP%3EAll%20the%20best.%3C%2FP%3E%3CP%3EDanny%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-776979%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-776979%22%20slang%3D%22en-US%22%3E%3CP%3ESo%2C%20is%20there%20a%20solution%20to%20this%3F%20I%20really%20would%20like%20my%20Default%20Switch%20to%20have%20a%20static%20IP%20configuration.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-777009%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-777009%22%20slang%3D%22en-US%22%3EI've%20been%20working%20a%20lot%20with%20Hyper-V%20and%20I%20gotta%20tell%20you%20that%20the%20default%20switch%20is%20NOT%20meant%20for%20static%20IP%20addressing.%20in%20any%20tutorial%20or%20YouTube%20video%20you%20watch%20you'll%20see%20than%20none%20of%20them%20choose%20the%20default%20switch%20for%20static%20IP%20addressing.%3CBR%20%2F%3Eif%20you%20want%20static%20IP%20and%20never%20changes%2C%20you%20should%20make%20a%20new%20virtual%20network%20adapter%20and%20make%20it%20EXTERNAL%2C%20then%20connect%20it%20to%20your%20PHYSICAL%20network%20adapter%20(all%20done%20in%20Hyper-V%20switch%20manager)%2C%20it%20will%20make%20a%20bridged%20connection%20in%20your%20host%20Windows.%20then%20inside%20your%20guest%20OS%20(VM)%20you%20can%20give%20a%20static%20IP%20to%20your%20OS%20and%20it%20will%20stay%20that%20way%20and%20never%20changes.%3CBR%20%2F%3E%3CBR%20%2F%3EIMO%20default%20switch%20is%20for%20those%20who%20want%20a%20quick%20setup%20and%20get%20a%20VM%20up%20and%20running%20fast%20without%20any%20additional%20settings.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-793326%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-793326%22%20slang%3D%22en-US%22%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3Eif%20you%20want%20static%20IP%20and%20never%20changes%2C%20you%20should%20make%20a%20new%20virtual%20network%20adapter%20and%20make%20it%20EXTERNAL%2C%20then%20connect%20it%20to%20your%20PHYSICAL%20network%20adapter%20(all%20done%20in%20Hyper-V%20switch%20manager)%2C%20it%20will%20make%20a%20bridged%20connection%20in%20your%20host%20Windows.%26nbsp%3B%3CBR%20%2F%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EWhile%20others%20in%20this%20thread%20have%20provided%20this%20information%20it%20was%20the%20concise%20nature%20of%20your%20post%20that%20provided%20the%20eureka%20moment%20for%20me.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-793391%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-793391%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3EI've%20been%20working%20a%20lot%20with%20Hyper-V%20and%20I%20gotta%20tell%20you%20that%20the%20default%20switch%20is%20NOT%20meant%20for%20static%20IP%20addressing.%20in%20any%20tutorial%20or%20YouTube%20video%20you%20watch%20you'll%20see%20than%20none%20of%20them%20choose%20the%20default%20switch%20for%20static%20IP%20addressing.if%20you%20want%20static%20IP%20and%20never%20changes%2C%20you%20should%20make%20a%20new%20virtual%20network%20adapter%20and%20make%20it%20EXTERNAL%2C%20then%20connect%20it%20to%20your%20PHYSICAL%20network%20adapter%20(all%20done%20in%20Hyper-V%20switch%20manager)%2C%20it%20will%20make%20a%20bridged%20connection%20in%20your%20host%20Windows.%20then%20inside%20your%20guest%20OS%20(VM)%20you%20can%20give%20a%20static%20IP%20to%20your%20OS%20and%20it%20will%20stay%20that%20way%20and%20never%20changes.IMO%20default%20switch%20is%20for%20those%20who%20want%20a%20quick%20setup%20and%20get%20a%20VM%20up%20and%20running%20fast%20without%20any%20additional%20settings.%3CBR%20%2F%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3EI've%20been%20working%20a%20lot%20with%20Hyper-V%2C%20too.%20The%20default%20network%20adapter%20is%20%3CSTRONG%3Enot%20meant%20to%20change%20IP%20address%20ranges%20with%20every%20reboot%3C%2FSTRONG%3E.%20Once%20an%20IP%20address%20is%20set%2C%20it%20should%20be%20immutable.%20Throwing%20around%20with%20workaround%20does%20not%20remove%20the%20issue%20at%20hand.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20described%20way%20to%20get%20a%20static%20IP%20is%20fine.%20However%2C%20this%20doesn't%20work%20when%20I%20have%20to%20test%20something%20that%20involves%20DHCP.%20Sure%2C%20I%20can%20install%20a%20NAT%20with%202%20vNICs%2C%20one%20on%20one%20external%20switch%20and%20the%20other%20on%20a%20private%20switch%2C%20but%20that%20involves%20additional%20hours%20to%20setup%20correctly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20built-in%20network%20address%20translation%20of%20the%20Default%20Switch%2C%20this%20problem%20is%20already%20solved.%20And%20for%20testing%20purposes%20it%20would%20be%20perfectly%20fine%2C%20were%20it%20not%20for%20the%20non-intended%20behaviour%20that%20the%20address%20range%20randomly%20changes%20between%20reboots%20of%20the%20host%20computer.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-793405%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-793405%22%20slang%3D%22en-US%22%3ESorry%20but%20I%20wasn't%20replying%20to%20you%2C%20i%20was%20replying%20to%20the%20OP%2C%20your%20problem%20might%20be%20different%20and%20i%20didn't%20consider%20your%20setup.%3CBR%20%2F%3Eanyhow%2C%20I%20don't%20see%20how%20any%20of%20the%20things%20you%20mentioned%20can%20possibly%20take%20%22hours%22%20to%20setup.%20if%20you%20know%20the%20topology%20you're%20going%20to%20deploy%20beforehand%20then%20it%20can%20only%20takes%20few%20minutes%20to%20setup.%20btw%20you%20don't%20have%20to%20set%20anything%20in%20the%20host%20network%20adapters%20(virtual%20or%20not)%2C%20everything%20happens%20in%20the%20guests.%3CBR%20%2F%3Eif%20you%20want%20to%20set%20something%20that%20involves%20DHCP%3F%20like%20a%20Windows%20server%20DHCP%3F%20you%20still%20need%20external%20network%20adapter%20with%20static%20IP%20set%20inside%20the%20guest%20OS%2C%20as%20I%20said%20in%20my%20previous%20comment.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-793406%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-793406%22%20slang%3D%22en-US%22%3EYou're%20welcome!%20%3A)%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-793442%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-793442%22%20slang%3D%22en-US%22%3ESetting%20up%20the%20virtual%20switches%20takes%20a%20few%20minutes.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20don't%20have%20a%20test%20environment%20handy%20at%20all%20times.%20I%20certainly%20don't%20have%20one%20now.%20So%20I%20need%20to%20get%20a%20software%20firewall%2C%20download%20the%20iso%2C%20create%20a%20new%20VM%2C%20install%20the%20firewall%20and%20configure%20it.%20This%20takes%20a%20bit%20longer%20than%20a%20few%20minutes.%20But%20that%20is%20absolutely%20beside%20the%20point.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20point%20is%2C%20the%20Default%20Switch%20is%20broken.%3CBR%20%2F%3E%3CBR%20%2F%3E%26gt%3B%20if%20you%20want%20to%20set%20something%20that%20involves%20DHCP%3F%20like%20a%20Windows%20server%20DHCP%3F%20you%20still%20need%20external%20network%20adapter%20with%20static%20IP%20set%20inside%20the%20guest%20OS%2C%20as%20I%20said%20in%20my%20previous%20comment.%3CBR%20%2F%3E%3CBR%20%2F%3EAn%20external%20network%20adapter%20inside%20the%20guest%20OS%3F%20Either%20that%20configuration%20or%20that%20terminology%20doesn't%20make%20any%20sense.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-793479%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-793479%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65328%22%20target%3D%22_blank%22%3E%40Daniel%20Niccoli%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Elook%20for%20example%20in%20your%20guest%20OS%2Ffirewall%20etc%20you%20need%20to%20set%20up%20these%20few%20main%20parameters.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20390px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F126029i59F0C73F57ED949F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22InkedAnnotation%202019-08-07%20205656_LI.jpg%22%20title%3D%22InkedAnnotation%202019-08-07%20205656_LI.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhether%20you%20do%20it%20using%20GUI%20or%20powershell%2C%20terminal%20etc%20it's%20not%20gonna%20take%20so%20long..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ealso%20is%20there%20any%20indication%20saying%20that%20the%20default%20switch%20in%20Hyper-V%20%3CSTRONG%3Emust%3C%2FSTRONG%3E%26nbsp%3Bgive%20you%20an%20static%20IP%20address%20regardless%20of%20host%20reboot%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20meant%20making%20an%20external%20network%20adapter%20and%20connecting%20it%20to%20the%20guest%20OS.%3C%2FP%3E%3CP%3Ethat%20config%20would%20make%20sense%20in%20a%20nested%20virtualization.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-798855%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-798855%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65328%22%20target%3D%22_blank%22%3E%40Daniel%20Niccoli%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20totally%20new%20to%20Hyper-V%20but%20not%20quite%20new%20to%20networking%20and%20virtualization%20and%20this%20random%20selection%20of%20private%20subnets%20really%20baffles%20me.%20This%20looks%20more%20like%20a%20fallback%20function%20and%20no%20the%20main%20one.%20I%20can%20understand%20the%20following%20reasoning%3A%20If%20the%20Hyper-V%20user%20doesn't%20enter%20a%20proper%20subnet%20or%20the%20subnet%20they%20entered%20is%20invalid%2C%20generate%20a%20random%20one%20(things%20have%20to%20work%20one%20way%20or%20another%2C%20right%3F)%20The%20problem%20is%20that%20the%20main%20function%20doesn't%20seem%20to%20exist%20so%20we%20get%20this%20random%20mess.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20I%20said%2C%20I%20have%20worked%20a%20bit%20in%20networking%20so%20I%20looked%20for%20a%20simple%20way%20to%20know%20exactly%20which%20IP%20addresses%20were%20used%20after%20the%20host%20operating%20system%20reboots.%20What%20I%20do%20is%20open%20a%20Command%20Line%20Prompt%20(doesn't%20need%20to%20be%20Admin)%20and%20type%3A%20arp%20-a.%20(no%20dot%20at%20the%20end)%20I%20look%20for%20the%20interface%20that%20I%20know%20isn't%20mine%20as%20in%20the%20IP%20address%20wasn't%20configured%20by%20me.%20Once%20I%20get%20that%2C%20the%20pattern%20is%20as%20follows%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20interface%20IP%20address%20is%20the%20address%20of%20the%20Host%20(duh!)%20which%20is%20the%20gateway%20IP%20address%20for%20the%20VMs.%20In%20the%20Physical%20Address%20column%20the%20ff-ff-ff-ff-ff-ff%20MAC%20address%20corresponds%20to%20the%20broadcast%20IP%20address%20for%20the%20subnet%20the%20VMs%20use.%20The%20rest%20of%20the%20IP%20addresses%20in%20this%20subnet%20belong%20to%20the%20VMs.%20Like%20so%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInterface%3A%20172.18.61.97%20---%200x1c%3CBR%20%2F%3EInternet%20Address%20Physical%20Address%20Type%3CBR%20%2F%3E172.18.61.108%2000-15-5d-0a-0d-00%20static%3CBR%20%2F%3E172.18.61.111%20ff-ff-ff-ff-ff-ff%20static%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20one%20VM%20which%20apparently%20got%20the%20172.18.61.108%20IP%20address%20this%20time%20around.%20Maybe%20there's%20a%20way%20to%20automate%20such%20%22inventory%20check%22%20with%20a%20script%20or%20something%20else.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20some%20will%20find%20the%20above%20tip%20useful.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-836344%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-836344%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20a%20Linux%20guy%20but%20have%20to%20use%20Windows10%20now.%20Don't%20want%20to%20use%20VirtualBox%20or%20Vagrant%20as%20I%20have%20HyperV%20licensed.%26nbsp%3BBut%20I%20can't%20make%20it%20work%20sadly.%20Also%20additional%20hypervisor%20breaks%20a%20lot%20of%20things%20in%20windows10%20which%20requires%20additional%20time%20to%20make%20workarounds.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EDefault%20vSwitch%20keeps%20changing%20IP%20address%20on%20reboot.%20There%20is%20no%20DHCP%20server%20included%20so%20no%20way%20to%20assign%20a%20static%20address%20to%20my%20VM.%3C%2FP%3E%3CP%3EWorkarounds%20are%20not%20helpful%20too.%26nbsp%3B%3C%2FP%3E%3CP%3E-%20tried%20adding%20new%20virtual%20switch%20and%20NAT%20it%20via%20PowerShell.%20It%20works%20until%20reboot%20only.%20There%20is%20no%20GUI%20for%20that%3F%20ok.%26nbsp%3B%3CBR%20%2F%3E-%20ICS%20is%20not%20working%20after%20reboot%20too%2C%20I%20have%20to%20manually%20reenable%20it.%26nbsp%3B%20Adding%20registry%20key%20is%20not%20working.%3C%2FP%3E%3CP%3E-%20tried%20to%20add%20external%20linux%20vm%20to%20route%20all%20the%20traffic%2C%20still%20need%20ICS%20which%20is%20not%20working%20after%20reboot.%26nbsp%3B%3C%2FP%3E%3CP%3E-%20tried%20third-party%20software%2C%20it's%20okay%20but%20requires%20additional%20payments.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EAll%20that%20bugs%20persists%20through%20ages%2C%26nbsp%3Bseriously%3F%20Very%20disappointed%2C%20want%20my%20money%20back.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-836380%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-836380%22%20slang%3D%22en-US%22%3EYou%20can%20use%20the%20External%20vSwitch%20on%20Hyper-V%20VM%20instead%20of%20the%20default%20switch.%3CBR%20%2F%3Ethen%20inside%20your%20VM%20OS%20(guest)%2C%20set%20a%20static%20IP%20address.%3CBR%20%2F%3Ehow%3F%20well%20your%20VM%20guest%20will%20get%20an%20IP%20address%20anyway%2C%20just%20copy%20it%20and%20make%20it%20static.%20easy%3CBR%20%2F%3E%3CBR%20%2F%3Ealso%20how%20come%20your%20network%20doesn't%20have%20DHCP%3F%20you%20must%20be%20getting%20internet%20from%20somewhere.%20a%20router%20or%20DSL%20modem%2C%20they%20must%20have%20DHCP%20in%20them.%3CBR%20%2F%3E%3CBR%20%2F%3Enone%20of%20them%20you%20mentioned%20are%20bugs.%20you%20just%20have%20to%20know%20where%20to%20use%20what.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-836590%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-836590%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3Bit's%20definitely%20bugs%2C%20network%20switch%20can't%20change%20IP%20address%20randomly%20if%20assigned%20statically.%20As%20simple%20as%20that.%20No%20other%20network%20software%20do%20this%20thing%2C%20but%20MS%20virtual%20switch.%26nbsp%3B%3CBR%20%2F%3EAlso%20that%20aged%20thing%20with%20ICS%20not%20working%20after%20reboot%20is%20a%20nasty%20bug%20too.%26nbsp%3B%3CBR%20%2F%3ENAT%20is%20hardly%20working%20too%2C%20sometimes%20it's%20ok%2C%20sometimes%20it's%20not.%20Probably%20arp%20related%2C%20idk.%26nbsp%3B%3CBR%20%2F%3EIn%20conclusion%20there%20is%20no%20simple%20setup%20which%20allows%20you%20to%20use%20host%20internet%20inside%20hyperV%20VM.%3CBR%20%2F%3ENot%20to%20mention%20there%20are%20no%20shared%20folders%20so%20on.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can't%20use%20external%20networks%20because%20of%20this%2C%20I%20have%20to%20mount%20it%20as%20samba%20share%20(technology%20from%2020%20years%20ago%20okay).%20And%20how%20to%20work%20with%20VM%20if%20there%20is%20no%20external%20switch%20with%20dhcp%20like%20on%20a%20jet%20board%3F%20It's%20laptop%20with%20windows10%2C%20not%20a%20server%20inside%20infrastructure.%26nbsp%3B%3CBR%20%2F%3EVirtualBox%20does%20this%20sharing%20in%20two%20simple%20clicks.%20But%20Windows10%20core%20denies%20all%20other%20hypervisors%20with%20every%20update.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-836657%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-836657%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20you%20do%20a%20route%20print%2C%20you%20will%20see%20that%20the%20default%20vSwitch%20is%20not%20creating%20a%20persistent%20route%20but%20rather%20a%20temporary%20one.%20it's%20not%20a%20bug%2C%20it's%20intentional%20and%20the%20way%20Microsoft%20made%20it.%3CBR%20%2F%3Eyou%20can%20request%20a%20feature%20change%20through%20Feedback%20hub%20app.%3CBR%20%2F%3Ethe%20norm%20is%20that%20when%20people%20are%20running%20professional%20servers%20in%20their%20Hyper-V%2C%20they%20set%20external%20vSwitch%20as%20the%20network%20adapter%20for%20their%20VMs%2C%20it%20provides%20more%20functionality.%3CBR%20%2F%3E%3CBR%20%2F%3Ethere%20is%20also%20another%20case%20when%20the%20host%20is%20connected%20to%20a%20VPN%2C%20if%20the%20guest%20VM%20use%20default%20vSwitch%2C%20it%20will%20have%20access%20to%20the%20same%20VPN%20as%20the%20host.%20but%20if%20the%20guest%20VM%20uses%20an%20external%20vSwitch%2C%20it%20will%20continue%20using%20the%20Direct%20Internet%20connection%20Even%20though%20the%20host%20is%20connected%20to%20the%20VPN.%20now%20if%20the%20default%20vSwitch%20was%20to%20get%20a%20static%20IP%20address%20forever%2C%20it%20would%20cause%20conflicts%20with%20host%20VPN%20and%20other%20scenarios%20where%20the%20subnet%20of%20the%20default%20gateway%20on%20the%20host%20changed.%3CBR%20%2F%3Ewith%20non-persistent%20routes%20like%20this%2C%20default%20gateway%20first%20examines%20and%20evaluates%20the%20network%20topology%20and%20then%20based%20on%20the%20available%20networks%20and%20subnets%2C%20chooses%20an%20IP%20address.%3CBR%20%2F%3E%3CBR%20%2F%3Eso%20again%20this%20is%20Not%20a%20bug%2C%20it's%20just%20how%20it's%20made.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20normal%20home%20router%2C%20my%20Windows%2010%20is%20connected%20wirelessly%20to%20it.%20in%20my%20Hyper-V%20I%20created%20an%20external%20virtual%20network%20adapter%20and%20connected%20all%20my%20VMs%20to%20that%20same%20external%20vSwitch.%20I%20run%203%20Windows%20server%202019%20and%20one%20of%20them%20is%20a%20VDI%20host%20(yes%20Nested%20Virtualization).%20all%20of%20these%20with%20a%2020%24%20wireless%20network%20adapter%20and%20a%20simple%20normal%20home%20router.%20it%20can't%20be%20any%20simpler%20and%20easier%20than%20that.%3CBR%20%2F%3EI've%20worked%20with%20VirtualBox%20and%20VMware%20Workstation%2015%20as%20well%2C%20but%20still%20Hyper-V%20is%20the%20best.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837237%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837237%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BNAT%20is%20not%20about%20routes%2C%20it's%20about%20network%20address%20translation.%20And%20that%20switch%20is%20for%20NAT%20isn't%20it%3F%20But%20it's%20black-boxed%20and%20the%20only%20configuration%20parameter%20opened%20(static%20IP%20address)%20is%20simply%20broken%2C%20changing%20randomly%20every%20time%20you%20boot%20your%20computer.%20Why%3F%20No%20clues%2C%20nobody%20does%20this%20except%20MS.%20And%20documentation%20either%20not%20complete%20or%20it's%20just%20a%20bug.%26nbsp%3B%3CBR%20%2F%3EAgain%2C%20switch%20is%20not%20allowed%20to%20change%20it's%20own%20address%20randomly%20if%20configured%20statically.%20If%20MS%20made%20it%20intentionally%2C%20they%20should%20fire%20their%20developers%20and%20hire%20professionals.%3CBR%20%2F%3EThis%20scenario%20is%20a%20dead%20horse.%20It's%20usable%20only%20in%20few%20cases.%20Again%2C%20all%20other%20virtualization%20software%20do%20things%20right%20in%20few%20clicks%20but%20not%20MS.%20Why%3F%20No%20clues.%3CBR%20%2F%3EWindows%20costs%20money.%20And%20the%20thing%20you%20have%20to%20buy%20yet%20another%20software%20to%20make%20it%20works%20is%20just%20bad.%20Because%20it's%20working%20pretty%20weird%20out%20of%20the%20box%20and%20workarounds%20are%20broken%20too.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837245%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837245%22%20slang%3D%22en-US%22%3EI%20didn't%20talk%20about%20NAT%2C%20not%20even%20a%20word%20in%20my%20comment.%3CBR%20%2F%3Ewhy%3F%20i%20told%20you%20why%20in%20my%20previous%20comment%20but%20you%20seem%20to%20ignore%20the%20reasoning%20behind%20it%20and%20keep%20on%20saying%20how%20bad%20Windows%20is.%20i%20can%20also%20write%20a%20book%20about%20how%20bad%20Linux%20is.%20but%20it's%20not%20about%20that.%20whether%20or%20not%20Windows%20costs%20money%20is%20off%20topic%20and%20not%20related%20to%20this%20thread.%3CBR%20%2F%3Ei%20told%20you%20the%20solution%20for%20your%20problem%2C%20it's%20to%20use%20External%20Switch.%20I%20don't%20see%20why%20you%20don't%20want%20to%20use%20it.%20you%20don't%20need%20another%20software%20for%20it.%20Hyper-V%20doesn't%20need%20another%20license%20to%20use%2C%20it%20comes%20built-in%20by%20Windows%2010.%3CBR%20%2F%3Eagain%20I%20provided%20real%20life%20facts%20and%20reasoning%20for%20why%20Windows%20does%20what%20it%20does%20and%20how%20it%20is%20helpful%20in%20what%20situations.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-848689%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-848689%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403187%22%20target%3D%22_blank%22%3E%40sn00p%3C%2FA%3E%26nbsp%3BThe%20recreation%20of%20the%20Default%20Switch%20with%20a%20new%20subnet%20on%20every%20host%20reboot%20is%20definitely%20a%20bug.%20I'm%20migrating%20from%20VMware%2C%20where%20I%20use%20a%20virtual%20NAT%20network%20for%20all%20my%20VM's.%20I%20knew%20going%20in%20to%20the%20migration%20that%20Hyper-V%20has%20limited%20capabilities%20compared%20to%20VMware%2C%20but%20I%20didn't%20expect%20the%20networking%20to%20be%20so%20limited.%20Here's%20the%20issues%20I've%20run%20in%20to%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*%20-%20Default%20switch%20reconfigures%20on%20every%20host%20restart%20and%20there%20is%20no%20way%20to%20prevent%20it.%3C%2FP%3E%3CP%3E*%20-%20Default%20switch%20is%20the%20only%20way%20to%20have%20VM's%20on%20a%20virtual%20NAT...it's%20not%20possible%20to%20create%20a%20Internal%20Switch%20with%20NAT%20(correct%3F)%20that%20doesn't%20get%20reconfigured%20on%20every%20host%20restart%3C%2FP%3E%3CP%3E*%20-%20External%20switch%20must%20bridge%20to%20a%20specific%20host%20NIC.%20My%20host%20is%20a%20laptop%20that%20is%20sometimes%20docked%20and%20connected%20via%20ethernet%20and%20sometimes%20connected%20via%20wifi.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20new%20to%20Hyper-V%20(but%20not%20new%20to%20working%20with%20VMs%20and%20networking)%2C%20so%20please%20correct%20me%20if%20I've%20overlooked%20solutions%20to%20any%20of%20the%20above.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-848698%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-848698%22%20slang%3D%22en-US%22%3EP.S.%20I'm%20running%20on%20build%201903%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-848773%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-848773%22%20slang%3D%22en-US%22%3EI'm%20not%20sure%20about%20that%20part%20where%20you%20mentioned%20Hyper-V%20has%20limited%20functionality%20compared%20to%20VMware.%20I%20have%20worked%20VMware%20workstation%2015%20and%20its%20previous%20versions%20for%20years%2C%20each%20has%20it's%20own%20set%20of%20features.%3CBR%20%2F%3E%3CBR%20%2F%3EHyper-V%20default%20virtual%20switch%20is%20exactly%20made%20for%20the%20type%20of%20the%20environment%20you%20work%20at.%3CBR%20%2F%3Esometimes%20you%20connect%20to%20WIFI%20network%20and%20sometimes%20you%20connect%20using%20Ethernet%20cable.%3CBR%20%2F%3Eeach%20of%20those%20networks%20can%20have%20different%20set%20of%20IP%20addresses%20and%20subnets.%3CBR%20%2F%3Enow%20if%20the%20default%20virtual%20switch%20were%20to%20create%20persistent%20routes%20instead%20of%20temporary%20ones%20(as%20it%20does%20now)%2C%20it%20would%20have%20created%20problems%20for%20you%20because%20you'd%20have%20to%20jump%20in%20CMD%20each%20time%20the%20networks%20changed%20and%20set%20the%20correct%20routing%20table.%3CBR%20%2F%3E%3CBR%20%2F%3Eright%20now%20default%20Hyper-v%20virtual%20switch%20takes%20care%20of%20it%20automatically%20and%20it's%20for%20quick%20VM%20set%20up%2C%20casual%20VM%20works.%3CBR%20%2F%3Ebut%20if%20you%20want%20to%20set%20up%20servers%20in%20Hyper-V%20like%20i%20do%2C%20you%20should%20use%20external%20Hyper-v%20virtual%20switch.%20it%20has%20more%20functions%20and%20it%20gives%20the%20guest%20VM%20a%20static%20IP%20because%20it%20bounds%20it%20to%20a%20Real%20physical%20network%20adapter.%20that's%20exactly%20what%20server%20admins%20Need.%20usually%20servers%20use%20more%20than%201%20physical%20network%20adapter.%20so%20using%20the%20external%20virtual%20switch%2C%20they%20can%20properly%20and%20separately%20assign%20each%20of%20them%20to%20a%20specific%20external%20virtual%20switch%20and%20utilize%20them%20perfectly%20in%20the%20guest%20OSes%20(servers).%20servers%20do%20need%20static%20IP%20addresses.%3CBR%20%2F%3Ebut%20if%20you%20just%20want%20to%20install%20a%20Windows%2010%20pro%20or%20home%20and%20do%20casual%20works%20then%20the%20default%20switch%20should%20suffice.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-848797%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-848797%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20VMware%2C%20I%20could%20configure%20my%20virtual%20NAT%20network%20subnet...I%20had%20it%20set%20to%26nbsp%3B192.168.5.X%20and%20the%20host%20and%20guest%20IP%20addresses%20on%20the%20subnet%20where%20static.%20So%20no%20matter%20where%20I%20happened%20to%20be%20working%2C%20my%20VM's%20were%20isolated%20on%20a%20NAT%20network%20with%20static%20IP%20addresses%20(which%20is%20important%20for%20the%20type%20of%20work%20I%20do)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20Hyper-V%20Default%20Switch%20changing%20the%20subnet%20on%20every%20reboot%2C%20I'm%20having%20to%20log%20in%20the%20to%20my%20main%20VM%20(Windows%20Server%202016)%20and%20tell%20it%20that%20the%20%22new%20network%22%20that%20it%20is%20now%20connected%20to%20is%20a%20private%20network.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-848963%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-848963%22%20slang%3D%22en-US%22%3EWell%20normally%20those%20who%20virtualize%20servers%20for%20real%20life%20uses%20have%20at%20least%20one%20gigabit%20Ethernet%20port%2C%20that's%20the%20least%20i%20can%20say.%20the%20norm%20is%2010%20GBit%20Ethernet(s).%20not%20WIFI.%20and%20they%20are%20always-on%20connections.%20that's%20why%20we%20don't%20see%20server%20admins%20complain%20about%20this%20Hyper-V%20feature%20because%20the%20proper%20way%20would%20be%20to%20create%201-on-1%20links%20between%20Physical%20and%20Virtual%20network%20adapters%20using%20External%20virtual%20network%20adapter.%3CBR%20%2F%3EI%20totally%20understand%20your%20situation%2C%20sometimes%20you%20have%20to%20switch%20between%20WiFi%20and%20Ethernet%20because%20it's%20a%20laptop%2C%20portable%20and%20so%20on.%3CBR%20%2F%3Eyou%20can%20still%20create%20persistent%20routes%20in%20the%20Window's%20routing%20table%20and%20make%20the%20default%20virtual%20network%20adapter's%20IP%20address%20stick%20even%20after%20reboots.%3CBR%20%2F%3E%3CBR%20%2F%3EBtw%2C%20you%20Don't%20have%20to%20change%20anything%20in%20the%20Guest%20OS%20if%20you%20change%20your%20active%20network%20adapter%20from%20WiFi%20to%20Ethernet.%20all%20you%20need%20to%20do%20is%20to%20go%20to%20Hyper-V's%20virtual%20switch%20manager%2C%20go%20to%20the%20external%20adapter%20and%20change%20the%20external%20network%20from%20the%20drop%20down%20list.%20the%20guest%20OS%20shouldn't%20need%20any%20further%20changes%20if%20it%20has%20already%20given%20a%20static%20IP%20address%20from%20the%20same%20subnet.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-849234%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-849234%22%20slang%3D%22en-US%22%3EThanks%20for%20tips%2C%20I've%20sorted%20this%20out%20)%3CBR%20%2F%3EBut%20in%20general%2C%20why%20is%20that%20so%20hard%20to%20achieve%20compared%20to%20other%20solutions%3F%3CBR%20%2F%3EIt's%20far%20easier%20in%20Linux%20world%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-849447%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-849447%22%20slang%3D%22en-US%22%3EYou're%20welcome%2C%20glad%20you%20got%20it%20solved%20%5E%5E%3CBR%20%2F%3EWell%20i%20don't%20know%20how%20it%20can%20be%20easier%20in%20Linux%20where%20most%20of%20the%20things%20must%20be%20done%20from%20Terminal%20and%20manually%20typing%20codes%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-849709%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-849709%22%20slang%3D%22en-US%22%3E%3CP%3EI%20figured%20out%20how%20to%20create%20a%20new%20NAT%20internal%20switch%20with%20a%20static%20IP.%20It%20can%20be%20done%20via%20Powershell%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.petri.com%2Fusing-nat-virtual-switch-hyper-v%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EUsing%20a%20NAT%20Virtual%20Switch%20with%20Hyper-V%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20are%20the%20commands%20I%20used%20to%20re-create%20the%20192.168.5.X%20NAT%20network%20like%20I%20had%20in%20VMware%20Workstation%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20size%3D%223%22%3ENew-VMSwitch%20-SwitchName%20%E2%80%9CNATSwitch%E2%80%9D%20-SwitchType%20Internal%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20size%3D%223%22%3ENew-NetIPAddress%20-IPAddress%20192.168.5.1%20-PrefixLength%2024%20-InterfaceAlias%20%E2%80%9CvEthernet%20(NATSwitch)%E2%80%9D%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22terminal%2Cmonaco%22%20size%3D%223%22%3ENew-NetNAT%20-Name%20%E2%80%9CNATNetwork%E2%80%9D%20-InternalIPInterfaceAddressPrefix%20192.168.5.0%2F24%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20knew%20there%20must%20be%20a%20way%20since%20my%20scenario%20is%20very%20common%20in%20software%20development.%20There's%20just%20no%20way%20to%20do%20it%20in%20the%20Hyper-V%20Switch%20Manager%20GUI.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20no%20use%20for%20the%20Default%20Switch%20now%2C%20but%20it%20doesn't%20appear%20to%20be%20remove-able...at%20least%20not%20without%20some%20registry%20hacking.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-850642%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-850642%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20that%20same%20article%3A%3C%2FP%3E%3CP%3E%22the%20end%20result%20is%20that%20(to%20begin%20with)%20that%20virtual%20machines%20on%20the%20internal%20virtual%20switch%20can%20talk%20to%20the%20host%2C%20%3CSTRONG%3Ebut%20they%20cannot%20talk%20to%20the%20network%20that%20the%20host%20is%20connected%20to%3C%2FSTRONG%3E.%22%3C%2FP%3E%3CP%3EThat's%20totally%20useless%20for%20me.%3C%2FP%3E%3CP%3EI%20want%20my%20Virtual%20machine%20to%20be%20able%20to%20talk%20to%20the%20host%20network%20and%20be%20accessible%20from%20the%20Internet%20or%20in%20case%20of%20a%20server%2C%20it%20host%20websites%20on%20ISS%2C%20provide%20VPN%20server%20connections%20to%20outside%20clients%20over%20the%20Internet.%3C%2FP%3E%3CP%3Emy%20host%20is%20already%20behind%20a%20phyiscal%20router%2C%20putting%20my%20VMs%20on%20yet%20another%20NAT%20with%20different%20subnets%20makes%20things%20worse%20and%20impossible.%3C%2FP%3E%3CP%3Ewith%20External%20Virtual%20Swtich%20in%20Hyper-V%2C%20i%20can%20give%20an%20IP%20address%20(v6%20or%20v4)%20to%20my%20VM%20and%20then%20put%20that%20VM's%20IP%20address%20in%20my%20physical%20router's%20DMZ%20so%20it%20can%20be%20accessible%20from%20the%20Internet.%3C%2FP%3E%3CP%3Ethat's%20how%20servers%20operate.%20Hyper-V%20does%20a%20great%20job%20by%20letting%20VMs%20directly%20be%20involved%20with%20the%20real%20network.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-851648%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-851648%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BThe%20VM%20can%20connect%20to%20the%20network%20using%20an%20internal%20switch%20if%20it's%20set%20up%20with%20a%20virtual%20NAT%20firewall.%20My%20local%20server%20VM%20can%20connect%20to%20Microsoft%20Update%20(and%20the%20rest%20of%20the%20local%20network%20%2B%20internet).%20However%2C%20only%20the%20host%20(my%20laptop)%20can%20initiate%20connections%20%3CSTRONG%3Eto%3C%2FSTRONG%3Ethe%20VM...which%20is%20perfect%20for%20a%20development%20testing%20scenario.%20There%20are%20other%20servers%20(vSphere%20VMs)%20that%20the%20code%20is%20pushed%20to%20when%20it's%20time%20to%20make%20it%20available%20to%20other%20people%20for%20testing%20and%20production.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-852113%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-852113%22%20slang%3D%22en-US%22%3EExactly%20what%20i%20said.%20the%20External%20Virtual%20Network%20switch%20is%20used%20for%20Real-Life%20scenarios.%20i%20wasn't%20talking%20about%20test%20purposes.%3CBR%20%2F%3Etest%20purposes%20can%20have%20whatever%20strange%20settings%20they%20want.%3CBR%20%2F%3EServers%20such%20ca%20CA%2C%20VPN%2C%20IIS%2C%20VDI%20etc%20are%20needed%20to%20connect%20to%20the%20outside%20world%20in%20order%20to%20do%20their%20job%20and%20serve.%20the%20Internet%20network%20would%20be%20already%20behind%20a%20NAT%20which%20belongs%20to%20the%20physical%20router.%3CBR%20%2F%3Ethere%20is%20no%20point%20in%20putting%20it%20behind%20yet%20another%20NAT.%3CBR%20%2F%3Ethe%20external%20IP%20address%20is%201%20and%20when%20users%20from%20Internet%20want%20to%20connect%20to%20the%20Virtual%20Servers%2C%20they%20have%20limited%20possibilities%2C%20the%20best%20one%20would%20be%20to%20use%20VPN%20and%20then%20access%20the%20local%20network%20of%20the%20Servers%2FClients%20but%20that%20also%20does%20Not%20need%20double%20NATs.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-852400%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-852400%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BI'm%20not%20intending%20to%20argue%20with%20you%20and%20what%20I'm%20about%20to%20say%20is%20not%20directly%20related%20to%20the%20original%20topic%20of%20this%20thread%2C%20but%20you%20might%20be%20surprised%20at%20what's%20being%20done%20in%20%22real-life%22%20networking%20scenarios%20these%20days.%20The%20reason%20I%20switched%20from%20VMware%20to%20Hyper-V%20on%20my%20dev%20machine%20is%20because%20I%20need%20to%20work%20with%20Window%20Containers%20and%20Docker%20Desktop%2C%20which%20requires%20Hyper-V.%20Currently%20Hyper-V%20and%20VMware%20cannot%20coexist%2C%20but%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FVirtualization%2FVMware-Workstation-and-Hyper-V-Working-Together%2Fba-p%2F825831%22%20target%3D%22_self%22%3Ethat%20is%20about%20to%20change%3C%2FA%3E.%20In%20the%20container%20world%2C%20VM's%20are%20just%20hosts%20for%20containers%20and%20usually%20many%20containers.%20For%20example%20IIS%20would%20not%20run%20directly%20on%20a%20server%20VM%2C%20but%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fhub.docker.com%2F_%2Fmicrosoft-windows-servercore-iis%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ein%20a%20container%3C%2FA%3E.%20In%20larger%20scale%20systems%20like%20I%20work%20with%2C%20everything%20is%20redundant%20and%20disposable.%20For%20example%2C%20the%20web%20application%20I%20work%20on%20has%20many%20instances%20in%20production%20all%20sitting%20behind%20a%20reverse%20proxy%20(which%20itself%20is%20in%20a%20container).%20If%20one%20instance%20dies%20for%20some%20reason%2C%20no%20big%20deal%2C%20another%20is%20spun%20up%20to%20replace%20it.%20The%20containers%20are%20all%20behind%20a%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fvirtualization%2Fwindowscontainers%2Fcontainer-networking%2Farchitecture%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EHyper-V%20internal%20switch%20with%20NAT%3C%2FA%3E.%20Anyway%2C%20it%20you%20want%20to%20learn%20more%20about%20containers%20in%20the%20Windows%20world%2C%20here's%20a%20good%20place%20to%20start%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fvirtualization%2Fwindowscontainers%2Fabout%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAbout%20Windows%20containers%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-852433%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-852433%22%20slang%3D%22en-US%22%3EYeah%20as%20you%20said%20it's%20off%20topic%20so%20i%20have%20no%20interest%20in%20discussing%20containers.%3CBR%20%2F%3Ebut%20as%20i%20said%2C%20using%20double%20NATs%20won't%20let%20servers%20be%20accessible%20from%20the%20Internet.%20specially%20if%20it's%20a%20nested%20virtualization%20that%20I%20use%20mostly.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-852441%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-852441%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BThat%20is%20incorrect.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-852492%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-852492%22%20slang%3D%22en-US%22%3EIt's%20not.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-880690%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-880690%22%20slang%3D%22en-US%22%3EYou%20are%20my%20hero!%20I%20have%20been%20fighting%20this%20since%20I%20setup%20hyper%20v%20on%20windows%2010%20a%20couple%20of%20days%20ago.%20I%20was%20dropping%20packets%20left%20and%20right%20once%20I%20started%20my%20virtual%20machine.%20Thank%20you!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894247%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894247%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3BIt%20sounds%20as%20though%20our%20respective%20use-cases%20may%20be%20similar.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E(Edit%20to%20add%3A%20I%20had%20missed%20your%20most%20recent%20reply%2C%20as%20I%20failed%20to%20notice%20page%202%3B%20I%20will%20look%20into%20the%20PowerShell-based%20solution!%20Thank%20you!)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20a%20web%20developer%20who%20works%20primarily%20with%20VMs%20running%20GNU%2FLinux.%20I%20work%20in%20a%20Windows-driven%2C%20corporate%20ecosystem%2C%20though%2C%20so%20my%20primary%20development%20machine%20runs%20Windows%2010%20with%20Hyper-V.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20many%20different%20VMs%20that%20I%20spin-up%20on%20a%20regular%20basis%2C%20oftentimes%20freshly-provisioned%20(that%20is%2C%20built%20dynamically%20and%20booted%20for%20the%20first%20time%20on%20each%20use).%20The%20provisioning%20process%20is%20100%25%20automated%2C%20which%20I%20mention%20only%20to%20make%20clear%20that%20there%20is%20no%20room%20for%20%22manual%20tweaking%22%20nor%20GUI%20configuration%20in%20my%20workflow%3B%20any%20networking%20configuration%20has%20to%20be%20automated%20during%20provisioning.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFurther%2C%20I%20have%20many%20VM%20configurations%20in%20which%20one%20VM%20needs%20to%20communicate%20with%20one%20or%20more%20other%20VMs%20on%20the%20same%20subnet%2C%20which%20requires%20that%20each%20source%20VM%20knows%20any%20potential%20destination%20VM's%20IP%20address%20(a%20hostname%20could%20work%2C%20too%2C%20if%20hostname%20resolution%20was%20configured%20correctly%2C%20which%20I%20haven't%20yet%20attempted%20with%20Hyper-V).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMore%20importantly%2C%20I%20need%20this%20subnet%20to%20be%20completely%20isolated%20from%20my%20physical%20NIC%20so%20that%20there%20is%20zero%20possibility%20of%20another%20machine%20on%20my%20LAN%20communicating%20with%20any%20of%20the%20VMs%20running%20in%20Hyper-V.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20I%20also%20need%20for%20the%20VMs%20to%20be%20able%20to%20connect%20to%20the%20Internet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%2C%20here's%20where%20I'm%20stuck%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.)%20Default%20Switch%3A%20IP%20address%20assigned%20to%20VMs%20changes%20at%20random%20on%20host%20system%20reboot%2C%20so%20without%20hostname%20resolution%20across%20multiple%20VMs%20on%20VLAN%2C%20this%20configuration%20is%20untenable.%3C%2FP%3E%3CP%3E2.)%20External%20Network%3A%20This%20makes%20my%20VMs%20visible%20on%20our%20corporate%20LAN%2C%20which%20is%20a%20no-go.%3C%2FP%3E%3CP%3E3.)%20Internal%20Network%3A%20My%20VMs%20cannot%20obtain%20IPv4%20addresses%20for%20some%20reason%3B%20only%20IPv6.%20No%20idea%20why%20this%20is.%3C%2FP%3E%3CP%3E4.)%20Private%20Network%3A%20Doesn't%20allow%20VMs%20access%20to%20internet%2C%20so%20not%20viable.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3EDo%20you%20have%20a%20clever%20solution%20that%20will%20meet%20my%20requirements%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894283%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894283%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3EThis%20thread%20is%20really%20old%20and%20in%20a%20few%20days%20Windows%2010%201909%20is%20being%20released%20for%20the%20public%20use.%3CBR%20%2F%3Ecurrently%20Windows%2010%201903%20is%20globally%20available%20for%20both%20home%20and%20businesses.%20lot%20of%20things%20have%20improved%20ever%20since.%3CBR%20%2F%3E%3CBR%20%2F%3Eso%20which%20Windows%2010%20build%20are%20you%20using%3F%3CBR%20%2F%3EI%20personally%20use%20Windows%2010%20insider%20fast%20ring%20build%2018990%20(2001).%3CBR%20%2F%3E%3CBR%20%2F%3Eokay%20so%20for%20you%20special%20situation%2C%20I%20would%20use%202%20physical%20NICs%2C%20which%20is%20very%20normal%20for%20configurations%20like%20yours.%3CBR%20%2F%3E1%20physical%20NIC%20would%20provide%20connection%20for%20the%20Host%20only%20(Internet%20connection%20%2B%20communication%20with%20other%20LAN%20devices%20on%20your%20real%20network)%20and%20the%20other%20physical%20NIC%20would%20be%20tied%20to%20all%20of%20your%20VMs%20as%20an%20(External)%20virtual%20network%20adapter.%3CBR%20%2F%3E%3CBR%20%2F%3Ethis%20way%20your%20VMs%20would%20be%20isolated%20from%20the%20host%20and%20other%20devices%20on%20your%20LAN%2C%20as%20they%20all%20have%20access%20to%20the%20physical%20NIC%202%20only%20(through%20an%20external%20virtual%20network%20adapter).%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnother%20possibility%20would%20be%20to%20set%20up%202%20virtual%20network%20adapters.%201%20private%20(for%20inter-VM%20communications)%20and%20the%20other%20to%20give%20VMs%20Internet%20access%20which%20is%20again%20the%202nd%20physical%20NIC%20as%20an%20external%20network%20adapter).%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894305%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894305%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20the%20default%20switch's%20crazy%20behavior%20of%20re-creating%20its%20vEthernet%20adapter%20on%20every%20reboot%20fixed%20in%201909%20(or%20later)%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894318%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894318%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENope%2C%3C%2FP%3E%3CP%3Eif%20you%20need%20to%20use%20the%20default%20switch%20you%20can%20create%20your%20own%20persistent%20route%20from%20the%20powershell.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhat%20is%20actually%20crazy%20is%20that%20when%20someone%20decides%20to%20setup%20servers%20and%20then%20use%20the%20default%20switch%20for%20that%20server%2C%20after%20that%20complain%20why%20the%20default%20switch%20gets%20a%20new%20IP%20address%20after%20each%20reboot!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EMicrosoft%20never%20designed%20the%20default%20switch%20for%20long%20term%20usage%20or%20advanced%20usage%20like%20on%20a%20virtual%20server%20(VM).%3C%2FSTRONG%3E%20the%20default%20switch%2C%20as%20the%20name%20applies%2C%20is%20just%20a%20%3CSTRONG%3Eset%20up%20and%20forget%3C%2FSTRONG%3E%20virtual%20network%20adapter%2C%20made%20by%20Default%2C%20f%3CSTRONG%3Eor%20Anyone%20without%20Any%20networking%20experience%3C%2FSTRONG%3E%2C%20to%20setup%20a%20quick%20VM%20using%20the%20%3CSTRONG%3Equick%20VM%20creation%3C%2FSTRONG%3E%20in%20Hyper-V.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EAny%20serious%20server%20admin%20knows%20Not%20to%20use%20the%20default%20switch%20for%20any%20server.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20why%20some%20people%20fail%20to%20understand%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDefault%20switch%20changes%20IP%20address%20after%20every%20reboot%20because%20it%20is%20%3CSTRONG%3ESmart%3C%2FSTRONG%3E%2C%20it%20%3CSTRONG%3Eevaluates%20the%20network%3C%2FSTRONG%3E%20environment%20and%20chooses%20a%20free%20and%20routable%20temporary%20IP%20address%20for%20the%20user%20to%20use%20it%20on%20their%20VM.%3C%2FP%3E%3CP%3Ea%20user%20that%20doesn't%20need%20or%20doesn't%20know%20how%20to%20go%20through%20more%20advanced%20setups%20like%20External%20virtual%20network%20adapter.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894320%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894320%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20Microsoft%20provide%20a%20feature%20that%20they%20don't%20want%20you%20to%20use%20%3F%20Why%20don't%20they%20just%20delete%20it%20or%20give%20option%20to%20delete%20it%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20not%20smart%20way%20to%20change%20IP%20after%20each%20reboot%20for%20routing%2C%20not%20at%20all%20%2C%20it%20is%20just%20a%20stupid%20bug%20may%20never%20be%20fixed.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894338%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894338%22%20slang%3D%22en-US%22%3EWho%20said%20they%20don't%20want%20you%20to%20use%20the%20default%20switch%3F%3CBR%20%2F%3Eread%20my%20post%20again%2C%20it's%20for%20people%20who%20don't%20know%20much%20about%20networking%20so%20Hyper-V%20creates%20a%20pre-made%20virtual%20network%20adapter%20called%20default%20switch%20for%20them%20to%20help%20get%20internet%20connection%20on%20their%20VM.%3CBR%20%2F%3Epeople%20might%20be%20behind%20multiple%20NATs%2C%20different%20subnets%20and%20have%20multiple%20NICs%2C%20default%20switch%20is%20Smart%20so%20it%20identifies%20the%20difficulties%20of%20the%20network%20and%20creates%20a%20non-persistent%20route%20for%20the%20moment%20to%20give%20that%20user%20an%20Internet%20connection%20at%20any%20cost.%20the%20reason%20it%20chooses%20a%20non-persistent%20route%20is%20to%20Reevaluate%20the%20network%20environment%20for%20any%20changes.%20the%20random%20addresses%20gives%20it%20flexibility.%3CBR%20%2F%3E%3CBR%20%2F%3Eif%20the%20default%20switch%20is%20bugging%20you%20then%20you're%20doing%20it%20Wrong.%3CBR%20%2F%3Eyou're%20probably%20relying%20on%20an%20static%20IP%20address%20and%20instead%20of%20doing%20the%20proper%20and%20correct%20work%20of%20creating%20an%20external%20network%20adapter%2C%20you%20just%20used%20the%20default%20switch.%3CBR%20%2F%3Ethat's%20Not%20the%20right%20way.%3CBR%20%2F%3E%3CBR%20%2F%3Ethis%20is%20something%20that%20I%20use%20for%20work%20and%20personal%20everyday%20and%20I've%20worked%20with%20lots%20of%20other%20professionals%20either%20IRL%20or%20collaborated%20over%20the%20Internet%2C%20Learned%20from%20them%20and%20experienced%20myself%2C%20nobody%2C%20I%20say%20again%2C%20Nobody%20chooses%20the%20default%20switch%20for%20a%20Virtual%20Server%20that%20needs%20a%20static%20IP%20address.%3CBR%20%2F%3Eyou%20can't%20do%20something%20wrong%2C%20get%20a%20bad%20result%20and%20then%20say%20it's%20a%20bug....%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894349%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894349%22%20slang%3D%22en-US%22%3EYeah%2C%20I'd%20be%20fine%20if%20I%20could%20just%20remove%20the%20default.%20It's%20a%20real%20headache%20when%20I%20need%20to%20connect%20my%20work%20laptop%20to%20the%20corporate%20network.%20I%20can't%20get%20on%20the%20corporate%20WLAN%20if%20there%20are%20any%20other%20unauthenticated%20adapter%20connections...and%20the%20vEthernet%20adapter%20is%20not%20authenticated.%20I%20know%20a%20registry%20hack%20to%20get%20around%20this%20issue...but%20the%20dang%20vEthernet%20adapter%20gets%20recreated%20on%20every%20boot%20and%20I%20have%20to%20re-apply%20the%20hack.%20I%20could%20write%20a%20script%20to%20do%20it%2C%20but%20its%20madness%20that%20I%20can't%20just%20get%20rid%20of%20the%20thing.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894350%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894350%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EPlease%20stop%20speaking%20for%20MS%2C%20it%20is%20stated%20nowhere%20that%26nbsp%3B%3CBR%20%2F%3E%3CSTRONG%3EMicrosoft%20never%20designed%20the%20default%20switch%20for%20long%20term%20usage%20or%20advanced%20usage%20like%20on%20a%20virtual%20server%20(VM)%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20documentation%20said%20nothing%20about%20it.%20I've%20spent%20hours%20just%20to%20figure%20out%20that%20it's%20simply%20broken.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EAny%20serious%20server%20admin%20knows%20Not%20to%20use%20the%20default%20switch%20for%20any%20server.%3C%2FSTRONG%3E%3CBR%20%2F%3EIt's%20not%20true%20again.%20You%20could%20use%20any%20default%20switch%20from%20every%20other%20software%20vendor%20except%20MS%20no%20matter%20are%20you%20serious%20or%20not.%26nbsp%3B%3CBR%20%2F%3EWhy%20don't%20you%20just%20understand%20that%20it's%20not%20a%20feature%2C%20it's%20a%20bug%2C%20nobody%20doing%20this%20stuff%20except%20MS.%20Nobody%20period.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894353%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894353%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403187%22%20target%3D%22_blank%22%3E%40sn00p%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%E2%80%9CHyper-V%20has%20a%20Default%20Switch%20for%20easy%20networking.%E2%80%9D%20Having%20just%20tried%20it%20out%20myself%2C%20I%20can%20affirm%20that%20this%20Default%20Switch%20makes%20Hyper-V%20networking%20dead%20simple.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsearchenterprisedesktop.techtarget.com%2Fblog%2FWindows-Enterprise-Desktop%2FDefault-Switch-Makes-Hyper-V-Networking-Dead-Simple%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsearchenterprisedesktop.techtarget.com%2Fblog%2FWindows-Enterprise-Desktop%2FDefault-Switch-Makes-Hyper-V-Networking-Dead-Simple%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20you%20don't%20believe%20me%2C%20I%20can%20give%20you%20thousands%20of%20guides%20and%20YouTube%20videos%20to%20show%20everyone%20setting%20up%20a%20virtual%20servers%20uses%20%3CSTRONG%3EExternal%2FInternal%2FPrivate%3C%2FSTRONG%3E%20network%20adapters%2C%20%3CSTRONG%3ENot%20the%20default%20one.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894355%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894355%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3EYeah%2C%20I'd%20be%20fine%20if%20I%20could%20just%20remove%20the%20default.%20It's%20a%20real%20headache%20when%20I%20need%20to%20connect%20my%20work%20laptop%20to%20the%20corporate%20network.%20I%20can't%20get%20on%20the%20corporate%20WLAN%20if%20there%20are%20any%20other%20unauthenticated%20adapter%20connections...and%20the%20vEthernet%20adapter%20is%20not%20authenticated.%20I%20know%20a%20registry%20hack%20to%20get%20around%20this%20issue...but%20the%20dang%20vEthernet%20adapter%20gets%20recreated%20on%20every%20boot%20and%20I%20have%20to%20re-apply%20the%20hack.%20I%20could%20write%20a%20script%20to%20do%20it%2C%20but%20its%20madness%20that%20I%20can't%20just%20get%20rid%20of%20the%20thing.%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EYou%20can%20disable%20it%20from%20the%20network%20settings%20or%20device%20manager.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894356%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894356%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403187%22%20target%3D%22_blank%22%3E%40sn00p%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EPreviously%20you%20had%20to%20mess%20around%20using%20virtual%20switch%20manager%20to%20create%20a%20connection%20to%20network.%20Now%20you%20just%20select%20default%20switch%20if%20you%20like.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EThis%20option%20is%20essential%20for%20quick%20creating%20a%20new%20hyper-v%20session.%3C%2FSTRONG%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EIt%20is%20only%20used%20in%20existing%20sessions%20if%20you%20explicitly%20add%20it%20to%20a%20particular%20VM%20session.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EDeleting%20it%20will%20%3CFONT%20color%3D%22%23FF0000%22%3Enot%20provide%20any%20additional%20security%3C%2FFONT%3E%2C%20or%20%3CFONT%20color%3D%22%23FF0000%22%3Eprevent%20other%20users%20creating%20a%20virtual%20switch.%3C%2FFONT%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EDeleting%20things%20without%20understanding%20their%20functionality%20is%20surefire%20way%20to%20break%20things!%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3Ethe%202nd%20comment%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.tenforums.com%2Fvirtualization%2F96064-hyper-v-cannot-delete-default-switch-after-fall-creators-update.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.tenforums.com%2Fvirtualization%2F96064-hyper-v-cannot-delete-default-switch-after-fall-creators-update.html%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894357%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894357%22%20slang%3D%22en-US%22%3ETrue%2C%20but%20I%20have%20to%20re-disable%20it%20after%20every%20boot.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894364%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894364%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403187%22%20target%3D%22_blank%22%3E%40sn00p%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eyou%20said%20stop%20speaking%20for%20MS%20(Microsoft)%2C%3C%2FP%3E%3CP%3Eok%20sure%2C%20of%20course%2C%20why%20not.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehere%20is%20what%20Microsoft%20says%2C%20Not%20me%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EHyper-V%20has%20a%20Default%20Switch%20for%20easy%20networking%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FVirtualization%2FWhat-s-new-in-Hyper-V-for-Windows-10-Fall-Creators-Update%2Fba-p%2F382399%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FVirtualization%2FWhat-s-new-in-Hyper-V-for-Windows-10-Fall-Creators-Update%2Fba-p%2F382399%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20a%20%3CSTRONG%3Eprofessional%20user%3C%2FSTRONG%3E%20who%20wants%20to%20setup%20a%20Virtual%20Server%20for%20serious%20work%20use%20%3CSTRONG%3Esomething%20that%20is%20made%20for%20easy%20network%3F%3C%2FSTRONG%3E%20if%20he%2Fshe%20does%20then%20he%2Fshe%20is%20%3CSTRONG%3ENo%20longer%20called%20professional%3C%2FSTRONG%3E%2C%20but%20%3CSTRONG%3Eamateur%3C%2FSTRONG%3E.%20and%20for%20amateurs%2C%20Microsoft%20created%20the%20Default%20switch.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894388%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894388%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BIt's%20not%20a%20documentation.%20It's%20just%20a%20tech%20blogs%20with%20workarounds%20for%20an%20extremely%20buggy%20software.%26nbsp%3B%3CBR%20%2F%3EThe%20default%20switch%20is%20not%20usable%20in%20almost%20every%20scenario%20except%202%20minutes%20demo%20session%20and%20I%20bet%20it%20could%20fail%20even%20in%20this%20case.%26nbsp%3B%3CBR%20%2F%3EIt's%20like%20a%20car%20moving%20randomly%20in%20every%20direction%20possible%20no%20matter%20the%20actual%20driver%20wants%20to%20drive.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAnd%20the%20thing%20that%20you%20have%20to%20add%20more%20objects%20to%20make%20it%20works%20doesn't%20make%20it%20a%20feature%2C%20it's%20still%20a%20bug.%20And%20even%20more%2C%20it's%20completely%20undeletable.%26nbsp%3B%3CBR%20%2F%3EPlease%20try%20Linux%20or%20simply%20VirtualBox%20so%20you%20could%20compare%20a%20MS%20mess%20and%20working%20solution%20from%20other%20vendors.%20Few%20hours%20for%20MS%20to%20make%20it%20work%20and%20few%20clicks%20on%20VB%20or%20few%20lines%20of%20configuration%20on%20Linux%20really%20makes%20a%20difference%20and%20MS%20is%20not%20a%20winner%20here.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894393%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894393%22%20slang%3D%22en-US%22%3EThe%20reality%20is%20something%20else%2C%20I'm%20sorry%20that%20you%20feel%20it's%20a%20bug%20but%20the%20fact%20is%20different.%20you're%20free%20to%20have%20your%20opinion.%3CBR%20%2F%3E%3CBR%20%2F%3EDefault%20switch%20is%20usable%20in%20Every%20scenario%20except%20those%20that%20require%20static%20IP%20addresses%20such%20as%20servers.%3CBR%20%2F%3E%3CBR%20%2F%3Ethe%20majority%20of%20the%20computer%20users%2Fhome%20users%20in%20the%20world%20use%20dynamic%20IP%20address%2C%20ISPs%20all%20around%20the%20world%20give%20their%20subscribers%20dynamic%20IP%20addresses%2C%20they%20only%20lease%20static%20IP%20address%20only%20to%20those%20clients%20that%20pay%20more%20and%20explicitly%20ask%20for%20it.%3CBR%20%2F%3E%3CBR%20%2F%3Ethere%20is%20no%20win%20or%20loss%2C%20it's%20not%20a%20race%2C%20the%20correct%20way%20is%20shown%2C%20now%20if%20someone%20decides%20to%20go%20the%20wrong%20way%2C%20then%20it's%20their%20fault.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894438%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894438%22%20slang%3D%22en-US%22%3EWell.%20HyperV%20doesn't%20have%20innate%20shared%20folders.%20Would%20you%20be%20so%20kind%20as%20to%20describe%20a%20procedure%20for%20sharing%20folders%20with%20Linux%20VM%20on%20the%20default%20switch%3F%3CBR%20%2F%3EIt's%20not%20possible%20in%20the%20current%20implementation.%20There%20are%20hundreds%20of%20details%20you%20didn't%20take%20into%20account%20saying%3CBR%20%2F%3E%22Default%20switch%20is%20usable%20in%20Every%20scenario%20except%20those%20that%20require%20static%20IP%20addresses%20such%20as%20servers%22.%3CBR%20%2F%3EIt's%20not%20true%2C%20you%20can't%20even%20share%20folders.%20You%20can't%20use%20firewalls%2C%20you%20can't%20use%20ACLS%20or%20another%20wide%20used%20technics.%20It%20requires%20different%20third%20party%20software%20(all%20premium)%20and%20hours%20of%20configuring%20to%20be%20usable.%20Just%20compare%20it%20to%20simple%20two%20clicks%20in%20virtualbox%20before%20advocating%20weird%20and%20buggy%20MS%20implementation%20of%20the%20simplest%20thing%20ever%20widely%20available%20in%20every%20other%20similar%20software.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894800%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894800%22%20slang%3D%22en-US%22%3EIt's%20also%20annoying%20that%20you%20have%20to%20switch%20your%20network%20from%20public%20to%20private%20every%20time%20the%20IP%20range%20changes%20for%20no%20reason.%3CBR%20%2F%3E%3CBR%20%2F%3EA%20fixed%20range%20that%20changes%20only%20if%20there's%20a%20collision%20with%20the%20host's%20network%20would%20be%20enough.%20There%20is%20absolutely%20no%20need%20to%20randomize%20the%20IP%20range%20every%20time%20the%20host%20reboots.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894803%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894803%22%20slang%3D%22en-US%22%3ENot%20me.%3CBR%20%2F%3Eyou%20talked%20about%20another%20subject%20so%20I%20tried%20to%20stick%20to%20the%20topic%20and%20do%20not%20deviate.%20if%20you%20wanna%20talk%20about%20other%20subject%20you%20can%20open%20another%20topic.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894805%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894805%22%20slang%3D%22en-US%22%3EIt's%20for%20easy%20networking%20and%20quick%20VM%20creation%2C%20anything%20in%20particular%20and%20more%20advanced%20feature%20you%20need%20you%20have%20to%20use%20other%20types%20of%20virtual%20network%20adapters.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894808%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894808%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3BHow%20is%20it%20%22advanced%20networking%22%20if%20I%20just%20wanna%20attach%20a%20computer%20to%20a%20network%2C%20but%20need%20it%20to%20be%20designated%20a%20private%20network%20so%20the%20firewall%20just%20works.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20this%20point%20you're%20just%20defending%20your%20own%20point%20of%20view.%20You%20can't%20make%20a%20statement%20anymore%20where%20you%20don't%20feel%20personally%20attacked.%20It's%20become%20very%20tedious.%20Just%20let%20go.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894810%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894810%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%3C%2FP%3E%3CP%3E%22set%20the%20default%20network%20location%20for%20all%20known%20and%20uknown%20networks%20in%20Group%20Policy%20to%20private%2C%20no%20problem%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20happened%20with%20your%20previous%20statement%20%22It's%20for%20easy%20networking%20and%20quick%20VM%20creation%22%3F%20Editing%20group%20policies%20is%20not%20quick%20and%20easy.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22computers%20on%20a%20network%20using%20DHCP%20do%20NOT%20change%20their%20network%20locations%20when%20the%20DHCP%20server%20gives%20them%20a%20different%20IP%20address.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThey%20do%20when%20the%20new%20IP%20address%20is%20in%20a%20different%20subnet.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20stop%20assuming%20that%20your%20way%20of%20working%20with%20Hyper-V%20is%20the%20only%20truth.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894813%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894813%22%20slang%3D%22en-US%22%3EAlso%20there%20is%20another%20way%2C%3CBR%20%2F%3Enone%20of%20these%20is%20for%20people%20looking%20for%20easy%20networking%20but%20if%20you%20insist%20on%20using%20something%20that%20is%20made%20by%20default%20for%20people%20with%20little%20to%20no%20networking%20experience%2C%20then%20here%20it%20goes%3A%3CBR%20%2F%3E%3CBR%20%2F%3Ewrite%20a%20script%2C%20save%20it%20as%20a%20.bat%20file%20and%20the%20script%20should%20take%20the%20network%20adapter%20name%20and%20set%20it%20as%20private%2C%20use%20the%20Windows%20task%20scheduler%20to%20make%20it%20run%20at%20every%20startup.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894811%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894811%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20don't%20wanna%20use%20other%20types%20of%20adapters%20so%20I%20said%20alright%2C%20if%20you%20want%2C%20here%20is%20the%20way.%3CBR%20%2F%3E%3CBR%20%2F%3Eif%20you%20use%20the%20group%20policy%20to%20change%20the%20network%20location%20for%20all%20known%20and%20unknown%20networks%2C%20meaning%20any%20future%20networks%20that%20appear%20will%20have%20the%20private%20location.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20you%20simply%20looked%20at%20my%20previous%20comments%20in%20the%20thread%2C%20you%20would%20know%20that%20it's%20not%20my%20way%20of%20thinking%20but%20many%20other%20people's.%20those%20links%20I%20mentioned%20are%20barely%20even%201%25%2C%20there%20are%20lots%20of%20other%20proofs%20I%20can%20mention.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894809%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894809%22%20slang%3D%22en-US%22%3E%3CP%3ENope%2C%3CBR%20%2F%3Eattach%20your%20VM%20to%20the%20virtual%20network%20adapter%2C%20no%20problem%2C%20set%20the%20virtual%20network%20adapter%20Inside%20the%20VM%20to%20private%2C%20no%20problem%2C%20set%20the%20default%20network%20location%20for%20all%20known%20and%20unknown%20networks%20in%20Group%20Policy%20to%20private%2C%20no%20problem.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23000000%22%3Einstead%20of%20talking%20about%20imaginary%20things%20about%20me%2C%20please%20stay%20on%20topic%20and%20Don't%20be%20rude.%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3Eso%20again%2C%3CBR%20%2F%3E1.%20use%20group%20policy%2C%20the%20local%20one%2C%20not%20the%20group%20policy%20management%2C%20to%20change%20network%20locations.2.%20if%20you%20change%20the%20virtual%20network%20adapter%20INSIDE%20the%20VM%2C%20it%20WON'T%20change%20after%20reboot%20of%20the%20host.computers%20on%20a%20network%20using%20DHCP%20do%20NOT%20change%20their%20network%20locations%20when%20the%20DHCP%20server%20gives%20them%20a%20different%20IP%20address.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894904%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894904%22%20slang%3D%22en-US%22%3EI%20already%20have%20workarounds%20for%20that%2C%20np.%20The%20question%20was%20that%20the%20default%20switch%20for%20some%20reason%20is%20hardly%20usable%20in%20any%20scenario.%20It's%20not%20deletable%2C%20not%20configurable%2C%20not%20documented%20and%20changes%20it's%20own%20IP%20(as%20well%20as%20VM%20IP)%20address%20randomly.%20You%20can't%20use%20it%20outside%20of%20the%20very%20simple%20case%20-%20to%20have%20some%20simple%20internet%20inside%20VM%20for%20one%20session.%20In%20most%20scenarious%20it's%20just%20not%20enough%20no%20matter%20how%20skilled%20you%20are.%20Also%20it%20breaks%20other%20functionality%20like%20firewalls%2C%20access%20list%2C%20shared%20folders%2C%20streaming%2C%20NAT%20and%20all%20services%20inside%20VM%20which%20wants%20static%20address.%20And%20it%20means%20that%20any%20configuration%20is%20not%20reproducible%20and%20can't%20persist%20after%20a%20reboot.%20Every%20reboot%20you%20have%20to%20reconfigure%20VM%20services%20over%20and%20over.%20It's%20not%20the%20way%20software%20works%20in%20human%20world%2C%20it's%20just%20quirky%20MS%20implementation.%20And%20you%20have%20to%20pay%20for%20that's%20sad.%20I%20quit%20because%20it's%20not%20a%20discussion%20but%20more%20religious%20talk%20I%20guess.%3CBR%20%2F%3EDIXI%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894919%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894919%22%20slang%3D%22en-US%22%3EDefault%20switch%20is%20not%20to%20be%20used%20for%20advanced%20VMs%20where%20static%20IP%20address%20is%20required.%3CBR%20%2F%3E%3CBR%20%2F%3Edefault%20switch%20was%20introduced%20only%20recently.%20what%20do%20you%20think%20people%20used%20to%20do%20All%20those%20Years%20then%3F%20default%20switch%20was%20added%20for%20one%20purpose%20and%20I%20mentioned%20what%20it%20is.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894929%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894929%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20will%20you%20say%20to%20yourself%20if%20MS%20fix%20this%20bug%20in%20future%20version%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894930%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894930%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20forced%20to%20unsubscribe%20from%20the%20thread%20albeit%20I%20spun%20it%20initially.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECannot%20take%20you%20Narcissistic%20BS%20anymore.%20You%20have%20all%20the%20last%20words.%20I%20am%20gone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBala%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894932%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894932%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206435%22%20target%3D%22_blank%22%3E%40Bala%20Sundaram%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20forced%20to%20unsubscribe%20from%20the%20thread%20albeit%20I%20spun%20it%20initially.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECannot%20take%20you%20Narcissistic%20BS%20anymore.%20You%20have%20all%20the%20last%20words.%20I%20am%20gone.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBala%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EReported%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-894933%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-894933%22%20slang%3D%22en-US%22%3EI%20don't%20think%20it's%20a%20bug%20in%20the%20first%20place%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-899983%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-899983%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F310193%22%20target%3D%22_blank%22%3E%40HotCakeX%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20replying%3B%20I%20appreciate%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20Windows%2010%20Version%201903%2C%20build%2018362.329.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20in%20no%20way%20married%20to%20the%20Default%20Switch%20and%20am%20perfectly%20content%20to%20create%20another%20switch%20for%20my%20purposes.%20I%20simply%20need%20to%20meet%20the%20conditions%20described%20in%20my%20previous%20post.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20second%20configuration%20you%20suggest%20looks%20to%20be%20exactly%20what%20I%20want%2C%20and%20in%20fact%2C%20it's%20exactly%20what's%20described%20in%20the%20following%20blog%20post%20that%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3Bcited%20earlier%20in%20the%20thread%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.petri.com%2Fusing-nat-virtual-switch-hyper-v%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.petri.com%2Fusing-nat-virtual-switch-hyper-v%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CIMG%20src%3D%22https%3A%2F%2Fwww.petri.com%2Fwp-content%2Fuploads%2Fsites%2F3%2F2017%2F02%2FHyper-VNATSwitch.png%22%20border%3D%220%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20configuration%20does%20in%20fact%20function%20exactly%20the%20way%20I'd%20like%2C%20so%20I'm%20happy!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20said%2C%20I%20concur%20with%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F407215%22%20target%3D%22_blank%22%3E%40mlmathews%3C%2FA%3E%26nbsp%3Bthat%20the%20Default%20Switch%20poses%20an%20annoyance%20now%2C%20for%20one%20specific%20reason%3A%20when%20I%20provision%20a%20virtual%20machine%20with%20Vagrant%2C%20I'm%20prompted%20which%20switch%20to%20use%2C%20because%20I%20now%20have%20more%20than%20one%2C%20whereas%20when%20only%20one%20switch%20exists%2C%20Vagrant%20chooses%20the%20only%20switch%20automatically%20and%20without%20prompting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20disabling%20the%20Default%20Switch%20in%20the%20Device%20Manager%20(which%2C%20of%20course%2C%20also%20causes%20it%20to%20be%20disabled%20in%26nbsp%3BControl%20Panel%5CNetwork%20and%20Internet%5CNetwork%20Connections)%2C%20but%20Vagrant%20still%20sees%20it%20as%20long%20as%20it's%20available%20in%20Hyper-V's%20Virtual%20Switch%20Manager.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20any%20case%2C%20I%20can%20live%20with%20this%20minor%20annoyance%2C%20as%20well%20as%20the%20fact%20that%20the%20Virtual%20Switch%2C%20despite%20it's%20un-intuitive%20behavior%2C%20may%20be%20working%20exactly%20as%20Microsoft%20intends.%20Whether%20or%20not%20that%20behavior%20is%20ill-conceived%2C%20short-sighted%2C%20and%20completely%20out%20of%20lockstep%20with%20that%20seen%20in%20competing%20products%20is%20another%20discussion%20in%20which%20I%20have%20far%20less%20interest%20than%20%22just%20getting%20it%20working%22.%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20if%20the%20information%20offered%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmikefrobbins.com%2F2018%2F11%2F08%2Fmanaging-the-hyper-v-default-switch-in-windows-10-version-1709-and-higher-with-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmikefrobbins.com%2F2018%2F11%2F08%2Fmanaging-the-hyper-v-default-switch-in-windows-10-version-1709-and-higher-with-powershell%2F%3C%2FA%3E%20has%20not%20changed%20substantially%20since%20its%20publication%2C%20removing%20the%20Default%20Switch%20sounds%20to%20be%20more%20trouble%20than%20it's%20worth.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20again%20for%20all%20the%20help%2C%20everyone!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-900191%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-900191%22%20slang%3D%22en-US%22%3EThank%20you%20very%20much%2C%20appreciate%20the%20kind%20words%2C%3CBR%20%2F%3EIt's%20good%20to%20know%20that%20it's%20working%20out%20for%20you%2C%20unfortunately%20I%20don't%20much%20experience%20with%20Vagrant%20myself%20but%20I%20think%20this%20is%20a%20great%20feedback%20that%20you%20provided%20about%20Hyper-V%20and%20Vagrant%20incompatibility%20over%20the%20default%20switch%2C%20I%20think%20Microsoft%20can%20fix%20this%20with%20Vagrant%20just%20like%20they%20cooperate%20with%20VMWare%20to%20make%20compatible%20features%2C%20I%20would%20definitely%20up%20vote%20it%20if%20you%20post%20it%20in%20the%20uservoice%20or%20Feedback%20Hub.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20again%2C%20have%20a%20good%20one!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-916835%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916835%22%20slang%3D%22en-US%22%3E%3CP%3EI%20realize%20that%20many%20of%20us%20have%20differing%20use-cases%3B%20some%20of%20us%20are%20software%20developers%20using%20Vagrant%20who%20want%20internal%20IP%20addresses%2C%20some%20of%20us%20are%20systems%20admins%20using%20Windows%20Server%20who%20want%20external%20IP%20addresses%2C%20and%20some%20of%20us%20are%20adamant%20about%20using%20the%20Default%20Switch%20whereas%20some%20of%20us%20don't%20care%20what%20switch%20we%20use%20as%20long%20as%20its%20IP%20address%20doesn't%20change.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20those%20who%20share%20my%20specific%20use-case%20(i.e.%2C%20using%20Vagrant%20and%20aren't%20hellbent%20on%20using%20the%20Default%20Switch)%2C%20I%20wrote%20a%20comprehensive%20How-To%2C%20which%20you%20may%20find%20helpful%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsuperuser.com%2Fa%2F1379582%2F176764%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsuperuser.com%2Fa%2F1379582%2F176764%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHopefully%2C%20Vagrant%20and%20Microsoft%20can%20work%20together%20to%20eliminate%20all%20the%20hoop-jumping!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-916841%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916841%22%20slang%3D%22en-US%22%3EI'm%20wondering%2C%20The%20default%20switch%20has%20only%20been%20with%20us%20for%202%20years%20now%2C%20it's%20fairly%20new%2C%20so%20what%20were%20the%20Vagrant%20users%20using%20before%20Default%20switch%20was%20even%20introduced%3F%3CBR%20%2F%3EHyper-V%20itself%20is%20not%20new%20and%20people%20have%20been%20using%20it%20for%20Years%2C%20when%20it%20didn't%20have%20Default%20switch%2C%20but%20suddenly%202%20years%20ago%20Microsoft%20introduced%20it%20for%20users%20with%20no%20networking%20experience%20and%20then%20all%20the%20professionals%20decides%20to%20use%20it%20too.%3CBR%20%2F%3E%3CBR%20%2F%3Eso%20yeah%20I'm%20wondering%20why%20not%20do%20the%20same%20thing%20that%20they%20were%20before%20Default%20switch%20was%20even%20in%20Hyper-V.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-918312%22%20slang%3D%22en-US%22%3ERe%3A%20Hyper-V%20Default%20switch%20IP%20address%20range%20change.%20Ver%201809%20Build%2017763.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-918312%22%20slang%3D%22en-US%22%3EIn%20my%20case%2C%20the%20only%20reason%20I'm%20trying%20to%20use%20Hyper-V%20now%20is%20that%20it's%20required%20if%20you%20want%20to%20user%20Windows%20containers%20%2F%20Docker%20Desktop%20on%20Windows%2010.%20I'd%20much%20prefer%20to%20still%20be%20using%20VMware%20Workstation%2C%20but%20unfortunately%20VMware%20and%20Hyper-V%20can't%20co-exist%20(yet).%20So%20I've%20bitten%20bullet%20and%20moved%20to%20Hyper-V.%20I'm%20honestly%20really%20surprised%20how%20far%20behind%20Hyper-V%20is%20in%20capabilities%20and%20flexibility%20compared%20to%20VMware%20Workstation%20given%20how%20long%20Hyper-V%20has%20been%20around.%3C%2FLINGO-BODY%3E
Bala Sundaram
Occasional Contributor

Can one confirm IP address range changed to 192.168.X.Y Subnet 255.255.255.240 from 172.X.X.X

 

Also changes the subnet randomly on every Hyper-V services startup. 192.168.X.Y . X can change from 51 thru 180.

 

Although this is working on DHCP based IP assignment on guests, It is causing issues on static IP as it keeps changing after every boot

 

Regards,

Bala

94 Replies

It appears to be very random.

 

Default switch again reverted back to 172.17.X.X .

 

Strange.

Yes, I got same problem and can not find any answers to get a fixed ip for default switch.

Take a look at your Default Switch in Virtual Switch Manager, is it set to "External Network" with a defined controller or is it set to "Internal Network"?

Erratic IP address assignment issue is fixed in Build 17763. 134.

I am bit confused about the last post about checking in the VSM for External/Internal network that is association. We are talking about Default Switch supplied by MS for NATing from Configuration version >7.0. MS easy way of old fashioned internet connection sharing. It is always EXTERNAL. I am sorry not able to make any sense. We are not taking about a custom Switch that is associated with any network type (External/Internal/Private)

@Bala Sundaram is correct in that the Connection type cannot be changed for the Default Switch (all of the options are grayed-out), @H3ALY , even with all VMs powered-off.

 

In any case, I have the same problem/question as @Remon li . All I'm trying to do is assign a static IP address to a guest VM so that it doesn't change on me unexpectedly. I'd really like to satisfy the following requirements:

 

  1. Be able to specify the IP address to be used in the guest VM, e.g., 192.168.10.10.
  2. Be able to accomplish the above programatically, so that it can be done as part of an automated provisioning process (e.g., via Vagrant).
  3. Give Internet access to the guest VM via NAT (exactly as is done with the Default Switch). To be clear, I am amenable to using the Default Switch (instead of creating a new one), as long as its IP address does not change on me.

 

It sounds as though this is a two-part problem, and the first part is fixed in Build 17763.134, so at least the subnet will no longer change at random.

 

@Bala Sundaram , when you say, "Erratic IP address assignment issue is fixed in Build 17763. 134", how many of the four octets are now "fixed"? The first three? In other words, do you now find that the address is predictably set to 192.168.XX, where XX never changes unexpectedly (nor the 192.168 part)?

 

Thanks for any clarification that you're able to provide!

 

Hello cbj4074,

 

I do not know why I said something very wrong. Sorry for misleading. I checked again, It appears the unpredictable IP address on default switch issue exists in build 17763.104 too. Darn thing assigns CLASS C (172.17.239.XXX) or CLASS D (192.168.75.XXX). It is still unmanegable. May be I was clouded by the workaround I had in place. 

 

Basically I created a work around to take advantage of default switch as my two Physical NICs are teamed and fault tolerant.

 

  1. Created an Internal Switch
  2. Also have default switch that piles up on the bridged NIC (ICS)
  3. Have to VNIC's on the guest.
    1. Internal Switch based NIC is Static 192.168.5.XXX (255.255.255.0) for guest to guest communication.
    2. Default switch based NIC is Dynamic for Internet access

Regards,

Bala

 

17763.168 released , is it fixed or not ?

Took it down 17763.168 last night and was hoping it will be corrected. Confirming still has same issue and default switch is unmanagable exactly like ICS definition.

Only new thing it is assigning only class D Network ip address.

First two octet seems stabilized. 192.168.XXX.YYY. can change on every Hyper-V service start/stop
Bad news. I'm afraid develop team take it as new featuer instead of bug.

Too bad it is a pretty cool feature that is not working as we want. May be the development team has other ideas I suppose. As this is an ICS based knock off functionality, I am not surprised. ICS behaves exactly the same and unmanageable too.

No problem at all, @Bala Sundaram . I really appreciate the info you've shared thus far, and thank you for clarifying your observations.

 

In Hyper-V on the mainline Enterprise branch (Build 1803 17134.345), I've only ever seen the Default Switch assign a Class B address in the 172.X.X.X range, and the last three octets seem variable.

 

Although, when I create a new External Switch (haven't tried the other types), it is assigned a Class C address in the 192.X.X.X range.

 

Are you sure that in your particular case the class B vs. class C assignment isn't based simply on the type of switch (Default, External, Internal, and Private)?

 

In any case, until there is some simple means by which to set these values statically, this behavior is going to be problematic for automation, period. :(

Are you sure that in your particular case the class B vs. class C assignment isn't based simply on the type of switch (Default, External, Internal, and Private)?

@cbj4074, I have no idea how iP is getting assigned. 17763.104 was bad, 17763.164 seems to atleast stick to Class D. I have stopped/started , rebooted at least dozen times and confirming.

Thanks again for sharing your observations @Bala Sundaram .

 

I can confirm that the switch type does not determine assigned IP address class, as you suggest. Indeed, when using the Default Switch, my colleagues and I receive a mix of 192 and 172 addresses if we provision VMs repeatedly.

 

To work around this, we've had to implement scripts that run at the end of the provisioning process, within the VMs, to detect and set the IPv4 and gateway addresses statically.

 

If there's any upside to the Hyper-V Switch behavior, it's that once a static IP is hard-coded within the VM, Hyper-V seems happy to issue it to the client whenever the VM is powered-on.

 

That said, I have not tried rebooting the host machine, starting/stopping the Hyper-V service, etc. between VM boots to see if that behavior remains consistent...

@cbj4074 

 

I am glad you got it sorted out. Pretty cool.

 

BTW...Regarding your comment "I can confirm that the switch type does not determine assigned IP address class, as you suggest"

 

One needs to be on Insider Build 17763.168 to get consistent CLASS D IP address on Hyper-V Stop/Starts. Sorry do not know the build number for W2K16 which I am told is also based on same code path of Windows 10K.

 

Regards,

Bala

17763.194 has same issue.
 
According to the Microsoft-Windows-Hyper-V-VmSwitch/Operations log, it shows that the Default Switch is recreated each time the machine is booted.
(When started in safe mode with networking, it is not recreated, so it remains on the same subnet as last normal boot.)

And that's precisely why this behavior is so annoying.

 

Even though I'm hard-coding a static IP in the VM during provisioning (based upon the dynamic IP that Hyper-V assigns via the Default Switch), as soon as I restart the host machine, the IP address class/range may very well change, which makes the VM network configuration inoperable.

 

To be clear, hard-coding a static IP in the VM is not a problem, as long as the Default Switch in Hyper-V doesn't change the IP address class. But when the guest IP address's first three octets are changing on every host machine reboot, there is simply no reliable means by which to configure a guest VM to use a static IP address. Assigning a static IP during provisioning is a trivial matter in every other virtualization solution! The fact that it's impossible in Hyper-V is bewildering.

 

Is anybody aware of an official "issue" / "bug report" that documents the behavior we're discussing in this thread?

As a concrete example, the Default Switch in Hyper-V assigns 172.17.123.149 upon initial VM provisioning, and then I reboot and the address changes to 172.18.63.196. (At least it's not 192.168.x.x! That happens some portion of the time, too!)

 

As far as I'm aware, there is no means by which to configure this IP address range.

 

Even the folks working for HashiCorp's Vagrant can't figure out how to nail-down a static IP address in Hyper-V; see: https://github.com/hashicorp/vagrant/issues/8384 . If they can't figure it out, the rest of us are hopelessly lost...

Acturally, it will change to 192.168.x.x after several more rebooting.

This has been the case for quite some time - and is not isolated to 17763, and stretches to 10240.

(Though earlier issues weren't this exact problem)

 

The "Hyper-V Virtual Ethernet Adapter" that appears in device manager that appears as "vEthernet (Default Switch)" in Network and Sharing Centre is being deleted and reinstalled each time you shutdown and boot.

 

You can also check the registry to see the abundant keys that are created and never removed and just linger in HKLM\System\CurrentControl\Services\

 

If you're suffering from this issue - you should see a ton of {GUID} just under .NETFramework, and  a whole bunch more in the VM services section... vmsmp, vmsp, vmsfsf, etc.

VMSMP\parameters\SwitchList contains the current 'Default Switch'

 

Those GUID under the .NETFramework Key, when expanded will have Tcpip keys for previous switches...

Hyper-Fail.PNG.jpg

I confirmed that the pair of rules of reception of "DNS Server Forward Rule TCP - XXXXXXXXXXXXXXXX - 0" and "DNS Server Forward Rule UDP - XXXXXXXXXXXXXXXX - 0" increases forever with the influence that the Default Switch is recreated. The "XXXXXXXXXXXXXXXX" is GUID of port of Default Switch that was recreated. If we do not delete wasted rules, will one day overflow?

Do you have any idea how to get this ip fixed ? Maybe we can run powershell script to change it after reboot ?

 

---------------------

Just tried to update IP on reboot with powershell script, it's ok to keep same IP , but the network doesn't

work for VMs.This is not way.

@Remon li 

 

Not at the moment - because there may be changes upcoming to Hyper-V for 1903 - so anything we do now will be made redundant for the next upgrade.... which is very similar to what has been happening since 1511.

 

The Virtual Machine connected to the Default Switch will also be connecting to 'New' networks for the first time, each time both the Host and Virtual machine boots... changing to a static IP only solves the problem temporarily - as changes to the default switch IP will result in the VM losing connectivity.

The work around I had where I created a new 'custom default switch' and keeping the original default switch along side it worked best, as I just told all the Virtual Machines to ignore the original default switch and just use the custom switch that I configured.

The only thing that breaks this is major build upgrades - example: 1511 - 1607 - 1703 - 1803

As well as anything relating to having to reset your network configuration using the Settings UI aka ImmersiveShell.

 

@Remon li 

 

I haven't actually played around with all of my VM's yet. However - 1903 has fixed one of the Hyper-V Default Switch problems:

 

The Default Switch would always be set as a public network - this can be disruptive to other connected networks - as I don't trust that the MS Engineers did a good job with how Domain/Private/Public interact.

 

With 1903  - the Default Switch is not assigned a Network Category. Which is how it should have been to begin with.

 

It is always going to be a private network - as VM's can only use it to interact with other VM's on the Host and to the Host itself.. an Internal Network. Like I said... I don't trust the engineers to have done the network categories correctly, until now. Took 4 years.

Anyhow, I'm in the middle of updating the VM's on my laptop to 1903 and see what I can do in the Guest Machine.

 

Finally-Internal.jpg

@かずお 山内 

@Bala Sundaram 

@Remon li 

 

pseudoInternal-Bridge.PNG

 

Host (Right Screen):  vEthernet (Main Internal) - 10.0.0.1

Guest (Left Screen)- Static IP. Gateway is Host's Main Internal Switch IP.

IP: 10.0.0.2

Subnet: 255.255.255.0

Gateway: 10.0.0.1

 

If you need Internet connectivity on the Guest - you need to bridge your Host Machine's Main Internal Switch to an Internet Connection... Highlight Both, Right Click and Bridge. Easiest way to do it.

 

(Main Internal) Static IP addresses persist through Reboot and Shutdown.

Guest Machines connecting to (Main Internal) will need a Static IP set and these also persist thought Reboot and Shutdown. You will need to host a DHCP server if you don't want to use static.

 

Nested VM ... you can go 3 deep with Hyper-V.

The Hyper-V Server that will host DHCP will need to spoof Mac-Address. If you don't you'll end up with the same set of IP addresses each time.

 

Here's better screenshot... NB-TECH and NB-G751JY will always connect to each other after reboot, and vEthernet (Default Switch) is never used.

Guest-Internal.jpg

 

Host-Internal.jpg

This thread is about the default switch, not a new switch you create with a fixed IP address.

@Bala Sundaram Dont want to be that guy, but...172.x.x.x is a class B (16 bit) 

Class C address is the one I believe your referring too as in 192.168.x.x

 

Basically -

Class A goes from  0 upto 127 - ex. 10.10.10.1

Class B goes from 128 upto 191  (hence the 172.16.x.x as i too have that anomaly in my vEthernet

Class C goes from 192 upto 223 - common ex. 192.168.1.1

then you get Class D and also but these are reserved special purposes.  Class D for multicast and E for experimental.

Class D goes from 224 upto 239

Class E goes from 240 upto 255

 If you knew this then ignore this reply.

I hope you sorted out the issue. I dont see any resolution at the end of this thread. Let me know if you did.

All the best.

Danny

 

So, is there a solution to this? I really would like my Default Switch to have a static IP configuration.

I've been working a lot with Hyper-V and I gotta tell you that the default switch is NOT meant for static IP addressing. in any tutorial or YouTube video you watch you'll see than none of them choose the default switch for static IP addressing.
if you want static IP and never changes, you should make a new virtual network adapter and make it EXTERNAL, then connect it to your PHYSICAL network adapter (all done in Hyper-V switch manager), it will make a bridged connection in your host Windows. then inside your guest OS (VM) you can give a static IP to your OS and it will stay that way and never changes.

IMO default switch is for those who want a quick setup and get a VM up and running fast without any additional settings.

@HotCakeX wrote:
if you want static IP and never changes, you should make a new virtual network adapter and make it EXTERNAL, then connect it to your PHYSICAL network adapter (all done in Hyper-V switch manager), it will make a bridged connection in your host Windows. 

While others in this thread have provided this information it was the concise nature of your post that provided the eureka moment for me.

Thank you.

 


@HotCakeX wrote:
I've been working a lot with Hyper-V and I gotta tell you that the default switch is NOT meant for static IP addressing. in any tutorial or YouTube video you watch you'll see than none of them choose the default switch for static IP addressing.
if you want static IP and never changes, you should make a new virtual network adapter and make it EXTERNAL, then connect it to your PHYSICAL network adapter (all done in Hyper-V switch manager), it will make a bridged connection in your host Windows. then inside your guest OS (VM) you can give a static IP to your OS and it will stay that way and never changes.

IMO default switch is for those who want a quick setup and get a VM up and running fast without any additional settings.


I've been working a lot with Hyper-V, too. The default network adapter is not meant to change IP address ranges with every reboot. Once an IP address is set, it should be immutable. Throwing around with workaround does not remove the issue at hand.

 

Your described way to get a static IP is fine. However, this doesn't work when I have to test something that involves DHCP. Sure, I can install a NAT with 2 vNICs, one on one external switch and the other on a private switch, but that involves additional hours to setup correctly.

 

With the built-in network address translation of the Default Switch, this problem is already solved. And for testing purposes it would be perfectly fine, were it not for the non-intended behaviour that the address range randomly changes between reboots of the host computer.

Sorry but I wasn't replying to you, i was replying to the OP, your problem might be different and i didn't consider your setup.
anyhow, I don't see how any of the things you mentioned can possibly take "hours" to setup. if you know the topology you're going to deploy beforehand then it can only takes few minutes to setup. btw you don't have to set anything in the host network adapters (virtual or not), everything happens in the guests.
if you want to set something that involves DHCP? like a Windows server DHCP? you still need external network adapter with static IP set inside the guest OS, as I said in my previous comment.
Setting up the virtual switches takes a few minutes.

I don't have a test environment handy at all times. I certainly don't have one now. So I need to get a software firewall, download the iso, create a new VM, install the firewall and configure it. This takes a bit longer than a few minutes. But that is absolutely beside the point.

The point is, the Default Switch is broken.

> if you want to set something that involves DHCP? like a Windows server DHCP? you still need external network adapter with static IP set inside the guest OS, as I said in my previous comment.

An external network adapter inside the guest OS? Either that configuration or that terminology doesn't make any sense.

@Daniel Niccoli 

look for example in your guest OS/firewall etc you need to set up these few main parameters.

InkedAnnotation 2019-08-07 205656_LI.jpg

 

whether you do it using GUI or powershell, terminal etc it's not gonna take so long..

 

also is there any indication saying that the default switch in Hyper-V must give you an static IP address regardless of host reboot?  

 

I meant making an external network adapter and connecting it to the guest OS.

that config would make sense in a nested virtualization.

@Daniel Niccoli

 

Hi.

 

I'm totally new to Hyper-V but not quite new to networking and virtualization and this random selection of private subnets really baffles me. This looks more like a fallback function and no the main one. I can understand the following reasoning: If the Hyper-V user doesn't enter a proper subnet or the subnet they entered is invalid, generate a random one (things have to work one way or another, right?) The problem is that the main function doesn't seem to exist so we get this random mess.

 

As I said, I have worked a bit in networking so I looked for a simple way to know exactly which IP addresses were used after the host operating system reboots. What I do is open a Command Line Prompt (doesn't need to be Admin) and type: arp -a. (no dot at the end) I look for the interface that I know isn't mine as in the IP address wasn't configured by me. Once I get that, the pattern is as follows:

 

The interface IP address is the address of the Host (duh!) which is the gateway IP address for the VMs. In the Physical Address column the ff-ff-ff-ff-ff-ff MAC address corresponds to the broadcast IP address for the subnet the VMs use. The rest of the IP addresses in this subnet belong to the VMs. Like so:

 

Interface: 172.18.61.97 --- 0x1c
Internet Address Physical Address Type
172.18.61.108 00-15-5d-0a-0d-00 static
172.18.61.111 ff-ff-ff-ff-ff-ff static

 

I have one VM which apparently got the 172.18.61.108 IP address this time around. Maybe there's a way to automate such "inventory check" with a script or something else.

 

I hope some will find the above tip useful. :)

 

Cheers.

I'm a Linux guy but have to use Windows10 now. Don't want to use VirtualBox or Vagrant as I have HyperV licensed. But I can't make it work sadly. Also additional hypervisor breaks a lot of things in windows10 which requires additional time to make workarounds.  

Default vSwitch keeps changing IP address on reboot. There is no DHCP server included so no way to assign a static address to my VM.

Workarounds are not helpful too. 

- tried adding new virtual switch and NAT it via PowerShell. It works until reboot only. There is no GUI for that? ok. 
- ICS is not working after reboot too, I have to manually reenable it.  Adding registry key is not working.

- tried to add external linux vm to route all the traffic, still need ICS which is not working after reboot. 

- tried third-party software, it's okay but requires additional payments.

All that bugs persists through ages, seriously? Very disappointed, want my money back.  

You can use the External vSwitch on Hyper-V VM instead of the default switch.
then inside your VM OS (guest), set a static IP address.
how? well your VM guest will get an IP address anyway, just copy it and make it static. easy

also how come your network doesn't have DHCP? you must be getting internet from somewhere. a router or DSL modem, they must have DHCP in them.

none of them you mentioned are bugs. you just have to know where to use what.

@HotCakeX it's definitely bugs, network switch can't change IP address randomly if assigned statically. As simple as that. No other network software do this thing, but MS virtual switch. 
Also that aged thing with ICS not working after reboot is a nasty bug too. 
NAT is hardly working too, sometimes it's ok, sometimes it's not. Probably arp related, idk. 
In conclusion there is no simple setup which allows you to use host internet inside hyperV VM.
Not to mention there are no shared folders so on.  

I can't use external networks because of this, I have to mount it as samba share (technology from 20 years ago okay). And how to work with VM if there is no external switch with dhcp like on a jet board? It's laptop with windows10, not a server inside infrastructure. 
VirtualBox does this sharing in two simple clicks. But Windows10 core denies all other hypervisors with every update. 

 

When you do a route print, you will see that the default vSwitch is not creating a persistent route but rather a temporary one. it's not a bug, it's intentional and the way Microsoft made it.
you can request a feature change through Feedback hub app.
the norm is that when people are running professional servers in their Hyper-V, they set external vSwitch as the network adapter for their VMs, it provides more functionality.

there is also another case when the host is connected to a VPN, if the guest VM use default vSwitch, it will have access to the same VPN as the host. but if the guest VM uses an external vSwitch, it will continue using the Direct Internet connection Even though the host is connected to the VPN. now if the default vSwitch was to get a static IP address forever, it would cause conflicts with host VPN and other scenarios where the subnet of the default gateway on the host changed.
with non-persistent routes like this, default gateway first examines and evaluates the network topology and then based on the available networks and subnets, chooses an IP address.

so again this is Not a bug, it's just how it's made.

I have a normal home router, my Windows 10 is connected wirelessly to it. in my Hyper-V I created an external virtual network adapter and connected all my VMs to that same external vSwitch. I run 3 Windows server 2019 and one of them is a VDI host (yes Nested Virtualization). all of these with a 20$ wireless network adapter and a simple normal home router. it can't be any simpler and easier than that.
I've worked with VirtualBox and VMware Workstation 15 as well, but still Hyper-V is the best.

@HotCakeX NAT is not about routes, it's about network address translation. And that switch is for NAT isn't it? But it's black-boxed and the only configuration parameter opened (static IP address) is simply broken, changing randomly every time you boot your computer. Why? No clues, nobody does this except MS. And documentation either not complete or it's just a bug. 
Again, switch is not allowed to change it's own address randomly if configured statically. If MS made it intentionally, they should fire their developers and hire professionals.
This scenario is a dead horse. It's usable only in few cases. Again, all other virtualization software do things right in few clicks but not MS. Why? No clues.
Windows costs money. And the thing you have to buy yet another software to make it works is just bad. Because it's working pretty weird out of the box and workarounds are broken too. 

I didn't talk about NAT, not even a word in my comment.
why? i told you why in my previous comment but you seem to ignore the reasoning behind it and keep on saying how bad Windows is. i can also write a book about how bad Linux is. but it's not about that. whether or not Windows costs money is off topic and not related to this thread.
i told you the solution for your problem, it's to use External Switch. I don't see why you don't want to use it. you don't need another software for it. Hyper-V doesn't need another license to use, it comes built-in by Windows 10.
again I provided real life facts and reasoning for why Windows does what it does and how it is helpful in what situations.

@sn00p The recreation of the Default Switch with a new subnet on every host reboot is definitely a bug. I'm migrating from VMware, where I use a virtual NAT network for all my VM's. I knew going in to the migration that Hyper-V has limited capabilities compared to VMware, but I didn't expect the networking to be so limited. Here's the issues I've run in to:

 

* - Default switch reconfigures on every host restart and there is no way to prevent it.

* - Default switch is the only way to have VM's on a virtual NAT...it's not possible to create a Internal Switch with NAT (correct?) that doesn't get reconfigured on every host restart

* - External switch must bridge to a specific host NIC. My host is a laptop that is sometimes docked and connected via ethernet and sometimes connected via wifi.

 

I'm new to Hyper-V (but not new to working with VMs and networking), so please correct me if I've overlooked solutions to any of the above.

P.S. I'm running on build 1903
I'm not sure about that part where you mentioned Hyper-V has limited functionality compared to VMware. I have worked VMware workstation 15 and its previous versions for years, each has it's own set of features.

Hyper-V default virtual switch is exactly made for the type of the environment you work at.
sometimes you connect to WIFI network and sometimes you connect using Ethernet cable.
each of those networks can have different set of IP addresses and subnets.
now if the default virtual switch were to create persistent routes instead of temporary ones (as it does now), it would have created problems for you because you'd have to jump in CMD each time the networks changed and set the correct routing table.

right now default Hyper-v virtual switch takes care of it automatically and it's for quick VM set up, casual VM works.
but if you want to set up servers in Hyper-V like i do, you should use external Hyper-v virtual switch. it has more functions and it gives the guest VM a static IP because it bounds it to a Real physical network adapter. that's exactly what server admins Need. usually servers use more than 1 physical network adapter. so using the external virtual switch, they can properly and separately assign each of them to a specific external virtual switch and utilize them perfectly in the guest OSes (servers). servers do need static IP addresses.
but if you just want to install a Windows 10 pro or home and do casual works then the default switch should suffice.

@HotCakeX 

 

With VMware, I could configure my virtual NAT network subnet...I had it set to 192.168.5.X and the host and guest IP addresses on the subnet where static. So no matter where I happened to be working, my VM's were isolated on a NAT network with static IP addresses (which is important for the type of work I do)

 

With the Hyper-V Default Switch changing the subnet on every reboot, I'm having to log in the to my main VM (Windows Server 2016) and tell it that the "new network" that it is now connected to is a private network.

 

 

Well normally those who virtualize servers for real life uses have at least one gigabit Ethernet port, that's the least i can say. the norm is 10 GBit Ethernet(s). not WIFI. and they are always-on connections. that's why we don't see server admins complain about this Hyper-V feature because the proper way would be to create 1-on-1 links between Physical and Virtual network adapters using External virtual network adapter.
I totally understand your situation, sometimes you have to switch between WiFi and Ethernet because it's a laptop, portable and so on.
you can still create persistent routes in the Window's routing table and make the default virtual network adapter's IP address stick even after reboots.

Btw, you Don't have to change anything in the Guest OS if you change your active network adapter from WiFi to Ethernet. all you need to do is to go to Hyper-V's virtual switch manager, go to the external adapter and change the external network from the drop down list. the guest OS shouldn't need any further changes if it has already given a static IP address from the same subnet.
Thanks for tips, I've sorted this out )
But in general, why is that so hard to achieve compared to other solutions?
It's far easier in Linux world
You're welcome, glad you got it solved ^^
Well i don't know how it can be easier in Linux where most of the things must be done from Terminal and manually typing codes
Related Conversations
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies