HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lanscan and ifconfig: diferent information?
Operating System - HP-UX
1833625
Members
3523
Online
110062
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-28-2008 11:55 AM
03-28-2008 11:55 AM
Hello,
I'm using HP-UX 11.11.
When I execute lanscan one of the lines is:
1/0/4/1/0/6/0 0x00306E5E59DC 3 UP lan3 snap3 1 ETHER Yes 119
And when I execute "ifconfig lan3" the output is
ifconfig: no such interface
But in another server with the same configuration and hardware, when I execute "ifconfig lan3" the output is:
# ifconfig lan3
lan3: flags=842
inet 0.0.0.0 netmask 0
I was expecting the same output in the first server, could you please tell me why could be the reason of the message "ifconfig: no such interface" even when landscan shows it?
Thanks a lot in advance.
Regards.
I'm using HP-UX 11.11.
When I execute lanscan one of the lines is:
1/0/4/1/0/6/0 0x00306E5E59DC 3 UP lan3 snap3 1 ETHER Yes 119
And when I execute "ifconfig lan3" the output is
ifconfig: no such interface
But in another server with the same configuration and hardware, when I execute "ifconfig lan3" the output is:
# ifconfig lan3
lan3: flags=842
inet 0.0.0.0 netmask 0
I was expecting the same output in the first server, could you please tell me why could be the reason of the message "ifconfig: no such interface" even when landscan shows it?
Thanks a lot in advance.
Regards.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2008 12:51 PM
03-28-2008 12:51 PM
Solution
In the first server, "ifconfig lan3 plumb" has not been executed, but on the second, it has been done.
The "ifconfig plumb" command is the very first thing in the procedure of "cold-starting" a network interface. It is done automatically in some situations:
- if /etc/rc.config.d/netconf has any mention of a network interface, the system startup scripts will automatically plumb that interface.
- if the interface has been configured as a ServiceGuard network failover interface, ServiceGuard will auto-plumb the interface whenever necessary (maybe when ServiceGuard starts, so that SG can monitor the connectivity of that interface).
Or maybe the second server has originally had the lan3 interface configured with some IP address, and it's been (manually?) unconfigured since then. In this case, whoever/whatever has unconfigured the interface has left it in the plumbed state. In this case, if the second server would be rebooted, it might start behaving like the first machine.
MK
The "ifconfig
- if /etc/rc.config.d/netconf has any mention of a network interface, the system startup scripts will automatically plumb that interface.
- if the interface has been configured as a ServiceGuard network failover interface, ServiceGuard will auto-plumb the interface whenever necessary (maybe when ServiceGuard starts, so that SG can monitor the connectivity of that interface).
Or maybe the second server has originally had the lan3 interface configured with some IP address, and it's been (manually?) unconfigured since then. In this case, whoever/whatever has unconfigured the interface has left it in the plumbed state. In this case, if the second server would be rebooted, it might start behaving like the first machine.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2008 03:52 AM
03-31-2008 03:52 AM
Re: lanscan and ifconfig: diferent information?
Thanks a lot for your help.
That was the problem.
Regards,
That was the problem.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2008 09:10 AM
03-31-2008 09:10 AM
Re: lanscan and ifconfig: diferent information?
Lanscan shows devices/network cards/whatnot - stuff operating at "layer 2" of the 7 layer stack (or nine layer if you ascribe to: https://secure.isc.org/index.pl?/store/t-shirt/ (scroll to the bottom) Basically DLPI and below.
Ifconfig shows "interfaces" known to the transport - ie IP and above. As already mentioned, on the system where you get the no such interface the transport has not yet "learned" of the interface - the IP and ARP saps have not been bound by IP/ARP to the driver.
Ifconfig shows "interfaces" known to the transport - ie IP and above. As already mentioned, on the system where you get the no such interface the transport has not yet "learned" of the interface - the IP and ARP saps have not been bound by IP/ARP to the driver.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP