Operating System - HP-UX
1833758 Members
2568 Online
110063 Solutions
New Discussion

Setting a netmask of 255.255.248.0 on HPUX 11.0

 
SOLVED
Go to solution
Roch Bourdon
Occasional Contributor

Setting a netmask of 255.255.248.0 on HPUX 11.0

Hi,

I'm trying to set one of my lan interface to have a netmask of 255.255.248.0 on a hpux 11.0 Box.
However this does not seem to work?
It works fine with a netmask of 255.255.0.0 but this is not what we want...

Anybody seen this before?

Thanks for your help ;-)
1 REPLY 1
Wieslaw Krajewski
Honored Contributor
Solution

Re: Setting a netmask of 255.255.248.0 on HPUX 11.0

Hi,

You mention netmask but nothing say about IP address.
I guess that your IP address and netmask are such that IP address belongs to subnet 0, for example
IP address = 172.16.1.1 and netmask = 255.255.248.0
does not in the default case.
So you have two possibilities:

1. Change IP address or netmask,
for example:
IP address = 172.16.15.1 and netmask = 255.255.248.0

IP address = 172.16.1.1 and netmask = 255.255.0.0

2. ndd -set /dev/ip ip_check_subnet_addr 0

This admits using subnet 0 in HP-UX11.

Hope this helps.
Rgds.
Permanent training makes master