<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic new subnetmask failed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549499#M579240</link>
    <description>Hi,&lt;BR /&gt;I am working on a HP-UX 11.00 and would like to change the subnetmask of lan0. But 255.255.255.128 didn?t work. But 255.255.255.0 or 255.255.255.192 took the system properly.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 06 Jul 2001 06:46:32 GMT</pubDate>
    <dc:creator>Esche Markus</dc:creator>
    <dc:date>2001-07-06T06:46:32Z</dc:date>
    <item>
      <title>new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549499#M579240</link>
      <description>Hi,&lt;BR /&gt;I am working on a HP-UX 11.00 and would like to change the subnetmask of lan0. But 255.255.255.128 didn?t work. But 255.255.255.0 or 255.255.255.192 took the system properly.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 06 Jul 2001 06:46:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549499#M579240</guid>
      <dc:creator>Esche Markus</dc:creator>
      <dc:date>2001-07-06T06:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549500#M579241</link>
      <description>Hi,&lt;BR /&gt;HPUX considers subnetmask 255.255.255.128 default as invalid but you can overrule this without problems.&lt;BR /&gt;&lt;BR /&gt;You will need to edit etc/rc.config.d/nddconf file and set ip_check_subnet_addr to zero.&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2001 07:38:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549500#M579241</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-07-06T07:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549501#M579242</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I have tried &lt;BR /&gt;ifconfig lan0 ip_address netmask 255.255.255.128 &lt;BR /&gt;and it works fine.&lt;BR /&gt;What is your error message?&lt;BR /&gt;&lt;BR /&gt;kostas</description>
      <pubDate>Fri, 06 Jul 2001 07:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549501#M579242</guid>
      <dc:creator>Kostas Doukakis</dc:creator>
      <dc:date>2001-07-06T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549502#M579243</link>
      <description>What we have done for the subnet mask change from 255.255.0.0 to 255.255.128.0.  In addition I include some of the peculiarities of HP-UX 11.00 that regard starting certain services from inetd.&lt;BR /&gt;&lt;BR /&gt;The default installation of HP-UX does not permit the subnet mask 255.255.128.0.  The official HP explanation is that this subnet mask is not RFC950 and RFC1122 compliant.  However, there is a mechanism (although not supported by HP) to override this constraint.&lt;BR /&gt;&lt;BR /&gt;The first thing to do is to install the latest patches for LAN (this depends on the HW lan board and the associated lan driver), ARPA Transport Cummulative Patch, and all their dependencies.  For this it is best to contact HP giving them the model of the machine, the version of HP-UX, and "ioscan -fnC lan".  They should provide the hardware-dependent list of  latest patches similar to the following:&lt;BR /&gt;&lt;BR /&gt;For HP-UX 11.0 &lt;BR /&gt;       PHKL_18543  PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch&lt;BR /&gt;       PHKL_20016  2nd CPU not recognized in G70/H70/I70&lt;BR /&gt;       PHNE_21835  inetd(1M) cumulative patch&lt;BR /&gt;       PHCO_21845  cumulative SAM/ObAM patch&lt;BR /&gt;       PHNE_22566  Cumulative STREAMS Patch&lt;BR /&gt;       PHKL_22589  LOFS, select(), IDS/9000 and umount race fix&lt;BR /&gt;       PHKL_22840  IDS/9000; syscalls related to file/socket&lt;BR /&gt;       PHNE_22962  LAN product cumulative patch&lt;BR /&gt;       PHNE_23456  cumulative ARPA Transport patch&lt;BR /&gt;       PHCO_23651  fsck_vxfs(1M) cumulative patch&lt;BR /&gt;       PHKL_24015  probe,sysproc,PM,VM,PA-8700 cumulative patch&lt;BR /&gt;       PHKL_24027  VxFS 3.1 cumulative patch&lt;BR /&gt;&lt;BR /&gt;For HP-UX 10.20 &lt;BR /&gt;&lt;BR /&gt;       PHCO_10947  libHcurses cumulative patch&lt;BR /&gt;       PHNE_20747  inetd(1M) cumulative patch&lt;BR /&gt;       PHNE_21884  HP-PB 100BT cumulative patch&lt;BR /&gt;       PHNE_22352  LAN products cumulative Patch&lt;BR /&gt;       PHNE_22507  cumulative ARPA Transport patch&lt;BR /&gt;&lt;BR /&gt;These patches should allow the network interface to initialize correctly at boot.  The testing has shown that if the patches are not installed the initialization of network services at boot fails, but it is possible to start up the lan interfaces manually (ifconfig lan1 inet 168.202.2.48 netmask 255.255.0.0 up).  In addition, the patches should ensure the correct functioning of commands ndd (for HP-UX 11.00) and nettune (for HP-UX 10.20).&lt;BR /&gt;&lt;BR /&gt;The files that need to be changed in HP-UX 11.00 are /etc/rc.config.d/nddconf and /etc/rc.config.d/netconf.  Here are the changes to be made...&lt;BR /&gt;&lt;BR /&gt;in /etc/rc.config.d/nddconf&lt;BR /&gt;TRANSPORT_NAME[0]=ip&lt;BR /&gt;NDD_NAME[0]=ip_check_subnet_addr&lt;BR /&gt;NDD_VALUE[0]=0&lt;BR /&gt;&lt;BR /&gt;in /etc/rc.config.d/netconf&lt;BR /&gt;SUBNET_MASK[0]=255.255.128.0&lt;BR /&gt;&lt;BR /&gt;(Interestingly enough the parameter ip_check_subnet_addr used above is not supported by HP:&lt;BR /&gt;# ndd -h unsupported | grep ip_check&lt;BR /&gt;    ip_check_subnet_addr  -  Controls the subnet portion of a host address&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;For HP-UX 10.20 the command ndd is not available.  There, after installing the patches (ARPA transport cummulative patch is the most important one), the command to use is nettune.  In order for the machine to be able to set the "non-standard" subnetting create the start-up scripts as follows:&lt;BR /&gt;&lt;BR /&gt;create /sbin/init.d/nettune_script with ownership bin:bin and perms 555&lt;BR /&gt;insert the following in the script:  /usr/contrib/bin/nettune -s ip_check_subnet_addr 0&lt;BR /&gt;create link in /sbin/rc2.d:  ln -s /sbin/init.d/nettune_script S006subnet&lt;BR /&gt;change in /etc/rc.config.d/netconf:  SUBNET_MASK[0]=255.255.128.0&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2001 08:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549502#M579243</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2001-07-06T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549503#M579244</link>
      <description>CONFIGURATION&lt;BR /&gt;Operating System - HP-UX&lt;BR /&gt;Version - 11.0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To disable this check, you must change a kernel global in HP-UX to 0:&lt;BR /&gt;&lt;BR /&gt;     Operating System  |  Kernel Global&lt;BR /&gt;     ------------------|----------------------&lt;BR /&gt;          10.x         | check_bcast_addr&lt;BR /&gt;          11.00        | ip_check_subnet_addr&lt;BR /&gt;                       |&lt;BR /&gt;&lt;BR /&gt;At 11.00, you can use the 'ndd' command to modify the kernel global:&lt;BR /&gt;&lt;BR /&gt;     1. cd /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;     2. Copy any script file:&lt;BR /&gt;&lt;BR /&gt;        cp net.init ndd_script&lt;BR /&gt;&lt;BR /&gt;     3. Edit the new file:&lt;BR /&gt;        .&lt;BR /&gt;        .&lt;BR /&gt;        .&lt;BR /&gt;        start)&lt;BR /&gt;               /usr/bin/ndd -set /dev/ip ip_check_subnet_addr 0&lt;BR /&gt;               ;;&lt;BR /&gt;        .&lt;BR /&gt;        .&lt;BR /&gt;        .&lt;BR /&gt;&lt;BR /&gt;     4. chmod 555 ndd_script&lt;BR /&gt;&lt;BR /&gt;     5. chown bin:bin ndd_script&lt;BR /&gt;&lt;BR /&gt;     6. cd ../rc2.d&lt;BR /&gt;&lt;BR /&gt;     7. ln -s ../init.d/ndd_script S021ndd&lt;BR /&gt;&lt;BR /&gt;Notice that the number assigned to this new script link is greater than&lt;BR /&gt;008 (S008net.init ), and smaller than (S340net).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jul 2001 08:29:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549503#M579244</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-07-06T08:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549504#M579245</link>
      <description>actually, depending on the class of the IP address, a netmask of 255.255.255.128 could actually work out of the box. what HP-UX does not aloow by default is an all-zeros or all-ones subnet portion of an IP address. that behaviour is altered with the ip_check_subnet_addr tunable.&lt;BR /&gt;&lt;BR /&gt;11i sets ip_check_subnet_addr to 0 by default.</description>
      <pubDate>Fri, 06 Jul 2001 19:59:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549504#M579245</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2001-07-06T19:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: new subnetmask failed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549505#M579246</link>
      <description>Hi,&lt;BR /&gt;You can add the entry&lt;BR /&gt;ROUTE_DESTINATION[]="net ..."&lt;BR /&gt;and it must work</description>
      <pubDate>Thu, 13 Mar 2003 10:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/new-subnetmask-failed/m-p/2549505#M579246</guid>
      <dc:creator>Lora Ganeva</dc:creator>
      <dc:date>2003-03-13T10:22:25Z</dc:date>
    </item>
  </channel>
</rss>

