- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Subnet Mask setting
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:12 PM
06-07-2005 02:12 PM
I configured a second NIC card (btlan4) with the following in /etc/rc.config.d/netconf for a K380 server running UX 11.00
:
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=192.168.16.23
SUBNET_MASK[1]=255.255.255.0 <- works
SUBNET_MASK[1]=255.255.255.224 <- error
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=up
DHCP_ENABLE[1]=0
ROUTE_GATEWAY[1]=192.168.16.1
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[1]=default
If the subnet_mask set to 255.255.255.224, the following message will show when /sbin/init.d/net start is executed:
ERROR: lan1 interface: ifconfig: ioctl (SIOCSIFNETMASK): bad value
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
add net default: gateway 192.168.16.1: Network is unreachable
Everything runs fine if subnet_mask is set to 255.255.255.0 but I was told by my network admin to use 255.255.255.224 and commented that the error was due to wrong configuration in the server.
Any pointer is appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:16 PM
06-07-2005 02:16 PM
Re: Subnet Mask setting
Try configuring it thru SAM.
SAM > Network and Communications > Network interface cards.
Regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:29 PM
06-07-2005 02:29 PM
Solutionrecommended step is to disable subnet mask checking. this is a good thread to address your problem:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105606
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:44 PM
06-07-2005 02:44 PM
Re: Subnet Mask setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 04:00 PM
06-07-2005 04:00 PM
Re: Subnet Mask setting
Try setting the broadcast to 192.168.16.31 and let us know how that goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 04:50 PM
06-07-2005 04:50 PM
Re: Subnet Mask setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 06:00 PM
06-07-2005 06:00 PM
Re: Subnet Mask setting
Try disabling subnet mask checking:
# ndd -set /dev/ip ip_check_subnet_addr 0
To make permanent, edit /etc/rc.config.d/nddconf:
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0
The reason HP-UX is rejecting the maxk/ip combination is it was interpreting them under the original, classful subnetting rules that still had the concept ofa this netowrk, all subnets broadcast. thus, an all-zeros or all-ones subnet portion could not be assigned as a host's IP address.
the ip_check_subnet_addr as mentioned will cause the mask/ip combinations to be interpreted under the newer classless rules. that becomes the default in 11i.
Regards,
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 06:34 PM
06-07-2005 06:34 PM
Re: Subnet Mask setting
Just one more question, why is it "Unknown tunable parameter: ip_check_subnet_addr" when the following is issued:
#ndd -h ip_check_ubnet_addr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 06:48 PM
06-07-2005 06:48 PM
Re: Subnet Mask setting
make sure u type the parameter correctly:
# ndd -h ip_check_subnet_addr
regards.
(p.s. please remember to assign points.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 07:03 PM
06-07-2005 07:03 PM
Re: Subnet Mask setting
My typo mistake but I still get "Unknown tunable parameter: ip_check_subnet_addr" by cutting your posting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 07:07 PM
06-07-2005 07:07 PM
Re: Subnet Mask setting
could u reply the "ndd -h":
# ndd -h
look under SUPPORTED ndd tunable parameters
it may be ip_check_subnet_addr is not supported.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 07:23 PM
06-07-2005 07:23 PM
Re: Subnet Mask setting
UNSUPPORTED ndd tunable parameters on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 07:31 PM
06-07-2005 07:31 PM
Re: Subnet Mask setting
maybe u like to read this thread for why it is unsupported:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=716344
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 02:09 AM
06-09-2005 02:09 AM
Re: Subnet Mask setting
I think u didnt think about why SAM was giving error. The pblm is with the netmask , it should be 255.255.255.240 ,bcoz 255.255.255.224 is not a valid subnetmask for the ip address 192.168.16.23. Pls check with the subnetmask 255.255.255.240 if possible, i wont tell u to doit if u dont have any issues after disabling the checking of subnetmasks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 02:40 PM
06-09-2005 02:40 PM
Re: Subnet Mask setting
see this doc
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070739152
SO YOU SHOULD CHANGE TO
IP_ADDRESS[1]=192.168.16.226
SUBNET_MASK[1]=255.255.255.224
TIENNA