{"id":219430,"date":"2019-06-18T07:23:02","date_gmt":"2019-06-18T05:23:02","guid":{"rendered":"https:\/\/www.borncity.com\/blog\/?p=219430"},"modified":"2024-02-11T19:24:00","modified_gmt":"2024-02-11T18:24:00","slug":"windows-10-v1903-ip-zuteilungs-bug-in-hyper-v-switch","status":"publish","type":"post","link":"https:\/\/borncity.com\/blog\/2019\/06\/18\/windows-10-v1903-ip-zuteilungs-bug-in-hyper-v-switch\/","title":{"rendered":"Windows 10 V1903: IP-Zuteilungs-Bug in Hyper-V-Switch"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" style=\"float: left; margin: 0px 10px 0px 0px; display: inline\" src=\"https:\/\/borncity.com\/blog\/wp-content\/uploads\/2015\/01\/win102.jpg\" width=\"58\" align=\"left\" height=\"58\"\/>[<a href=\"https:\/\/borncity.com\/win\/2019\/06\/18\/windows-10-v1903-ip-resolution-bug-in-hyper-v-switch\/\" target=\"_blank\" rel=\"noopener noreferrer\">English<\/a>]Im Windows 10 Mai 2019 Update (Version 1903) und m\u00f6glicherweise auch im Oktober 2018 Update (Version 1809) gibt es einen Bug im 'Default Switch', der zu Problemen in der Windows Sandbox, im Mobile Hotspot oder in Windows Containern f\u00fchrt \u2013 die funktionieren nicht. Hintergrund ist, dass der Default Switch wohl keine IP-Adresse erh\u00e4lt. Ursache sind wohl Updates von Windows 10 und des Hardware-Herstellers. Aber es gibt einen Workaround.<\/p>\n<p><!--more--><\/p>\n<h2>Erste Meldungen<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg07.met.vgwort.de\/na\/a4df48f6cc6a4c4fade76e91c0c3be20\" width=\"1\" height=\"1\"\/>Frank Lesniak hat das erstmals im Feedback-Hub f\u00fcr Windows Insider gepostet. Ich selbst bin vor einigen Tagen \u00fcber folgenden Tweet auf das Problem aufmerksam geworden. <\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"de\">\n<p lang=\"en\" dir=\"ltr\">People on <a href=\"https:\/\/twitter.com\/hashtag\/Windows10?src=hash&amp;ref_src=twsrc%5Etfw\">#Windows10<\/a> 1903 and 1809 &#8211; please try using Hyper-V, (Windows) Mobile Hotspot, Windows Sandbox, or Windows Containers? Do they work?<\/p>\n<p>I bet they don't! Or at least they don't for me. See details here &amp; please RT\/upvote if you are seeing the same: <a href=\"https:\/\/t.co\/VgwWyDKwh9\">https:\/\/t.co\/VgwWyDKwh9<\/a><\/p>\n<p>\u2014 Frank Lesniak (@FrankLesniak) <a href=\"https:\/\/twitter.com\/FrankLesniak\/status\/1134472743267778561?ref_src=twsrc%5Etfw\">31. Mai 2019<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/p>\n<p>Das war Ende Mai 2019 noch eine Frage von Frank. Sp\u00e4ter ist er dann \u00fcber einen MSND-Foreneintrag <a href=\"https:\/\/web.archive.org\/web\/20201030060639\/https:\/\/social.msdn.microsoft.com\/Forums\/en-US\/188ab358-4231-4cf3-90e7-c70db06e5fc1\/hns-failed-with-error-element-not-found-when-creating-network-w-interface-name-specified?forum=windowscontainers\" target=\"_blank\" rel=\"noopener noreferrer\">HNS failed with error : Element not found] when creating network w\/ interface name specified<\/a> von Rafael Rivera gesto\u00dfen, der wohl ein \u00e4hnliches Problem beschreibt. <\/p>\n<blockquote>\n<p>'m creating a transparent network device with:  <\/p>\n<p>docker network create -d transparent &#8211;gateway 192.168.1.1 &#8211;subnet 192.168.1.0\/24 -o com.docker.network.windowsshim.networkname=external -o com.docker.network.windowsshim.interface=\"Virtual Machine Access\" -o com.docker.network.windowsshim.dnsservers=192.168.1.1 external  <\/p>\n<p>The Docker daemon is returning: Error response from daemon: <strong>HNS failed with error : Element not found.<\/strong>  <\/p>\n<ul>\n<li>Docker server: <strong>17.03.1-ee-3<\/strong>  <\/li>\n<li>Windows Server 2016 Standard w\/ Hyper-V role installed  <\/li>\n<li>IPv6 is up and running on all interfaces  <\/li>\n<li>Interface in question is named \"Virtual Machine Access\" and is used by Hyper-V machines on the same machine. <strong>Not<\/strong> currently set up with management operating system access, though I tried with\/without this set.<\/li>\n<\/ul>\n<p>\u2026.<\/p>\n<\/blockquote>\n<p>Auf diese Frage gab es aber keine Reaktion. Frank Lesniak hat dann noch weiter getestet und die Ursache gefunden.<\/p>\n<h2>Hyper-V-G\u00e4ste erhalten keine IP-Adresse<\/h2>\n<p>Ich hatte den oben erw\u00e4hnten Tweet auf Beobachtung. Frank Lesniak hat sich dann in <a href=\"https:\/\/twitter.com\/FrankLesniak\/status\/1138530713630887938\" target=\"_blank\" rel=\"noopener noreferrer\">diesem Tweet<\/a> nochmals vor einigen Tagen mit neuen Erkenntnissen gemeldet. <\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"de\">\n<p lang=\"en\" dir=\"ltr\">I have figured out my issue with Hyper-V's \"Default Switch\" not functioning on <a href=\"https:\/\/twitter.com\/hashtag\/Win10?src=hash&amp;ref_src=twsrc%5Etfw\">#Win10<\/a> 1903 (remember: this also caused Mobile Hotspot to not work). Symptom: <a href=\"https:\/\/twitter.com\/hashtag\/HyperV?src=hash&amp;ref_src=twsrc%5Etfw\">#HyperV<\/a> guest <a href=\"https:\/\/twitter.com\/hashtag\/VM?src=hash&amp;ref_src=twsrc%5Etfw\">#VM<\/a> (or connected device on Mobile Hotspot) never gets an IP address from DHCP&#8230; (1\/n)<\/p>\n<p>\u2014 Frank Lesniak (@FrankLesniak) <a href=\"https:\/\/twitter.com\/FrankLesniak\/status\/1138530713630887938?ref_src=twsrc%5Etfw\">11. Juni 2019<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/p>\n<p>Er konnte den Fehler eingrenzen. Grund f\u00fcr Fehlfunktionen im Bereich Windows Container, Mobile Hotspot oder Windows Sandbox in virtuellen Maschinen ist ein Bug. Die Hyper-VMs erhalten niemals eine IP-Adresse vom DHCP-Server zugeteilt. <\/p>\n<h3>Updates killen die Funktion<\/h3>\n<p>In weiteren Tweets pr\u00e4zisiert er dieses Problem, welches wohl mit automatischen Treiberupdates durch Windows 10, weiteren Updates und dem Lenovo System Update-Programm zusammen h\u00e4ngt. <\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"de\">\n<p lang=\"en\" dir=\"ltr\">I can 100% reproduce this problem if I install 1903 bare-metal on any of my three systems, let Windows complete automatic driver updates, patch Windows, then run the hardware manufacturer's system update program (e.g., Lenovo Vantage). Finally, install Hyper-V&#8230; (2\/n)<\/p>\n<p>\u2014 Frank Lesniak (@FrankLesniak) <a href=\"https:\/\/twitter.com\/FrankLesniak\/status\/1138531392147611648?ref_src=twsrc%5Etfw\">11. Juni 2019<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/p>\n<p>In obigem Tweet gibt er an, wie er das auf mehreren bare-metal Systemen nachvollziehen kann. Sobald Treiber aktualisiert und Update installiert werden und im Anschluss der System-Updater des Ger\u00e4teherstellers ausgef\u00fchrt wird, knallt es.<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"de\">\n<p lang=\"en\" dir=\"ltr\">&#8230; and then try firing up a VM (or use Mobile Hotspot). A DHCP address will never be handed out. You might also see errors in the Host-Network-Service log, event ID 1030, w\/ error codes 0x80070490 \/ 0x80070032 and mention of IpICSHlpStopDhcpServer \/ IpICSHlpStopDnsServer (3\/n) <a href=\"https:\/\/t.co\/8lPGA2gm56\">pic.twitter.com\/8lPGA2gm56<\/a><\/p>\n<p>\u2014 Frank Lesniak (@FrankLesniak) <a href=\"https:\/\/twitter.com\/FrankLesniak\/status\/1138532111181332481?ref_src=twsrc%5Etfw\">11. Juni 2019<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script> <\/p>\n<p>Die VM erh\u00e4lt keine IP-Adresse mehr vom DHCP-Server und im Ereignisprotokoll des Host-Netzwerk-Adapters finden sich Fehler 0x80070490 \/ 0x80070032 unter der Event ID 1030. <\/p>\n<h3>Kruder Workaround<\/h3>\n<p>In einem weiteren Tweet hat Frank dann einen ziemlich kruden Workaround gepostet. Man sollte die Windows Sandbox installieren.<\/p>\n<blockquote class=\"twitter-tweet\" data-lang=\"de\">\n<p lang=\"en\" dir=\"ltr\">WORKAROUND: install Windows Sandbox (in addition to Hyper-V, in this case). Having Windows Sandbox installed seems to allow Windows to have what it needs to properly hand out a DHCP address.<\/p>\n<p>SO GLAD TO FINALLY HAVE A WORKAROUND FOR THIS PROBLEM! <\/p>\n<p>\u2014 Frank Lesniak (@FrankLesniak) <a href=\"https:\/\/twitter.com\/FrankLesniak\/status\/1138532532075597825?ref_src=twsrc%5Etfw\">11. Juni 2019<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>  <\/p>\n<p>Bei ihm funktioniert dann die IP-Adresszuweisung an die VM wieder. Ob es in einem deutschen Windows 10 V1903 auch so ist, wei\u00df ich nicht. Denn da k\u00e4mpfen wir ja damit, dass die Windows-Sandbox nicht funktioniert (siehe <a href=\"https:\/\/borncity.com\/blog\/2019\/05\/28\/windows-10-v1903-update-kb4497936-breaks-sandbox\/\">Windows 10 V1903: Update KB4497936 killt die Sandbox<\/a>).<\/p>\n<p>Wundert\u00fcte Windows 10 \u2013 immer f\u00fcr eine \u00dcberraschung gut \u2013 aber meist kriegst Du nur Mist angeboten, wenn Du in diese Wundert\u00fcte schaust. Aber vielleicht hilft es jemandem, der sich einen Ast absucht, warum Hyper-V-G\u00e4ste \u00c4rger bei Internet-Funktionen machen. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[English]Im Windows 10 Mai 2019 Update (Version 1903) und m\u00f6glicherweise auch im Oktober 2018 Update (Version 1809) gibt es einen Bug im 'Default Switch', der zu Problemen in der Windows Sandbox, im Mobile Hotspot oder in Windows Containern f\u00fchrt \u2013 &hellip; <a href=\"https:\/\/borncity.com\/blog\/2019\/06\/18\/windows-10-v1903-ip-zuteilungs-bug-in-hyper-v-switch\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,3694],"tags":[1169,24,7514],"class_list":["post-219430","post","type-post","status-publish","format-standard","hentry","category-virtualisierung","category-windows-10","tag-hyper-v","tag-problem","tag-windows-10-v1903"],"_links":{"self":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/posts\/219430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/comments?post=219430"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/posts\/219430\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/media?parent=219430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/categories?post=219430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/blog\/wp-json\/wp\/v2\/tags?post=219430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}