<?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: creating an ip alias in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105236#M539014</link>
    <description>Melvyn, you wrote&lt;BR /&gt;&lt;BR /&gt;NTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[0]=lan0:1&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;but it should be&lt;BR /&gt;&lt;BR /&gt;NTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[1]=lan0:1  &amp;lt;===&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;would you agree?</description>
    <pubDate>Thu, 24 Apr 2008 11:43:23 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2008-04-24T11:43:23Z</dc:date>
    <item>
      <title>creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105233#M539011</link>
      <description>hello admins,&lt;BR /&gt;&lt;BR /&gt;i want to have the ip alias for my server. Lets say, my current ip is 10.4.21.2 and i want to have another one 10.4.0.95..&lt;BR /&gt;&lt;BR /&gt;In an attemp to do that though i don't know much, i modified /etc/rc.config.d/netconf &lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;when it didn't seem to work..i read in forum somewhere about this command ==&amp;gt; ifalias lan0 add 10.4.0.95..&lt;BR /&gt;&lt;BR /&gt;but this was the message i got..&lt;BR /&gt;&lt;BR /&gt;sh: ifalias:  not found.&lt;BR /&gt;&lt;BR /&gt;well, if you need the info of my system here it is : (output of uname -a)&lt;BR /&gt;&lt;BR /&gt;HP-UX dldptest B.11.11 U 9000/800 1752957625 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;I think i have provided all the details..&lt;BR /&gt;&lt;BR /&gt;please tell me now how to achieve this..&lt;BR /&gt;&lt;BR /&gt;also, let me know whether the terms ip alias and virtual ip /cluster ip are same..&lt;BR /&gt;&lt;BR /&gt;thanks all in advance..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:16:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105233#M539011</guid>
      <dc:creator>prasadb</dc:creator>
      <dc:date>2008-04-24T11:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105234#M539012</link>
      <description>ifalias was a command supplied for HP-UX 10.20, and is not in HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;To add a second ip to an interface, use ifconfig lan0:1 10.4.0.95&lt;BR /&gt;and see if that works (you may find an issue with subnet masks etc, sothis is a good check)&lt;BR /&gt;&lt;BR /&gt;Then in your netconf file simply add in:&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[0]=lan0:1&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I assume this node is NOT using Serviceguard otherwise you will have issues with doing this&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Apr 2008 11:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105234#M539012</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2008-04-24T11:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105235#M539013</link>
      <description>ifalias is old (10.20 and before).&lt;BR /&gt;&lt;BR /&gt;Have a look at "ifconfig" like ifconfig lan0:1 ...&lt;BR /&gt;&lt;BR /&gt;man ifconfig</description>
      <pubDate>Thu, 24 Apr 2008 11:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105235#M539013</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-04-24T11:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105236#M539014</link>
      <description>Melvyn, you wrote&lt;BR /&gt;&lt;BR /&gt;NTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[0]=lan0:1&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;but it should be&lt;BR /&gt;&lt;BR /&gt;NTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[1]=lan0:1  &amp;lt;===&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;would you agree?</description>
      <pubDate>Thu, 24 Apr 2008 11:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105236#M539014</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-04-24T11:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105237#M539015</link>
      <description>Torsten&lt;BR /&gt;Time I cleaned my glasses :-]&lt;BR /&gt;yes, I did a cut and paste, while talking on a phone.&lt;BR /&gt;Stupid boy that I am&lt;BR /&gt;&lt;BR /&gt;As noted, should read:&lt;BR /&gt;Then in your netconf file simply add in:&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[1]=lan0:1&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95</description>
      <pubDate>Thu, 24 Apr 2008 12:01:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105237#M539015</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2008-04-24T12:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105238#M539016</link>
      <description>Hello Melvyn &amp;amp; Torsten,&lt;BR /&gt;&lt;BR /&gt;i made the changes as you said..&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan0&lt;BR /&gt;IP_ADDRESS[0]=10.4.21.2&lt;BR /&gt;INTERFACE_NAME[1]=lan0:1&lt;BR /&gt;IP_ADDRESS[1]=10.4.0.95&lt;BR /&gt;&lt;BR /&gt;but i am still unable to telnet with 10.4.0.95, do i need to reboot the system to bring it in effect..&lt;BR /&gt;&lt;BR /&gt;kindly help</description>
      <pubDate>Thu, 24 Apr 2008 12:18:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105238#M539016</guid>
      <dc:creator>prasadb</dc:creator>
      <dc:date>2008-04-24T12:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105239#M539017</link>
      <description>This is the config file and it need to be applied - reboot may be a good idea.</description>
      <pubDate>Thu, 24 Apr 2008 12:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105239#M539017</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-04-24T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105240#M539018</link>
      <description>You can apply the alias without rebooting by using ifconfig, something similar to:&lt;BR /&gt;&lt;BR /&gt;ifconfig lan0:1 10.1.2.3 netmask 255.255.255.0 up&lt;BR /&gt;&lt;BR /&gt;It is sensible to schedule a reboot though just to check your config files do the job you expect them to.</description>
      <pubDate>Thu, 24 Apr 2008 12:35:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105240#M539018</guid>
      <dc:creator>RobinKing</dc:creator>
      <dc:date>2008-04-24T12:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105241#M539019</link>
      <description>As mentioned by Torsten, if you can afford a reboot, please do so.&lt;BR /&gt;&lt;BR /&gt;this would also ensure that you do not get any unpleasant surprises (due to network interfaces being down) in cases of an unscheduled shutdowns/restarts.&lt;BR /&gt;&lt;BR /&gt;good luck!&lt;BR /&gt;&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 24 Apr 2008 12:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105241#M539019</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-24T12:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105242#M539020</link>
      <description>hello all again,&lt;BR /&gt;&lt;BR /&gt;Robinson, your solution also worked as of others..&lt;BR /&gt;&lt;BR /&gt;Now, i wonder about two thing..&lt;BR /&gt;&lt;BR /&gt;1.out of these two &lt;BR /&gt;A.ifconfig lan0:1 &lt;NEW_IP&gt; netmaks &lt;VALUE&gt; up&lt;BR /&gt;&amp;amp;&lt;BR /&gt;B.changing netconf . which is the permanent change ?&lt;BR /&gt;&lt;BR /&gt;also, &lt;BR /&gt;&lt;BR /&gt;2.can i convert the alias ip into the main ip and vice versa, so that i can remove old one ?&lt;/VALUE&gt;&lt;/NEW_IP&gt;</description>
      <pubDate>Thu, 24 Apr 2008 13:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105242#M539020</guid>
      <dc:creator>prasadb</dc:creator>
      <dc:date>2008-04-24T13:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105243#M539021</link>
      <description>&amp;gt;.A.ifconfig lan0:1 &lt;NEW_IP&gt; netmaks &lt;VALUE&gt; up&lt;BR /&gt;&amp;amp;&lt;BR /&gt;&amp;gt;&amp;gt;B.changing netconf . which is the permanent change ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;2.can i convert the alias ip into the main ip and vice versa, so that i can remove old one ?&lt;BR /&gt;&lt;BR /&gt;"B" is the permantent change.&lt;BR /&gt;&lt;BR /&gt;"2", My thought is you will loose IP connectivity.  removing the old IP will cause any connections to fail to that IP and possibly any services running there. You can try to deconfigure lan0 but because lan0:1 is riding on top of it I think it will fail.  If you are willing to risk the outage then you might as well reboot.  Or test this out on a test server first.&lt;BR /&gt;&lt;BR /&gt;If the intent is to simply change the IP of the server ?  I would simply do the following.&lt;BR /&gt;1)  edit the netconf file for lan0 with the new IP, forget about the alias.&lt;BR /&gt;2) edit the hostfile to reflect the change&lt;BR /&gt;3) reboot the server.&lt;BR /&gt;&lt;BR /&gt;&lt;/VALUE&gt;&lt;/NEW_IP&gt;</description>
      <pubDate>Thu, 24 Apr 2008 13:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105243#M539021</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-04-24T13:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: creating an ip alias</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105244#M539022</link>
      <description>thanks all for their valuble suggestions and time given</description>
      <pubDate>Fri, 25 Apr 2008 09:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-an-ip-alias/m-p/5105244#M539022</guid>
      <dc:creator>prasadb</dc:creator>
      <dc:date>2008-04-25T09:44:00Z</dc:date>
    </item>
  </channel>
</rss>

