{"id":10498,"date":"2006-09-27T11:12:06","date_gmt":"2006-09-27T08:12:06","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2006\/09\/27\/assinging-network-settings\/"},"modified":"2006-09-27T11:12:06","modified_gmt":"2006-09-27T08:12:06","slug":"assinging-network-settings","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2006\/09\/27\/assinging-network-settings\/","title":{"rendered":"Assinging network settings"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Yet another strange problem that I was banging my head at recently was the magical swapping of network interfaces after reboot.  It&#8217;s not such a big issue, as reboots are rare, but when they happen, it annoys the hell out of me.  The problem is that I&#8217;ll get my eth0 device would become eth1 and my eth1 would change to eth0.  And back again after the next reboot.<\/p>\n<p>Today I got really bored with this swapping, as I had to change my firewall settings once again, and decided to solve it once and for all.<\/p>\n<p>The solution turned out to be trivial.  There is a simple way of specifying which network settings should apply to which network device.  All I had to do was edit <code>\/etc\/sysconfig\/network-scripts\/ifcfg-eth0<\/code> file and add <code>HWADDR=my:mac:address:here<\/code> line.  Then I did the same for the eth1 device.<\/p>\n<p>I&#8217;ve tried a few reboots just to test the solution and so far it looks great.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Yet another strange problem that I was banging my head at recently was the magical swapping of network interfaces after reboot. It&#8217;s not such a big issue, as reboots are rare, but when they happen, it annoys the hell out of me. The problem is that I&#8217;ll get my eth0 device would become eth1 and &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2006\/09\/27\/assinging-network-settings\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Assinging network settings<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":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},"_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"keyring_services":[],"class_list":["post-10498","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":26308,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/08\/04\/setting-up-nat-on-amazon-aws\/","url_meta":{"origin":10498,"position":0},"title":"Setting up NAT on Amazon AWS","author":"Leonid Mamchenkov","date":"August 4, 2016","format":false,"excerpt":"When it comes to Amazon AWS, there are a few options for configuring Network Address Translation (NAT). \u00a0Here is a brief overview. NAT Gateway NAT Gateway is a configuration very similar to Internet Gateway. \u00a0My understanding is that the only major difference between the NAT Gateway and the Internet Gateway\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24608,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/08\/20\/graphviz-dot-erds-network-diagrams\/","url_meta":{"origin":10498,"position":1},"title":"Using Graphviz dot for ERDs, network diagrams and more","author":"Leonid Mamchenkov","date":"August 20, 2015","format":false,"excerpt":"I've mentioned Graphviz many a time on this blog. \u00a0It's simple to use, yet very powerful. \u00a0The dot language is something that can be jotted down by hand in the simplest of all text editors, or generated programmatically. The official website features a gallery, which demonstrates a wide range of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"Simple graph","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/08\/simple.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":10497,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/09\/25\/wifi-fix-manual-channel-selection\/","url_meta":{"origin":10498,"position":2},"title":"WiFi fix : manual channel selection","author":"Leonid Mamchenkov","date":"September 25, 2006","format":false,"excerpt":"Recently, I've been experiencing some really strange problems with my laptop's wireless connection to the office network. At home everything works like a charm, but my attempts of getting connected in the office were becoming harder and harder. Sometimes I'd get online instantly. At other times I'll try for a\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7467,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/","url_meta":{"origin":10498,"position":3},"title":"MRTG","author":"Leonid Mamchenkov","date":"April 26, 2004","format":false,"excerpt":"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14853,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/05\/12\/disable-automatic-restart-in-ms-windows\/","url_meta":{"origin":10498,"position":4},"title":"Disable automatic restart in MS Windows","author":"Leonid Mamchenkov","date":"May 12, 2011","format":false,"excerpt":"At my current work, MS Windows is a corporate standard, so I have to spend my days in a VMware virtual machine. \u00a0With two large monitors, that's not a big issue at all. \u00a0However there is one really annoying bit about my Windows machine. \u00a0If I leave it on overnight,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10000,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/22\/everything-worked-out-just-fine\/","url_meta":{"origin":10498,"position":5},"title":"Everything worked out just fine","author":"Leonid Mamchenkov","date":"March 22, 2006","format":false,"excerpt":"This is a quick update on my notebook post. Everything works great and smooth. In fact, I am typing this post on the notebook, which runs a fresh install of the brand new Fedora Linux 5 (it was released just a couple of days ago). As promised, most of the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/10498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=10498"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/10498\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=10498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=10498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=10498"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=10498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}