{"id":87,"date":"2010-08-14T12:58:38","date_gmt":"2010-08-14T10:58:38","guid":{"rendered":"http:\/\/bergs.biz\/blog\/?p=87"},"modified":"2010-10-07T08:46:59","modified_gmt":"2010-10-07T06:46:59","slug":"how-apples-bonjour-service-may-break-your-net-config","status":"publish","type":"post","link":"https:\/\/bergs.biz\/blog\/2010\/08\/14\/how-apples-bonjour-service-may-break-your-net-config\/","title":{"rendered":"How Apple&#8217;s Bonjour service may break your net config&#8230;"},"content":{"rendered":"<p>Suddenly my brand-new, only a couple of days old Windows 7 installation had an odd problem: After a system boot or restart, networking would be broken in a way that hosts in the Internet could not be reached.<\/p>\n<p>I investigated the problem and noticed that my Ethernet adapter had <em>two <\/em>default gateways assigned, while the first was 0.0.0.0:<\/p>\n<pre>C:\\Users\\rabe&gt;ipconfig \/all<\/pre>\n<pre>[...]<\/pre>\n<pre>Ethernet adapter Local Area Connection:<\/pre>\n<pre>[...]<\/pre>\n<pre>\u00a0\u00a0 Default Gateway . . . . . . . . . : 0.0.0.0\r\n\u00a0\u00a0                                     192.168.2.1<\/pre>\n<p>I googled for this problem and found some hint that pointed toward&#8217;s <a href=\"http:\/\/en.wikipedia.org\/wiki\/Bonjour_(software)\" target=\"_blank\">Apple&#8217;s Bonjour service<\/a>. Supposedly it sometimes starts up before networking is fully up, and in consequence assigns the invalid default gateway. The advice given there to solve the problem was to completely disable this service.<\/p>\n<p>While I currently don&#8217;t need this service, I didn&#8217;t want to use this &#8220;brutal&#8221; approach, so what I did was switch the service to start up as <code>Automatic (Delayed Start)<\/code> as opposed to <code>Automatic<\/code> (which causes the service to start as early as possible).<\/p>\n<p>And this indeed did the trick &#8212; I don&#8217;t have these annoying networking problems anymore. \ud83d\ude42<\/p>\n<p><strong>Update:<\/strong> To correct the name in the &#8220;Services&#8221; application which will often be <code>Id_String2.6844F930_1628_4223_B5CC_5BB94B879762<\/code> you can use a command sequence as follows (your path to <code>mDNSResponder.exe<\/code> may vary):<\/p>\n<pre>\"C:\\Program Files\\Bonjour\\mDNSResponder.exe\" -remove\r\n\"C:\\Program Files\\Bonjour\\mDNSResponder.exe\" -install<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Suddenly my brand-new, only a couple of days old Windows 7 installation had an odd problem: After a system boot or restart, networking would be broken in a way that hosts in the Internet could not be reached. I investigated the problem and noticed that my Ethernet adapter had two default gateways assigned, while the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[45,43,44],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-windows","tag-default-gateway","tag-networking","tag-zeroconf"],"_links":{"self":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bergs.biz\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}