<?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: Multiple telnet/IP Addresses in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999612#M545657</link>
    <description>well if you know what address they are coming from, you can grep it out of &lt;BR /&gt;&lt;BR /&gt;netstat -an &lt;BR /&gt;&lt;BR /&gt;tcp        0     48  10.248.31.165.22       10.248.111.226.46906    ESTABLISHED&lt;BR /&gt;&lt;BR /&gt;that is my current connection to a machine. &lt;BR /&gt;&lt;BR /&gt;so with a combination of who, nslookup and netstat you can get the information.</description>
    <pubDate>Fri, 25 Aug 2006 08:43:50 GMT</pubDate>
    <dc:creator>Marvin Strong</dc:creator>
    <dc:date>2006-08-25T08:43:50Z</dc:date>
    <item>
      <title>Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999607#M545652</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have an environment with two unix box in cluster with two packages.&lt;BR /&gt;What I need to know is, when I have these two packages in one single server and users telnet to packages, from what IP address this user is telneting (relocatable ipd address from package).&lt;BR /&gt;Is it possible?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 08:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999607#M545652</guid>
      <dc:creator>Julio Yamawaki</dc:creator>
      <dc:date>2006-08-25T08:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999608#M545653</link>
      <description>Julio,&lt;BR /&gt;&lt;BR /&gt;The "who -R" command will tell you either the hostname or the IP address.  I think in the case of telnet, you will get the hostname, which you can then do a nslookup on to get the IP.&lt;BR /&gt;&lt;BR /&gt;Does that help?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 25 Aug 2006 08:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999608#M545653</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-08-25T08:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999609#M545654</link>
      <description>if you want the relocateable address you can find that in the package control script usually under /etc/cmcluster/{pkgname} &lt;BR /&gt;&lt;BR /&gt;Or just do an nslookup on the name they use to connect to the server that should also be the relocatable address. &lt;BR /&gt;&lt;BR /&gt;If you want to know what address they are using if they telnet out from the box. The easiest way I can think of would be to telnet to another machine and do a who and see what it registers as.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 08:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999609#M545654</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-08-25T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999610#M545655</link>
      <description>Pete/Marvin:&lt;BR /&gt;&lt;BR /&gt;Thanks for your responses.&lt;BR /&gt;The problem that I have is:&lt;BR /&gt;. I don't want to know the client IP address who telnet'd (who -R)&lt;BR /&gt;. I need to know to WHAT relocatable IP addres the client telnet'd, i.e., I have two packages in a box, user can telnet to IP1 or IP2, I need to know, after user is logged in, to what IP (IP1 or IP2) user telnet'd.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 08:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999610#M545655</guid>
      <dc:creator>Julio Yamawaki</dc:creator>
      <dc:date>2006-08-25T08:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999611#M545656</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;If you look at the arp command you will see a hostname/ip address along with a MAC address. This may be useful in identifying which node in the cluster the sessions are connecting too.&lt;BR /&gt;&lt;BR /&gt;The bottom line on floating ip addresses is the users are not supposed to be able to identify which system the session is with.&lt;BR /&gt;&lt;BR /&gt;In addition, floating ip addresses are really virtual ip addresses of the actual ip address assigned to the NIC. The actual traffic if measured on netstat -in traverses the primary ip address.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 25 Aug 2006 08:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999611#M545656</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-25T08:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999612#M545657</link>
      <description>well if you know what address they are coming from, you can grep it out of &lt;BR /&gt;&lt;BR /&gt;netstat -an &lt;BR /&gt;&lt;BR /&gt;tcp        0     48  10.248.31.165.22       10.248.111.226.46906    ESTABLISHED&lt;BR /&gt;&lt;BR /&gt;that is my current connection to a machine. &lt;BR /&gt;&lt;BR /&gt;so with a combination of who, nslookup and netstat you can get the information.</description>
      <pubDate>Fri, 25 Aug 2006 08:43:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999612#M545657</guid>
      <dc:creator>Marvin Strong</dc:creator>
      <dc:date>2006-08-25T08:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999613#M545658</link>
      <description>Hi Julio,&lt;BR /&gt;&lt;BR /&gt;Have you tried filtering the output of netstat -a?&lt;BR /&gt;&lt;BR /&gt;Just thoughts...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Fri, 25 Aug 2006 08:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999613#M545658</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-08-25T08:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999614#M545659</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for all that responded.&lt;BR /&gt;Victor, netstat -a | grep telnet|grep &lt;IP1&gt; was the best approach, but I still can't find the correct connection, because user can connect in two or more ip addresses simultaneously.&lt;BR /&gt;&lt;BR /&gt;&lt;/IP1&gt;</description>
      <pubDate>Fri, 25 Aug 2006 12:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999614#M545659</guid>
      <dc:creator>Julio Yamawaki</dc:creator>
      <dc:date>2006-08-25T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999615#M545660</link>
      <description>This what I am going to suggest below can be put in a script but due to lack of time, I am not going to be able to do that, but the method is pretty simple&lt;BR /&gt;&lt;BR /&gt;1. find the telnet connections you are interested from the output of the follwoing command&lt;BR /&gt;&lt;BR /&gt;netstat -a | grep telnet&lt;BR /&gt;tcp        0      0  *.telnet               *.*                     LISTEN&lt;BR /&gt;tcp        0      2     crt00.telnet        mel01.52763             ESTABLISHED&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;here mel01 is my workstation and crt00 is the serviceguard package name I telnet into. It may also be an IP address&lt;BR /&gt;&lt;BR /&gt;then use lsof to find the PID of the person's telnet session:&lt;BR /&gt;&lt;BR /&gt;lsof -i tcp | grep 52763&lt;BR /&gt;&lt;BR /&gt;(52763 port comes from the output of netstat command above)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;output will look something like this&lt;BR /&gt;&lt;BR /&gt;telnetd    7863     root    0u  inet 0x5c8cd7c0        0t0  TCP crt00:telnet-&amp;gt;mel01:52763 (ESTABLISHED)&lt;BR /&gt;&lt;BR /&gt;and you may see multiple instances of the same line. The PID of interest to you is 7863&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;by the way, if you do not have lsof installed, you can get it from &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/&lt;/A&gt;</description>
      <pubDate>Fri, 25 Aug 2006 13:55:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999615#M545660</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-08-25T13:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999616#M545661</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for all.&lt;BR /&gt;Mel, lsof was the answer.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 16:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999616#M545661</guid>
      <dc:creator>Julio Yamawaki</dc:creator>
      <dc:date>2006-08-25T16:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple telnet/IP Addresses</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999617#M545662</link>
      <description>Teste lsof, ok!&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2006 16:39:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-telnet-ip-addresses/m-p/4999617#M545662</guid>
      <dc:creator>Julio Yamawaki</dc:creator>
      <dc:date>2006-08-25T16:39:33Z</dc:date>
    </item>
  </channel>
</rss>

