{"id":952,"date":"2024-02-04T07:08:59","date_gmt":"2024-02-04T07:08:59","guid":{"rendered":"http:\/\/shijuvarghese.com\/?p=952"},"modified":"2024-02-04T08:51:27","modified_gmt":"2024-02-04T08:51:27","slug":"redhat-sos-report","status":"publish","type":"post","link":"http:\/\/shijuvarghese.com\/?p=952","title":{"rendered":"Redhat &#8211; Basic network troubleshooting commands"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>The way to configure network settings have drastically changes in versions after RHEL 7. The earlier method can be found in the below link:<\/p>\n<p>&nbsp;<\/p>\n<p>Check the available network links, the devices connected and their status<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> <em>ip link show<\/em><\/li>\n<\/ul>\n<p>Check the devices and the IP addresses assigned:<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> <em>ip addr<\/em><\/li>\n<\/ul>\n<p>Verify IP address and details of a specific interface<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> <em>ip addr show ens160<\/em><\/li>\n<\/ul>\n<p>View statics of traffic on the interface<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> <em>ip -s link show ens160<\/em><\/li>\n<\/ul>\n<p>View\u00a0static routes in the routing table.<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> <em>ip route<\/em><\/li>\n<\/ul>\n<p>View the route taken via network devices to reach a destination<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> <em>tracepath shijuvarghese.com<\/em><\/li>\n<\/ul>\n<p>Review connections to a host<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong><em> netstat -na<\/em><\/li>\n<\/ul>\n<p>Tool used to dump socket statistics and displays information. It may be used as an alternative to netstat<\/p>\n<ul>\n<li><strong>[root@centos9vm ~]#<\/strong> ss<\/li>\n<li><strong>[root@centos9vm ~]#<\/strong> ss -ta\u00a0 {t = TCP and a=all}<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>&nbsp; The way to configure network settings have drastically changes in versions after RHEL 7. The earlier method can be found in the below link: <a class=\"mh-excerpt-more\" href=\"http:\/\/shijuvarghese.com\/?p=952\" title=\"Redhat &#8211; Basic network troubleshooting commands\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":256,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,30],"tags":[],"class_list":["post-952","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-rhel-9"],"_links":{"self":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=952"}],"version-history":[{"count":8,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/952\/revisions"}],"predecessor-version":[{"id":960,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/952\/revisions\/960"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/media\/256"}],"wp:attachment":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=952"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}