Re: TCPIP IP address for current LPAR

2019-04-30 Thread Timothy Sipples
"Why do you need to know?" is an interesting question. Don't forget IPv6, by the way. There's also the fact that the local answer(s) to that question ("What's my IP address?") aren't(isn't) necessarily or even very often the non-local answer(s). Network Address Translation (NAT), proxies, VLANs,

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Alan(GMAIL)Watthey
Stan, There's a big difference between an IP address of the current stack and a usable IP address of the current stack. It would not be much use giving an IP address of, say, a hipersocket interface home address which is not routable. Although you can find out all the home addresses (there

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Steve Horein
On Mon, Apr 29, 2019 at 7:10 AM Stan Weyman < 0239b6933cab-dmarc-requ...@listserv.ua.edu> wrote: >Is there an accessible control block that holds the IP address (or > addresses) for the current LPAR I'm running on? I have need to pass back > this address to another remote application

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Seymour J Metz
Hare Sent: Monday, April 29, 2019 1:27 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TCPIP IP address for current LPAR These may be dumb questions but: 1) I'm assuming you connected to the remote application first? Else how could it connect without the IP address somehow? 2) Why isn't the remote

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Seymour J Metz
The LPAR may have multiple IP addresses; what you need is the IP address for your end of the session. But why doesn't the remote application get that automatically? In fact, how does it communicate with you at all without it? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Tony Thigpen
If IPv4 only, just do an INITAPI, GETHOSTID, TERMAPI. This will return the primary address of the TCP/IP stack that your job is associated with. But, if you already have a connection to another host, that host can get your address easily. Tony Thigpen Stan Weyman wrote on 4/29/19 8:00 AM:

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Charles Mills
On Behalf Of Tim Hare Sent: Monday, April 29, 2019 10:28 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TCPIP IP address for current LPAR These may be dumb questions but: 1) I'm assuming you connected to the remote application first? Else how could it connect without the IP address somehow? 2)

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Tim Hare
These may be dumb questions but: 1) I'm assuming you connected to the remote application first? Else how could it connect without the IP address somehow? 2) Why isn't the remote application content with the host/domain name (since IP addresses _can_ change)? 3) Why isn't the remote

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Robin Atwood
frame Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Robin Atwood > Sent: 29 April, 2019 14:35 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: TCPIP IP address for current LPAR > > The EZBNMIFR Network Management Interface will probably be of help here, > it will

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Stan Weyman
:08 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TCPIP IP address for current LPAR "it will tell you pretty much everything about *the* TCP/IP stack": What if you have more than 1 TCP/IP stack in your system? Which one does the application intend to use and how does the NMI address t

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Vernooij, Kees (ITOP NM) - KLM
Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Robin Atwood > Sent: 29 April, 2019 14:35 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: TCPIP IP address for current LPAR > > The EZBNMIFR Network Management Interface will probably be of help here, > it will tell you pr

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Stan Weyman
Thanks for the suggestion John.This or the NMI interface suggested by Robin should work. Regards -Original Message- From: IBM Mainframe Discussion List On Behalf Of John McKown Sent: Monday, April 29, 2019 8:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TCPIP IP address

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Stan Weyman
Thanks for pointing me to the NMI Robin. Regards -Original Message- From: IBM Mainframe Discussion List On Behalf Of Robin Atwood Sent: Monday, April 29, 2019 8:35 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: TCPIP IP address for current LPAR The EZBNMIFR Network Management

Re: TCPIP IP address for current LPAR

2019-04-29 Thread Robin Atwood
The EZBNMIFR Network Management Interface will probably be of help here, it will tell you pretty much everything about the TCP/IP stack. Robin -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Stan Weyman Sent: 29 April 2019 19:00 To:

Re: TCPIP IP address for current LPAR

2019-04-29 Thread John McKown
On Mon, Apr 29, 2019 at 7:10 AM Stan Weyman < 0239b6933cab-dmarc-requ...@listserv.ua.edu> wrote: >Is there an accessible control block that holds the IP address (or > addresses) for the current LPAR I'm running on? I have need to pass back > this address to another remote application