<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question To get static IP address in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160195#M24611</link>
    <description>&lt;P&gt;HI All, I facing an issue of different IP address everytime when I am restarting VMWare machine. Can some one suggest how to get the same/static IP address. (let me know if I do need to change any .vmx file or any other file entry). Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2016 18:35:51 GMT</pubDate>
    <dc:creator>rahulkatnihcet</dc:creator>
    <dc:date>2016-04-07T18:35:51Z</dc:date>
    <item>
      <title>To get static IP address</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160195#M24611</link>
      <description>&lt;P&gt;HI All, I facing an issue of different IP address everytime when I am restarting VMWare machine. Can some one suggest how to get the same/static IP address. (let me know if I do need to change any .vmx file or any other file entry). Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 18:35:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160195#M24611</guid>
      <dc:creator>rahulkatnihcet</dc:creator>
      <dc:date>2016-04-07T18:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: To get static IP address</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160196#M24612</link>
      <description>&lt;P&gt;In your /etc/network/interfaces file, you probably have something like the following:&lt;/P&gt;&lt;PRE&gt;auto lo
iface lo 
inet loopback

auto eth0
iface eth0 
inet dhcp&lt;/PRE&gt;&lt;P&gt;In your /etc/network/interfaces file, you need to change the inet element under eth0 to static and add your desired networking info:&lt;/P&gt;&lt;PRE&gt;auto lo
iface lo 
inet loopback

auto eth0
iface eth0 
inet static
address 192.168.78.10
netmask 255.255.255.0
network 192.168.78.0
broadcast 192.168.78.255
gateway 192.168.78.1&lt;/PRE&gt;&lt;P&gt;The first three elements of your address, network, broadcast, and gateway should be the same as those in the ip automatically assigned by vmware to your vm (in this case, 192.168.178). The fourth element of your address should be something between 3 and 128 inclusive, to avoid conflicts with dhcp (in this case 10). The fourth element of network is always 0. The fourth element of broadcast is always 255. The fourth element of gateway is always 1.  &lt;/P&gt;&lt;P&gt;Finally, be sure to restart your vm for the above changes to take effect and then follow the steps in our doc to check &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.1/bk_Installing_HDP_AMB/content/_check_dns.html"&gt;DNS and NSCD&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 20:07:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160196#M24612</guid>
      <dc:creator>tmccuch</dc:creator>
      <dc:date>2016-04-07T20:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: To get static IP address</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160197#M24613</link>
      <description>&lt;P&gt;Tom is correct, but if using virtual client such as vmware fusion you'll have to do it differently.  Grab the MAC address of the VM by selecting the VM-&amp;gt;Virtual Machine-&amp;gt;Settings-&amp;gt;Network Adapter-&amp;gt;Advanced Options and copy the MAC Address&lt;/P&gt;&lt;P&gt;vi /Library/Preferences/VMware Fusion/vmnet8/dhcp.conf&lt;/P&gt;&lt;P&gt;add the line at the bottom of the conf file&lt;/P&gt;&lt;P&gt;host hdp24 { &lt;/P&gt;&lt;P&gt;      hardware ethernet 00:0C:29:42:61:D7; &lt;/P&gt;&lt;P&gt;      fixed-address  192.168.245.133; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 20:38:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160197#M24613</guid>
      <dc:creator>drice1</dc:creator>
      <dc:date>2016-04-07T20:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: To get static IP address</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160198#M24614</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3840/rahulkatnihcet.html" nodeid="3840"&gt;@rahul jain&lt;/A&gt;: Was this answer helpful? If so, could you please accept it through the HCC? If not, is there some follow-up I could help you with?</description>
      <pubDate>Tue, 12 Apr 2016 20:57:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160198#M24614</guid>
      <dc:creator>tmccuch</dc:creator>
      <dc:date>2016-04-12T20:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: To get static IP address</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160199#M24615</link>
      <description>&lt;P&gt;HI Tom/Dan, Thanks for your quick reply and followup on this.&lt;/P&gt;&lt;P&gt;But I tried using Tom's option which did not work here. For Dan's suggestion too I tried but seems I can not find the path vi /Library/Preferences/VMware Fusion/vmnet8/dhcp.conf  where I can add the up the line. Not sure if I am looking at the right place. But may you please mention it step by step if I can follow you.&lt;/P&gt;&lt;P&gt;Thanks in advance.
Best Regards,
Rahul&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 21:00:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160199#M24615</guid>
      <dc:creator>rahulkatnihcet</dc:creator>
      <dc:date>2016-04-12T21:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: To get static IP address</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160200#M24616</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/3840/rahulkatnihcet.html"&gt;rahul jain &lt;/A&gt; This might help you  &lt;A href="https://bytealmanac.wordpress.com/2012/07/02/assigning-a-static-ip-to-a-vmware-workstation-vm/" target="_blank"&gt;https://bytealmanac.wordpress.com/2012/07/02/assigning-a-static-ip-to-a-vmware-workstation-vm/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2016 19:31:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/To-get-static-IP-address/m-p/160200#M24616</guid>
      <dc:creator>pradeep_bhadani</dc:creator>
      <dc:date>2016-05-19T19:31:18Z</dc:date>
    </item>
  </channel>
</rss>

