- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 32 bit subnet mask
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
03-11-2002 06:40 AM
03-11-2002 06:40 AM
32 bit subnet mask
I need assign a 32 bit netmask to a virtual loopback interface in order to use Cisco Server Load Balancing in a HP 9000 with HP-UX 11i.
I put the interface in the /etc/rc.config.d/netconf file
INTERFACE_NAME[1]=lo0:1
IP_ADDRESS[1]=172.2.203.136
SUBNET_MASK[1]=255.255.255.255
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0
And in the /etc/rc.config.d/nddconf file
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0
But when I restart the network service this is what happens
isaias1:/home/root# /sbin/init.d/net start
ERROR: lo0:1 interface: ifconfig: ioctl (SIOCSIFNETMASK): bad value
isaias1:/home/root#
But, if I try to make it with the ifconfig command
isaias1:/home/root# ifconfig lo0:1 172.2.203.136 255.255.255.255
isaias1:/home/root# netstat -in
Name Mtu Network Address Ipkts Opkts
lo0:1 4136 172.2.203.0 172.2.203.136 40075 15392
lan3 1500 172.2.203.0 172.2.203.121 18781226 13216463
lo0 4136 127.0.0.0 127.0.0.1 572582 572583
isaias1:/home/root# ifconfig lo0:1
lo0:1: flags=859
inet 172.2.203.136 --> 255.255.255.255 netmask ffffff00
isaias1:/home/root#
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:36 AM
03-11-2002 09:36 AM
Re: 32 bit subnet mask
ip_check_subnet_addr
You probably want to set that to 0.
See http://people.hp.se/stevesk/bastion11.html for details on how to do this at the appropriate time during the boot.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 03:12 PM
03-11-2002 03:12 PM
Re: 32 bit subnet mask
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:51 PM
03-11-2002 09:51 PM
Re: 32 bit subnet mask
Class A : 255.0.0.0
Class B : 255.255.0.0
Class C : 255.2555.255.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2002 09:51 PM
03-11-2002 09:51 PM
Re: 32 bit subnet mask
Class A : 255.0.0.0
Class B : 255.255.0.0
Class C : 255.255.255.0