<?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: how do you figure out the IP index # on the same lan? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938471#M577145</link>
    <description>First you must be logged in to assign points.  If you are posting, then you are already logged in.&lt;BR /&gt;&lt;BR /&gt;To assign points, click on the down arrow next to the date/time of the reply and select the # of points you want to give each reply (between 0 &amp;amp; 10 for each reply) then click on the SUBMIT button at the bottom left of the last reply.&lt;BR /&gt;&lt;BR /&gt;You should be done.  If you  notice that points haven't been assigned after you click submit and go back to the message, you may have to do it again.  If you are one of us that uses Opera 7.0X, then there is a problem with Opera and you have to open a differnet browser to get it to work.</description>
    <pubDate>Fri, 28 Mar 2003 22:35:14 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2003-03-28T22:35:14Z</dc:date>
    <item>
      <title>how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938464#M577138</link>
      <description>Hi,&lt;BR /&gt;for example, I have two IP address assigned to the same lan card using ifconfig, now programing wise how do I know what is the remainning IP index I can use to add another IP adddress to the same lan card?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Fri, 28 Mar 2003 22:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938464#M577138</guid>
      <dc:creator>cgzou</dc:creator>
      <dc:date>2003-03-28T22:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938465#M577139</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could do the following&lt;BR /&gt;&lt;BR /&gt;netstat -in | grep lanX | awk '{print $1}'&lt;BR /&gt;&lt;BR /&gt;where X = lan instance&lt;BR /&gt;This will give all the lan assignments on it in use.&lt;BR /&gt;&lt;BR /&gt;Should get something like&lt;BR /&gt;&lt;BR /&gt;lan0&lt;BR /&gt;lan0:1&lt;BR /&gt;lan0:2&lt;BR /&gt;&lt;BR /&gt;Therefore the next available is lan0:3&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 28 Mar 2003 22:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938465#M577139</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-28T22:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938466#M577140</link>
      <description>Can't your refer to the network ip?&lt;BR /&gt;&lt;BR /&gt;netstat -rn&lt;BR /&gt;&lt;BR /&gt;What's in /etc/rc.config.d/netconf?  Here's an example:&lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[0]=lan0:0 &lt;BR /&gt;&lt;BR /&gt;IP_ADDRESS[0]=X.X.X.X &lt;BR /&gt;&lt;BR /&gt;INTERFACE_NAME[1]=lan0:1&lt;BR /&gt; &lt;BR /&gt;IP_ADDRESS[1]=X.X.X.X</description>
      <pubDate>Fri, 28 Mar 2003 22:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938466#M577140</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-03-28T22:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938467#M577141</link>
      <description>Jeff,&lt;BR /&gt;That is exactly what I want. You got the points.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Mar 2003 22:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938467#M577141</guid>
      <dc:creator>cgzou</dc:creator>
      <dc:date>2003-03-28T22:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938468#M577142</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The following shell may help you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;for lan in $(netstat -in |grep -v ":"|grep -v "\*" |awk '/lan/ {print $1}')     &lt;BR /&gt;                           &lt;BR /&gt;do                                                                            &lt;BR /&gt;LAST=$(netstat -in |grep ${lan}: |sort|tail -1 |awk '{print $1}'|awk '{FS=":";pr&lt;BR /&gt;int $2}')                                                                       &lt;BR /&gt;if [ $LAST ]                                                                    &lt;BR /&gt;then                                                                            &lt;BR /&gt;(( NEXT= $LAST + 1 ))                                                           &lt;BR /&gt;echo "${lan}:${NEXT} is next for $lan"                                          &lt;BR /&gt;                                         &lt;BR /&gt;else                                                                            &lt;BR /&gt;echo "${lan}:0 is next for $lan"                                                           &lt;BR /&gt;fi                                             &lt;BR /&gt;done                                                                        &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 28 Mar 2003 22:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938468#M577142</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-28T22:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938469#M577143</link>
      <description>Thank you all for the quick and helpful reply. Do you know how to assign the points to each of you? or somebody else will do it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 28 Mar 2003 22:30:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938469#M577143</guid>
      <dc:creator>cgzou</dc:creator>
      <dc:date>2003-03-28T22:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938470#M577144</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;At the top of all reply posts you'll see a drop-down box.&lt;BR /&gt;You drop it down and select the value.&lt;BR /&gt;&lt;BR /&gt;Then click the Submit button at the bottom &amp;amp; it should assign them.&lt;BR /&gt;Lately though, some have reported that they have to do this twice. So just check it after you submit to see if it shows points.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 28 Mar 2003 22:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938470#M577144</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-03-28T22:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938471#M577145</link>
      <description>First you must be logged in to assign points.  If you are posting, then you are already logged in.&lt;BR /&gt;&lt;BR /&gt;To assign points, click on the down arrow next to the date/time of the reply and select the # of points you want to give each reply (between 0 &amp;amp; 10 for each reply) then click on the SUBMIT button at the bottom left of the last reply.&lt;BR /&gt;&lt;BR /&gt;You should be done.  If you  notice that points haven't been assigned after you click submit and go back to the message, you may have to do it again.  If you are one of us that uses Opera 7.0X, then there is a problem with Opera and you have to open a differnet browser to get it to work.</description>
      <pubDate>Fri, 28 Mar 2003 22:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938471#M577145</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-03-28T22:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: how do you figure out the IP index # on the same lan?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938472#M577146</link>
      <description>hmmm.. OK. When you said programming wise I thought you were asking for a script. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 28 Mar 2003 22:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-figure-out-the-ip-index-on-the-same-lan/m-p/2938472#M577146</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-03-28T22:38:48Z</dc:date>
    </item>
  </channel>
</rss>

