<?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>topic Re: static ip address in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828048#M88917</link>
    <description>I have to go with gerome - &lt;BR /&gt;why edit half a dozen files when you just have to go into a GUI and change a few small things.  I know ... i know... GUI you say?  yes... i said it.  I do a lot of command line work... but i'm lazy and if there's an easier way... i'll take it</description>
    <pubDate>Wed, 11 Dec 2002 19:14:01 GMT</pubDate>
    <dc:creator>John Meissner</dc:creator>
    <dc:date>2002-12-11T19:14:01Z</dc:date>
    <item>
      <title>static ip address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828044#M88913</link>
      <description>Hi,&lt;BR /&gt;i have a linux box RH 8.0 that was configured as dhcp client. Now I have been assiged a static ip and i want to configure it, but i'm getting some trouble.&lt;BR /&gt;What i did till now is:&lt;BR /&gt;- modified /etc/hosts&lt;BR /&gt;new ip   psycho.idi.it localhost&lt;BR /&gt;127.0.0.1 localhost&lt;BR /&gt;- modified /etc/sysconfig/network:&lt;BR /&gt;NETWORKING=yes&lt;BR /&gt;HOSTNAME=psycho.idi.it&lt;BR /&gt;DOMAINNAME=idi.it&lt;BR /&gt;GATEWAY=ip gateway&lt;BR /&gt;The resolv.conf was generated by /sbin/dhclient-script. I modified it with the new settings.  &lt;BR /&gt;I was looking at /etc/netmasks to configure Subnetmask but it seems not existing. I don't know if linux uses some other file.&lt;BR /&gt;Then i issued ifconfig eth0 ipaddress netmask netmaskaddr&lt;BR /&gt;and rebooted the ws.&lt;BR /&gt;But when it get up it didn't have my new ip but one assigned by dhcp. Also /etc/resolv.conf had been overwritten. I'm looking at some service that disables dhcp but without success.&lt;BR /&gt;Can someone help me?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 17 Oct 2002 13:03:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828044#M88913</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-10-17T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: static ip address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828045#M88914</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have not used RH 8.0, but the following was valid on RH 7.x.&lt;BR /&gt;&lt;BR /&gt;There is one more file you need to edit. /etc/sysconfig/network-scripts/ifcfg-eth0&lt;BR /&gt;&lt;BR /&gt;Should look something like the following:&lt;BR /&gt;&lt;BR /&gt;DEVICE=eth0&lt;BR /&gt;BOOTPROTO=static&lt;BR /&gt;IPADDR=192.168.0.2&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;NETWORK=192.168.0.0&lt;BR /&gt;BROADCAST=192.168.0.255&lt;BR /&gt;ONBOOT=yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;BTW, there is a ifcfg-eth[n] file for each network adapter in the system. So if you have more than one nic you would have a ifcfg-eth0, ifcfg-eth1, etc.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Tony</description>
      <pubDate>Thu, 17 Oct 2002 18:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828045#M88914</guid>
      <dc:creator>Tony Contratto</dc:creator>
      <dc:date>2002-10-17T18:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: static ip address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828046#M88915</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;You need to modify /etc/sysconfig/network-scripts/ifcfg-eth0.&lt;BR /&gt;&lt;BR /&gt;This file is used when system startup the network. My advice is, you should create this file by some application such as linuxconf, redhat-config-network, webmin....&lt;BR /&gt;Because, script read the lines in the file. If you put "ONBOOT=yes"&lt;BR /&gt;it may work. But if you put "ONBOOT=Yes" or "ONBOOT=y", I don't know.&lt;BR /&gt;If you want to know the rule,see /usr/share/doc/initscripts-ver/sysconfig.txt before you start to edit.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Oct 2002 02:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828046#M88915</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2002-10-18T02:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: static ip address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828047#M88916</link>
      <description>The easiest way is... run neat (in a console) your use your network deveice configuration tool (under gnome, you'll get it through system tools). It'll do the same as advised to you before, but through a straght forward and graphical interface.&lt;BR /&gt;Good luck.</description>
      <pubDate>Fri, 15 Nov 2002 14:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828047#M88916</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2002-11-15T14:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: static ip address</title>
      <link>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828048#M88917</link>
      <description>I have to go with gerome - &lt;BR /&gt;why edit half a dozen files when you just have to go into a GUI and change a few small things.  I know ... i know... GUI you say?  yes... i said it.  I do a lot of command line work... but i'm lazy and if there's an easier way... i'll take it</description>
      <pubDate>Wed, 11 Dec 2002 19:14:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/static-ip-address/m-p/2828048#M88917</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2002-12-11T19:14:01Z</dc:date>
    </item>
  </channel>
</rss>

