<?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: Determining which IP using lanscan in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153874#M158087</link>
    <description>lanid=$(lanscan | awk {'print $5'})&lt;BR /&gt;&lt;BR /&gt;ipaddy=$(ifconfig $lanid | awk ('print $2'})&lt;BR /&gt;&lt;BR /&gt;You can add a grep to the first statement to filter your ouput and get it for one lan card.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 30 Dec 2003 09:48:49 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-12-30T09:48:49Z</dc:date>
    <item>
      <title>Determining which IP using lanscan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153870#M158083</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have run lanscan and 7 cards have been displayed up on the system.  I have run ftp using an alias host name and I need to determine which card was used to transfer the data.  (HPUX 11.00)&lt;BR /&gt;&lt;BR /&gt;what command can I use.&lt;BR /&gt;&lt;BR /&gt;thanks in advance</description>
      <pubDate>Tue, 30 Dec 2003 08:57:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153870#M158083</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2003-12-30T08:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Determining which IP using lanscan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153871#M158084</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do a ping towards the alias name to find the IP address and use the command 'ifconfig lan?' to find the IP address of the lan? card.&lt;BR /&gt;&lt;BR /&gt;Kurt &lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2003 09:08:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153871#M158084</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2003-12-30T09:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Determining which IP using lanscan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153872#M158085</link>
      <description>'netstat -in' shows up all lan cards (and aliases) with their IP address and subnet...&lt;BR /&gt;Changing -in into -i will show them with names instead of IP addresses.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Dec 2003 09:15:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153872#M158085</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2003-12-30T09:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Determining which IP using lanscan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153873#M158086</link>
      <description>On HP-UX 11.11 the primary lan card is the one that has the same server IP address in column 1 and 2 of the "netstat -rn", and has flag = "UG".&lt;BR /&gt;&lt;BR /&gt;In my case, below, it's lan0 at 0/0/0/0:&lt;BR /&gt;&lt;BR /&gt;# lanscan&lt;BR /&gt;Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI&lt;BR /&gt;Path     Address        In# State NamePPA        ID  Type      Support Mjr#&lt;BR /&gt;0/0/0/0  0x0010837C72B4 0   UP    lan0 snap0     1   ETHER     Yes     119&lt;BR /&gt;1/10/0/0 0x0060B0B3D9CA 1   UP    lan1 snap1     2   ETHER     Yes     119&lt;BR /&gt;&lt;BR /&gt;# netstat -rn&lt;BR /&gt;Routing tables&lt;BR /&gt;Dest/Netmask                  Gateway            Flags    Use Interface  Pmtu&lt;BR /&gt;127.0.0.1             127.0.0.1          UH       0      19458  lo0        4136&lt;BR /&gt;172.20.202.103        172.20.202.103     UH       0    1857235  lan0       4136&lt;BR /&gt;172.20.205.103        172.20.205.103     UH       0          0  lan1       4136&lt;BR /&gt;172.20.202.0          172.20.202.103     U        2          0  lan0       1500&lt;BR /&gt;127.0.0.0             127.0.0.1          U        0          0  lo0        4136&lt;BR /&gt;default               172.20.202.1       UG       0          0  lan0       1500&lt;BR /&gt;acshps03 (172.20.202.103) at 0:10:83:7c:72:b4 ether permanent published&lt;BR /&gt;Current Speed                   = 100 Full-Duplex Auto-Negotiation-OFF&lt;BR /&gt;&lt;BR /&gt;Now, however, note that I have two IP addresses on two seperate LANs.  You have to know which LAN you used to get from here to there.</description>
      <pubDate>Tue, 30 Dec 2003 09:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153873#M158086</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-12-30T09:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Determining which IP using lanscan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153874#M158087</link>
      <description>lanid=$(lanscan | awk {'print $5'})&lt;BR /&gt;&lt;BR /&gt;ipaddy=$(ifconfig $lanid | awk ('print $2'})&lt;BR /&gt;&lt;BR /&gt;You can add a grep to the first statement to filter your ouput and get it for one lan card.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Dec 2003 09:48:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153874#M158087</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-30T09:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Determining which IP using lanscan</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153875#M158088</link>
      <description>Thanks all for your assistance - I can use utilize all these commands to enhance my skills!</description>
      <pubDate>Tue, 30 Dec 2003 10:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/determining-which-ip-using-lanscan/m-p/3153875#M158088</guid>
      <dc:creator>lawrenzo</dc:creator>
      <dc:date>2003-12-30T10:14:08Z</dc:date>
    </item>
  </channel>
</rss>

