- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in...
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
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
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-14-2002 07:41 AM
тАО03-14-2002 07:41 AM
HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
subnet mask checking already disabled using;
ndd -set /dev/ip ip_check_subnet_addr 0
and change made permanent.
ifconfig lan0 shows 'no such interface'.
issuing a /sbin/init.d/net start will start the lan and a subsequent ifconfig shows
inet 10.0.0.160 netmask ffffff00 broadcast 10.255.255.255
Why is it failing on boot-up when it appears to configure fine after boot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2002 07:48 AM
тАО03-14-2002 07:48 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
You must configure /etc/rc.config.d/ndd too.
See man ndd or search forum for responses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2002 08:24 AM
тАО03-14-2002 08:24 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
You can "unblock" this mechanism by adding to your
/etc/rc.config.d/nddconf file
like this:
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0
NB [0] is the variable sequence number. If you allready have any active commands in this file, this number must be incremented by 1.
To activate this command "on the fly": do ndd -c
Br,
Johan Gjestvang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2002 08:48 AM
тАО03-14-2002 08:48 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2002 09:05 AM
тАО03-14-2002 09:05 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0
and doing a ndd -get ip_check_subnet_addr returns '0', yet this doesn't seem to allow me to use the 10.0.0.xxx subnet.
Is there more I need to configure?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2002 10:13 AM
тАО03-14-2002 10:13 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
Thanks for all the help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2002 07:04 AM
тАО03-15-2002 07:04 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
is an unsupported ndd option so there is no promise that it will work.
I assume you are using a 255.255.255.0 subnet. This makes your 10.0.0.x address a member of the so called zero subnet which per the RFC should not be used since it can be confused with the network address. 10.0.1.x should work OK.
You would run into the same problem if you used the last subnet.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2002 07:07 AM
тАО03-15-2002 07:07 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
There is supposed to be a patch that fixed that and I also saw a small program that would run during boot to set the NDD option without the patch but since you already have it working I won't bother looking it up.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2002 12:01 PM
тАО03-15-2002 12:01 PM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
setting ip_check_subnet_addr to zero causes the subnet masks to be interpreted per current RFCs.
on older 11.0 streams, the ndd settings are after ifconfig :( indeed, there was supposed to be a patch that dealt with this.
in 11i, the default for ip_check_subnet_addr is zero so there should be no issue on that release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 12:55 PM
тАО08-07-2002 12:55 PM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2002 06:15 AM
тАО09-30-2002 06:15 AM
Re: HPUX 11.0: ifconfig: ioctl (SIOCSIFNETMASK) in rc.log
PHNE_20633:
( SR number: 8606107486 ; Defect: JAGab77719 )
Symptom:
A temporary file /tmp/stcp.conf is left around
unnecessarily.
Defect Description:
/sbin/init.d/net.init references an inappropriate file.
Resolution:
Changed /sbin/init.d/net.init to reference the correct
file.
( SR number: 4701413963 ; Defect: INDaa30107 )
Symptom:
Ifconfig may initialize network interfaces incorrectly
during system startup.
Defect Description:
Netconf/nddconf related startup scripts run ifconfig before
running "ndd -c". Some of the nddconf parameters can alter
the behaviour of ifconfig. If ifconfig runs before "ndd -c",
there is no opportunity for ndd to alter those parameters
at startup time resulting in incorrectly initialized network
interfaces.
Resolution:
Changed /sbin/init.d/net to reverse the calls to ndd and
ifconfig.