{"id":2697,"date":"2014-01-14T23:52:17","date_gmt":"2014-01-14T15:52:17","guid":{"rendered":"http:\/\/rmohan.com\/?p=2697"},"modified":"2014-01-14T23:57:02","modified_gmt":"2014-01-14T15:57:02","slug":"determining-if-ip-address-is-already-in-use-for-device-eth0-how-to-fix-the-issue-rhel-fedora-centos","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2697","title":{"rendered":"Determining if ip address  is already in use for device eth0. how to fix the issue RHEL FEDORA CENTOS"},"content":{"rendered":"<p>                                                           [  OK  ]<br \/>\n[root@cluster3 ~]# \/etc\/init.d\/network restart<br \/>\nShutting down interface eth0:                              [  OK  ]<br \/>\nShutting down loopback interface:                          [  OK  ]<br \/>\nBringing up loopback interface:                            [  OK  ]<br \/>\nBringing up interface eth0:  Determining if ip address 192.168.1.42 is already in use for device eth0&#8230;<br \/>\n                                                           [  OK  ]<br \/>\n[root@cluster3 ~]# ifconfig<br \/>\neth0      Link encap:Ethernet  HWaddr 00:0C:29:0C:E4:46<br \/>\n          inet addr:192.168.1.42  Bcast:192.168.1.255  Mask:255.255.255.0<br \/>\n          inet6 addr: fe80::20c:29ff:fe0c:e446\/64 Scope:Link<br \/>\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br \/>\n          RX packets:325 errors:0 dropped:0 overruns:0 frame:0<br \/>\n          TX packets:266 errors:0 dropped:0 overruns:0 carrier:0<br \/>\n          collisions:0 txqueuelen:1000<br \/>\n          RX bytes:32433 (31.6 KiB)  TX bytes:55836 (54.5 KiB)<br \/>\n          Interrupt:19 Base address:0x2000<\/p>\n<p>lo        Link encap:Local Loopback<br \/>\n          inet addr:127.0.0.1  Mask:255.0.0.0<br \/>\n          inet6 addr: ::1\/128 Scope:Host<br \/>\n          UP LOOPBACK RUNNING  MTU:16436  Metric:1<br \/>\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br \/>\n          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br \/>\n          collisions:0 txqueuelen:0<br \/>\n          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)<\/p>\n<p><strong>ADD ARPCHECK=no  <\/strong><\/p>\n<p>[root@cluster3 ~]# vi \/etc\/sysconfig\/network-scripts\/ifcfg-eth0<br \/>\nDEVICE=&#8221;eth0&#8243;<br \/>\nBOOTPROTO=none<br \/>\nNM_CONTROLLED=&#8221;yes&#8221;<br \/>\nONBOOT=yes<br \/>\nTYPE=&#8221;Ethernet&#8221;<br \/>\nUUID=&#8221;aaf08461-bf96-4b7a-9ff0-07a5bd8d3259&#8243;<br \/>\nHWADDR=00:0C:29:0C:E4:46<br \/>\nIPADDR=192.168.1.42<br \/>\nPREFIX=24<br \/>\nNETMASK=255.255.255.0<br \/>\nGATEWAY=192.168.1.254<br \/>\nARPCHECK=no<br \/>\nDNS1=8.8.8.8<br \/>\nDEFROUTE=yes<br \/>\nIPV4_FAILURE_FATAL=yes<br \/>\nIPV6INIT=no<br \/>\nNAME=&#8221;System eth0&#8243;<\/p>\n","protected":false},"excerpt":{"rendered":"<p> [ OK ] [root@cluster3 ~]# \/etc\/init.d\/network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining if ip address 192.168.1.42 is already in use for device eth0&#8230; [ OK ] [root@cluster3 ~]# ifconfig eth0 Link encap:Ethernet HWaddr [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2697"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2697"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2697\/revisions"}],"predecessor-version":[{"id":2698,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2697\/revisions\/2698"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}