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: [email protected] Twitter: @viccross ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www2.marist.edu/htbin/wlvindex?LINUX-390
