{"id":109,"date":"2008-11-17T08:00:00","date_gmt":"2008-11-17T07:00:00","guid":{"rendered":"http:\/\/www.razumny.no\/blog\/?p=109"},"modified":"2018-11-27T13:19:04","modified_gmt":"2018-11-27T12:19:04","slug":"quickly-and-simply-troubleshoot-networks-from-the-command-line","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=109","title":{"rendered":"Quickly and simply troubleshoot networks from the command line"},"content":{"rendered":"<p>I love using command line tools, especially for troubleshooting networking. There are two simple commands you need to know; <code>ipconfig<\/code> and <code>ping<\/code>. Here&#8217;s a simple guide to finding where the problem :<br \/>\n&nbsp;<\/p>\n<ol>\n<li>Open the command line by opening the &#8220;run&#8221; dialog box, entering <code>cmd<\/code> and clicking OK<\/li>\n<li>Ensure that the TCP\/IP service is running by pinging the loopback address like so: <code>ping 128.0.0.1<\/code><\/li>\n<li>Run the <code>ipconfig<\/code> command, which should give you information something like this:<\/li>\n<p><code>IP Address. . . . . . . . . . . . : 192.168.1.100<br \/>\nSubnet Mask . . . . . . . . . . . : 255.255.255.0<br \/>\nDefault Gateway . . . . . . . . . : 192.168.1.1 <\/code><\/p>\n<li>If your address is not an <a href=\"https:\/\/web.archive.org\/web\/20180727085032\/https:\/\/msdn.microsoft.com\/en-us\/library\/aa505918.aspx\" target=\"_blank\">APIPA address<\/a>, ping your IP-address.<\/li>\n<li>Ping the default gateway<\/li>\n<li>Ping www.iana.org<\/li>\n<li>Ping the website or server you are trying to reach<\/li>\n<\/ol>\n<p>&nbsp;<br \/>\nIf any of the above tests fail, you&#8217;ve found where the problem is.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I love using command line tools, especially for troubleshooting networking. There are two simple commands you need to know; ipconfig and ping. Here&#8217;s a simple guide to finding where the problem : &nbsp; Open the command line by opening the &#8220;run&#8221; dialog box, entering cmd and clicking OK Ensure that the TCP\/IP service is running [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[360,32],"tags":[309,299,307,308,306,305,52],"class_list":["post-109","post","type-post","status-publish","format-standard","hentry","category-microsoft-windows","category-windows-xp","tag-apipa","tag-command-line","tag-ipconfig","tag-network","tag-ping","tag-troubleshooting","tag-windows"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-1L","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":7049,"url":"https:\/\/www.razumny.no\/?p=7049","url_meta":{"origin":109,"position":0},"title":"PowerShell: Finding host name from IP address","author":"Aleksander Nordgarden-R\u00f8dner","date":"23\/01\/2023","format":false,"excerpt":"In tech support, resolving IP addresses to host names can be something you do on a relatively frequent basis. While I've always used the CLI ping command with the -a option, I have also been working towards higher proficiency in PowerShell. Frankly, for a single IP address, I prefer sticking\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3014,"url":"https:\/\/www.razumny.no\/?p=3014","url_meta":{"origin":109,"position":1},"title":"#TBT: Apt-get FTW or: How I learned to stop worrying and learned to love Ubuntu","author":"Aleksander Nordgarden-R\u00f8dner","date":"02\/04\/2015","format":false,"excerpt":"This post originally ran in May 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love.\u00a0While I still like Linux and, as I have written about last year still use Linux, it is not my main working platform.\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.razumny.no\/?cat=108"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":39,"url":"https:\/\/www.razumny.no\/?p=39","url_meta":{"origin":109,"position":2},"title":"Apt-get FTW or: How I learned to stop worrying and learned to love Ubuntu","author":"Aleksander Nordgarden-R\u00f8dner","date":"28\/05\/2008","format":false,"excerpt":"I love technology and fiddling with computers and gadgets dearly, and so, one of my long-term goals have been to has an operational computer running Linux, with which I can do most, if not all, of what I am able to do with my Windows computers.\u00a0Like most IT-professionals who has\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.razumny.no\/?cat=108"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4027,"url":"https:\/\/www.razumny.no\/?p=4027","url_meta":{"origin":109,"position":3},"title":"Access UNC paths from the Windows command line","author":"Aleksander Nordgarden-R\u00f8dner","date":"04\/02\/2019","format":false,"excerpt":"I am, with surprising regularity, faced with the need to access UNC paths\u00a0from the command line, as that is perhaps pretty much the quickest way to browse to network shares with a different user than the one currently logged in. There's just one issue: the Windows command line does not\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2744,"url":"https:\/\/www.razumny.no\/?p=2744","url_meta":{"origin":109,"position":4},"title":"Changing primary SMTP address","author":"Aleksander Nordgarden-R\u00f8dner","date":"09\/02\/2015","format":false,"excerpt":"A user called in, and wanted to have a different\u00a0address as their primary email address. After making the change, when I tried\u00a0to apply it, I encountered\u00a0the following error message: The root cause is a default setting in Exchange, applying an e-mail address policy. Here's how to resolve the problem: In\u2026","rel":"","context":"In &quot;E-mail&quot;","block_context":{"text":"E-mail","link":"https:\/\/www.razumny.no\/?cat=517"},"img":{"alt_text":"This command will clear the PrimarySMTPAddress property because the EmailAddressPoilicyEnabled parameter is set to true. This action isn't allowed.","src":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/omg.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/omg.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.razumny.no\/wp-content\/uploads\/omg.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":184,"url":"https:\/\/www.razumny.no\/?p=184","url_meta":{"origin":109,"position":5},"title":"Resolving problems opening Word documents from Windows Explorer","author":"Aleksander Nordgarden-R\u00f8dner","date":"17\/09\/2009","format":false,"excerpt":"If you have a problem opening Word documents from the Windows Explorer, the problem probably lies in how the document files are registered with the operating system. The first thing to try in correcting the problem is to unregister and reregister Word with Windows. From the command line, use the\u2026","rel":"","context":"In &quot;Microsoft Office&quot;","block_context":{"text":"Microsoft Office","link":"https:\/\/www.razumny.no\/?cat=431"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=109"}],"version-history":[{"count":4,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions"}],"predecessor-version":[{"id":4982,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/109\/revisions\/4982"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}