|
On Wed, 16 Jan 2002, Eric PANISSARD wrote: > > How I can retrieve the IP adress of my AS400 in a CL program ? > It's more complicated than that. Your AS/400 will almost certainly have at least 2 different IP addresses, and can potentially have many more. Each interface -- whether it is a network card, or a PPP/SLIP interface, or a loopback interface -- will have it's own IP address. And some interfaces can be configured with multiple IP addresses. When you make a connection to a host, the system decides which interface to use based on your IP's, netmasks & routing tables. At this point it's possible to determine which IP address you're using. But before that point, it's not so easy! Maybe if you could explain exactly what you're planning to use this for I could give you some better suggestions...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.