Yes, that did the trick.  Thanks for the solution with such details!

Frank M. Ramaekers Jr.

-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Vic Cross
Sent: Monday, March 8, 2021 9:43 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Hipersockets and Linux...



        
             External Message – Think Before You Click
        
        


Frank wrote:

>Okay, following along in "IBM HiperSockets Implementation Guide"
>Chapter 3 "Software configurations for HiperSockets. The command 
>"ifconfig enccw0.0.0800 192.168.250.88 netmask 255.255.255.0 up"
>seems to work, only temporarily.
>
># ping 192.168.250.101
>PING 192.168.250.101 (192.168.250.101) 56(84) bytes of data.
>64 bytes from 192.168.250.101: icmp_seq=1 ttl=255 time=0.362 ms
>64 bytes from 192.168.250.101: icmp_seq=2 ttl=255 time=0.313 ms
>
>Then just a few seconds later:
># ping 192.168.250.101
>PING 192.168.250.101 (192.168.250.101) 56(84) bytes of data.
>From 32.140.72.137 icmp_seq=9 Packet filtered From 32.140.72.137 
>icmp_seq=19 Packet filtered From 32.140.72.137 icmp_seq=20 Packet 
>filtered

Your ifconfig has proven that the interface works, which is great, but using 
ifconfig (or any of the manual interface config commands, such as ip) is a very 
temporary config method. At best it lasts until the next reboot, but these days 
often not even that long.

I suspect that NetworkManager is trying to configure the interface for you. Its 
standard treatment of unconfigured interfaces is to use DHCP to get an address, 
so it's probably the DHCP client that is clearing what you do with ifconfig. 
You should have an ifcfg-* file in /etc/sysconfig/network-scripts/ for your 
OSA/VSwitch interface... Copy this file to ifcfg-enccw0.0.0800 and make all the 
required changes inside there (you can delete the UUID line, if you still have 
an OSA/VSwitch to get to most things then delete the GATEWAY line, and if you 
want to talk to z/OS make sure that in the OPTIONS line you have "layer2=0"). 
Then restart NetworkManager (systemctl restart NetworkManager.service). NM will 
then see your HiperSockets as another "System" connection and manage it for you.

Regards,
Vic

--
Vic Cross
Solutions Engineer, Z Acceleration Team
IBM Z (Worldwide)
E-mail: viccr...@au1.ibm.com Twitter: @viccross

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit 
https://urldefense.com/v3/__http://www2.marist.edu/htbin/wlvindex?LINUX-390__;!!GePVz-XrgrDUrw!-p10A02CI_MFnOGPTEJqP4hcHYXgnF5fGmih5a_R0dCyG-ktv18zsEdEVTDe4UaZ$
 

----------------------------------------------------------------------
This message contains information which is privileged and confidential and is 
solely for the use of the intended recipient. If you are not the intended 
recipient, be aware that any review, disclosure, copying, distribution, or use 
of the contents of this message is strictly prohibited. If you have received 
this in error, please destroy it immediately and notify us at 
privacy...@globe.life.


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to