|
List Network Interfaces (QtocLstNetIfc) API http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/qtoclstnetifc.htm This should get you what you need. JCRUSPACE Show User Space Contents Space: LSTNETIFC Library: QTEMP jcr 06/17/03 Position to -or- Search: Size: 65,024 BMD400 Offset *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0 1 | 0300NIFC0100QtocLNetIf1030617143 | 101 | 417C ÂÂÂÂÂ*ÂÂÂÂÂÃÂÂ^ÂÂÂÂÂÂQ USENU0ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂQTOCLNET | 201 | IF | 301 | | 401 |  | 501 | ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂLSTNETIFC QTEMP NIFC | 601 | 0100LSTNETIFC QTEMP 127.0.0.1ÂÂÂÂÂÂÂ" 127.0.0.0ÂÂÂÂÂÂÂ" *LOOPBACK  | 701 |  ÅÅÅÃ0.0.0.1 255.0.0.0ÂÂÂÂÂÂÂÅÂÂÂ*NONE ÂÂÂÂÂ20030610131639*NONE | 801 |  192.168.151.54ÂÂ{yp 192.168.151.0ÂÂÂ{yp ETHLINE10 | 901 | ÂÂÂÂÂÂÂÂÂÂMÂÂÂ0.0.0.54 255.255.255.0ÂÂÂÅÅÅÂ192.168.151.255Â{ypÅ200306101317 | 1001 | 07*NONE  | 1101 |  | ------------------------- Bryan Dietz 3X Corporation 614-410-9205 midrange-l-bounces@xxxxxxxxxxxx wrote on 06/17/2003 02:06:07 PM: > Is there an API or command which will give me the IP address associated with > a given ethernet line? > > NETSTAT will show it to me but it doesn't have an outfile or print option. > > Thanks, > > Albert York
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.