Thanks.  I think what I have is correct, its just looks different now, because 
a plain hometest, shows loopback first, but if you NETSTAT HOME under FLG is my 
primary INTERFACE.

Ms Terri E Shaffer
Senior Systems Engineer,
z/OS Support:
ACIWorldwide - Telecommuter
H(412-766-2697) C(412-519-2592)
terri.shaf...@aciworldwide.com

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Colin Paice
Sent: Thursday, July 27, 2023 3:54 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: TCPIP Device/Link to Interface question???

EXTERNAL EMAIL: Do not click links or open attachments unless you know the 
content is safe.


Terri,

The HOME is only used for DEVICE/LINK.  You specify the "home address-es"
on the interface.
For example
INTERFACE IFPORTCP6
    DEFINE IPAQENET6
    CHPIDTYPE OSD
    PORTNAME PORTA
    INTFID 2:2:2:2

* IPADDR FC00:2::2:2:2 *

INTERFACE IFPORTCP6
    ADDADDR 2001:DB8::9

The doc also says
*PRIMARYINTERFACE*






*Restriction: The PRIMARYINTERFACE statement applies to IPv4 only.Use the 
PRIMARYINTERFACE statement to specify which interface is to be designated as 
default localhost for use by the GETHOSTID() function....If the 
PRIMARYINTERFACE statement is not specified, then the first address in the HOME 
list isdesignated as the default local host. If no HOME statements are defined 
in the profile,PRIMARYINTERFACE defaults to the first IPv4 INTERFACE statement 
listed in the profile.*

Which sounds like changing the statement to point to your interface should 
work.  If PRIMARYINTERFACE is not specified it will point to one of your HOME 
statements (if any)

Colin


On Wed, 26 Jul 2023 at 17:02, Shaffer, Terri < 
0000017d5f778222-dmarc-requ...@listserv.ua.edu> wrote:

> Hi,
>   Was wondering if someone could answer a question?
>
> I am converting my DEVICE/LINK statements to INTERFACE in my TCPIP
> configuration on my test lpar.
>
> I recycled my TCPIP and everything works, except I tripped an error on
> my HOME statement, because I think it uses LINK name, not Interface name?
>
> My PRIMARYINTERFACE is my primary INTERFACE statement , again
> everything seems to work.
>
> However, when I did a hometest, it looked okay with my primary IPADDR
> first, then Secondary and then loopback address which it should be.
>
> But to stop the error from my HOME link name from occurring, I
> commented my HOME statement out.
>
> That fixed my error message, but now LOOPBACK is first, then Primary
> IPADDRESS and then Secondary.
>
> So my question is do I need the HOME STATEMENT, or what replaces it,
> if anything when using INTERFACE statement?
>
> And/or how do I get the PRIMARY IPADDRESS first again?
>
> Ms Terri E Shaffer
> Senior Systems Engineer,
> z/OS Support:
> ACIWorldwide - Telecommuter
> H(412-766-2697) C(412-519-2592)
> terri.shaf...@aciworldwide.com
>
>
> ________________________________
>  [https://go.aciworldwide.com/rs/030-ROK-804/images/aci-footer.jpg] <
> http://www.aciworldwide.com> This email message and any attachments
> may contain confidential, proprietary or non-public information. The
> information is intended solely for the designated recipient(s). If an
> addressing or transmission error has misdirected this email, please
> notify the sender immediately and destroy this email. Any review,
> dissemination, use or reliance upon this information by unintended
> recipients is prohibited. Any opinions expressed in this email are
> those of the author personally.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
________________________________
 [https://go.aciworldwide.com/rs/030-ROK-804/images/aci-footer.jpg] 
<http://www.aciworldwide.com>
This email message and any attachments may contain confidential, proprietary or 
non-public information. The information is intended solely for the designated 
recipient(s). If an addressing or transmission error has misdirected this 
email, please notify the sender immediately and destroy this email. Any review, 
dissemination, use or reliance upon this information by unintended recipients 
is prohibited. Any opinions expressed in this email are those of the author 
personally.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to