{"id":360,"date":"2018-09-12T17:14:26","date_gmt":"2018-09-12T17:14:26","guid":{"rendered":"http:\/\/www.linuxauthority.com\/wordpress\/?p=360"},"modified":"2018-09-12T17:58:42","modified_gmt":"2018-09-12T17:58:42","slug":"rhcsa-network-exercise","status":"publish","type":"post","link":"https:\/\/www.linuxauthority.com\/wordpress\/?p=360","title":{"rendered":"RHCSA Network exercise"},"content":{"rendered":"\n<!-- ALL ADSENSE ADS DISABLED -->\n<p>First check that network manage is enabled<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.45.56-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-364\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.45.56-AM.png\" alt=\"\" width=\"1990\" height=\"492\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.45.56-AM.png 1990w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.45.56-AM-300x74.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.45.56-AM-768x190.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.45.56-AM-1024x253.png 1024w\" sizes=\"(max-width: 1990px) 100vw, 1990px\" \/><\/a><\/p>\n<p>systemctl list-unit-files | grep -i net<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.46.50-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-362\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.46.50-AM.png\" alt=\"\" width=\"2008\" height=\"496\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.46.50-AM.png 2008w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.46.50-AM-300x74.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.46.50-AM-768x190.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.46.50-AM-1024x253.png 1024w\" sizes=\"(max-width: 2008px) 100vw, 2008px\" \/><\/a><\/p>\n<p>systemctl status NetworkManager -l | grep enp<\/p>\n<p>My kingdom for an easy way to go back to eth0<\/p>\n<p>nmcli connection delete enp0s3\u00a0 \u00a0# Delete any connection from previous use of the VM<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.59.21-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-370\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.59.21-AM.png\" alt=\"\" width=\"2014\" height=\"166\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.59.21-AM.png 2014w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.59.21-AM-300x25.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.59.21-AM-768x63.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-10.59.21-AM-1024x84.png 1024w\" sizes=\"(max-width: 2014px) 100vw, 2014px\" \/><\/a><\/p>\n<p>nmcli connetion add connection add con-name enp0s3 type ethernet autoconnect yes ip4 10.0.2.15\/24 gw4 10.0.2.2<\/p>\n<p>I think nmcli is overly complex for the job it does. Since it has created a base ifcfg-enp0s3 file I prefer to edit it directly.<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.26.33-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-372\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.26.33-AM.png\" alt=\"\" width=\"2030\" height=\"1208\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.26.33-AM.png 2030w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.26.33-AM-300x179.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.26.33-AM-768x457.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.26.33-AM-1024x609.png 1024w\" sizes=\"(max-width: 2030px) 100vw, 2030px\" \/><\/a><\/p>\n<p>Lets bounce networking and see what we get.<\/p>\n<p>systemctl restart NetworkMaanager;ip addr<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.52.33-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-376\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.52.33-AM.png\" alt=\"\" width=\"2012\" height=\"732\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.52.33-AM.png 2012w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.52.33-AM-300x109.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.52.33-AM-768x279.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-11.52.33-AM-1024x373.png 1024w\" sizes=\"(max-width: 2012px) 100vw, 2012px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Basic network tests:<\/p>\n<p>ping 192.168.122.1<\/p>\n<p>ping 10.0.2.2<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.18-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-380\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.18-PM.png\" alt=\"\" width=\"1936\" height=\"676\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.18-PM.png 1936w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.18-PM-300x105.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.18-PM-768x268.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.18-PM-1024x358.png 1024w\" sizes=\"(max-width: 1936px) 100vw, 1936px\" \/><\/a><\/p>\n<p>dig hpe.com<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.43-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-382\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.43-PM.png\" alt=\"\" width=\"2020\" height=\"996\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.43-PM.png 2020w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.43-PM-300x148.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.43-PM-768x379.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-12.00.43-PM-1024x505.png 1024w\" sizes=\"(max-width: 2020px) 100vw, 2020px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Next: reboot test followed by ping thy neighbor classroom.example.com.<\/p>\n<p><a href=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-1.53.32-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-396\" src=\"http:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-1.53.32-PM.png\" alt=\"\" width=\"1978\" height=\"1208\" srcset=\"https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-1.53.32-PM.png 1978w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-1.53.32-PM-300x183.png 300w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-1.53.32-PM-768x469.png 768w, https:\/\/www.linuxauthority.com\/wordpress\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-12-at-1.53.32-PM-1024x625.png 1024w\" sizes=\"(max-width: 1978px) 100vw, 1978px\" \/><\/a><\/p>\n<p>Looks like we have a winner after toggling Virtualbox an Oracle product that I hate to Internel Network.<\/p>\n<p>Your mileage may vary. This setup worked differently on a 2012 Mac versus this 2018 Mac versus a Dell laptop.<\/p>\n<p>My best environment for practice was a Dell T710 running an all Linux environment. But alas that wont fit on an airplane. I am writing this from Israel and my T710 is available in Florida via teamviewer so fans may see that environment yet.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First check that network manage is enabled systemctl list-unit-files | grep -i net systemctl status NetworkManager -l | grep enp My kingdom for an easy way to go back to eth0 nmcli connection delete enp0s3\u00a0 \u00a0# Delete any connection from previous use of the VM nmcli connetion add connection add con-name enp0s3 type ethernet autoconnect [&hellip;]<\/p>\n<a role=\"link\" class=\"rtp-readmore\" title=\"Read more on RHCSA Network exercise\" href=\"https:\/\/www.linuxauthority.com\/wordpress\/?p=360\" rel=\"nofollow\">Read More &rarr;<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,21],"tags":[],"class_list":["post-360","post","type-post","status-publish","format-standard","hentry","category-rhcsa-exam-prep","category-systems-administration"],"_links":{"self":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/360"}],"collection":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=360"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/360\/revisions"}],"predecessor-version":[{"id":400,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/360\/revisions\/400"}],"wp:attachment":[{"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxauthority.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}