- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not able to configure network card
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
07-02-2007 10:55 AM
07-02-2007 10:55 AM
Not able to configure network card
Error:
ifconfig: ioctl (SIOCSIFNETMASK): bad value
Please suggest
Note:This interface is used to take backups and earlier this interface was working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 03:41 PM
07-02-2007 03:41 PM
Re: Not able to configure network card
Looks like it is complaiing about the subnet mask..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 05:29 PM
07-02-2007 05:29 PM
Re: Not able to configure network card
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 05:31 PM
07-02-2007 05:31 PM
Re: Not able to configure network card
What did your command or script line look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 06:34 PM
07-02-2007 06:34 PM
Re: Not able to configure network card
try to review the current configuration using SAM:
SAM Areas:Networking and Communications -> Network Interface Cards
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 04:59 AM
07-03-2007 04:59 AM
Re: Not able to configure network card
After the server reboot the problem started all of a sudden.
I tried configuring thru SAM,ifconfig command and also thru netconf.
LANSCAN OUTPUT:
$ /usr/sbin/lanscan -q
0
5
9
100
102 101(3 4) 103(7 8)
104 2 6
$ /usr/sbin/lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E136614 0 UP lan0 snap0 1 ETHER Yes 119
0/10/0/0/7/0 0x00306E1BAD13 5 UP lan5 snap5 5 ETHER Yes 119
0/12/0/0/7/0 0x00306E2E6123 9 UP lan9 snap9 9 ETHER Yes 119
LinkAgg0 0x000000000000 100 DOWN lan100 snap100 11 ETHER Yes 119
LinkAgg2 0x00306E1BAD11 102 UP lan102 snap102 13 ETHER Yes 119
LinkAgg4 0x00306E1BAD10 104 UP lan104 snap104 15 ETHER Yes 119
NETSTAT OUTPUT:
$ netstat -nr
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 4219 lo0 4136
152.135.174.45 152.135.174.45 UH 0 75537 lan104 4136
152.135.161.45 152.135.161.45 UH 0 20973 lan102 4136
152.135.174.32 152.135.174.45 U 2 0 lan104 1500
152.135.161.32 152.135.161.45 U 2 0 lan102 1500
127.0.0.0 127.0.0.1 U 0 0 lo0 4136
default 152.135.161.33 UG 0 0 lan102 1500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 07:48 PM
07-03-2007 07:48 PM
Re: Not able to configure network card
HP-UX does a check on illegal subnetmasks probably causing your error.
It's most likely that someone turned off that check in the past but after the reboot it's on again.
Turn it off temporary :
# ndd -set /dev/ip ip_check_subnet_addr 0
To make it permanent, edit
/etc/rc.config.d/nddconf :
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0