1833758 Members
3078 Online
110063 Solutions
New Discussion

A problem of IP Address

 
SOLVED
Go to solution
Wang Haihua
Occasional Contributor

A problem of IP Address

I want to use "172.16.0.18/24" IP address to set my rp2430 Server installed HP-UX 11.00 Version OS, but the server refused this IP address and sent error message like "violate IP subset zero rule". I'll appreciate you who can help me?
Just do it!
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: A problem of IP Address

HP-UX will not allow you to use an address in a 0 subnet.

Have a look at the following from the TKB as to how to turn off this "feature".

*****************
How To Turn off Ip Subnet Checking

DocId: KBRC00001356
Updated: 4/6/00 3:09:38 PM

PROBLEM
When using ip schemes that do not conform to RFC-1122 there is a variable that can be changed which disables the checking for conformance to the RFC.

RESOLUTION

Issue the following command:

ndd -h unsupported |more

The Variable ip_check_subnet_addr - Controls the subnet portion of a host address

To bypass RFC-1122 address checking, set the ip_check_subnet_addr variable to zero. To make this a permanent setting, include this setting in the /etc/rc.config.d/nddconf file.

Summary:
The following output is what is seen if you are checking subnets:

# ndd -get /dev/ip ip_check_subnet_addr 1

Set value

ndd -set /dev/ip ip_check_subnet_addr 0

Now reread the netconf and nddconf files:

/sbin/init.d/net start

To make this permanent edit /etc/rc.config.d/nddconf and add a set of lines:

TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0

On Hp-ux 10.20

With HP-UX 10.20 use the nettune command to make this change

/usr/contrib/bin/nettune -s ip_check_subnet_addr 0

To make the change permanent:
1. Create a text file called nettune_script with the following line:

nettune -s ip_check_subnet_addr 0

2. mv nettune_script /sbin/init.d

3. chmod 555 /sbin/init.d/nettune_script

4. chgrp bin /sbin/init.d/nettune_script

5. chown bin /sbin/init.d/nettune_script

6. cd /sbin/rc2.d

7. ln -s /sbin/init.d/nettune_script /sbin/rc2.d/S006subnet


RAC_1
Honored Contributor

Re: A problem of IP Address

you need to set ip_check_subnet_addr parameter.

Check /etc/rc.config.d/nddconf to set it permanently.
There is no substitute to HARDWORK
Ravi_8
Honored Contributor

Re: A problem of IP Address

Hi,

you are trying to use 0.0.0.0 as the subnet which hp-ux doesn't allow.
follwing the Patrick's post will solve your problem
never give up
rick jones
Honored Contributor

Re: A problem of IP Address

Just to add to Patrick's response, the ndd setting becomes unnecessary with 11i as the default for ip_check_subnet_addr becomes 0.
there is no rest for the wicked yet the virtuous have no pillows