- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't configure lan0
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
12-22-2004 04:49 AM
12-22-2004 04:49 AM
lanscan returns:
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x001083FF9AC2 0 UP lan0 snap0 1 ETHER Yes 119
0/3/0/0/6/0 0x00306E2D9982 1 UP lan1 snap1 2 ETHER Yes 119
0/3/0/0/7/0 0x00306E2D9983 2 UP lan2 snap2 3 ETHER Yes 119
ioscan -fnC lan returns:
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 0/0/0/0 btlan3 CLAIMED INTERFACE HP PCI 10/100Base-TX
Core
/dev/diag/lan0 /dev/ether0
lan 1 0/3/0/0/6/0 btlan3 CLAIMED INTERFACE HP A5838A PCI 100Bas
eTX/SCSI COMBO
/dev/diag/lan1 /dev/ether1
lan 2 0/3/0/0/7/0 btlan3 CLAIMED INTERFACE HP A5838A PCI 100Bas
eTX/SCSI COMBO
/dev/diag/lan2 /dev/ether2
A listing of /dev/lan is:
lrwxr-xr-x 1 root sys 9 Dec 21 10:30 /dev/lan -> /dev/dlpi
crw------- 1 root root 245 0x000000 Dec 22 09:19 /dev/lan0
crw------- 1 root root 245 0x010000 Dec 22 09:19 /dev/lan1
crw------- 1 root root 245 0x020000 Dec 22 09:19 /dev/lan2
The 'ifconfig lan0' command returns 'no such interface'. After the 'ifconfig lan0 plumb' command, 'ifconfig lan0' then returns:
lan0: flags=843
inet 0.0.0.0 netmask 0
When I issue 'ifconfig lan0 172.16.0.100 netmask 255.255.255.0 up' I get the response 'ioctl (SIOCSIFNETMASK): bad value' and then 'ifconfig lan0' responds with 'no such interface' again.
I've been playing with this for hours - both manually and with SAM - no luck either way.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 04:57 AM
12-22-2004 04:57 AM
Re: Can't configure lan0
seems like you are violating some RFC code,
Take a look at this thread,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063228394
The itrc doc id is A5633481
Also take a look at this thread,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062912284
This doc id is NETUXKBRC00008098.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 05:00 AM
12-22-2004 05:00 AM
SolutionThis can be turned off via ndd.
Try this:
# ndd -get /dev/ip ip_check_subnet_addr
It should return a value of '1' which means it will check and disallow invalid subnets according to the RFC.
To fix it:
# ndd -set /dev/ip ip_check_subnet_addr 0
Now try your ifconfig again.
Refer to TKB document KBRC00001356 for more information.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063199864
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 05:18 AM
12-22-2004 05:18 AM
Re: Can't configure lan0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2004 07:23 AM
12-22-2004 07:23 AM
Re: Can't configure lan0
Keep in ming that in order to survive a reboot, you will need to add the ndd setting supplied from Patrick in your /etc/rc.config.d/nddconf file. Otherwise lan0 will be back in the same baot after a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2004 03:19 AM
12-23-2004 03:19 AM