HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tcpdump: lan0:1 bad unit number
Operating System - HP-UX
1834461
Members
3339
Online
110067
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
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
06-10-2001 10:58 PM
06-10-2001 10:58 PM
tcpdump: lan0:1 bad unit number
Im trying to use tcpdump -i lan0 and get the error messages:
tcpdump: lan0:1 bad unit number
lanscan shows the correct information
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
10/4/16 0x080009DC81C7 0 UP lan0 snap0 2 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x080009DC81C7 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
btlan1
Any ideas why tcpdump is complaining about lan0
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 03:49 AM
06-11-2001 03:49 AM
Re: tcpdump: lan0:1 bad unit number
Try it without the -i, according to the man http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcpdump-3.6.2/man.html
it will select lan0 in any case.. it may be something as stupid as leaving out the /dev/
Make sure in anycase ioscan -fnkClan, lanscan and ifconfig show lan0 status as good.
Later,
Bill
it will select lan0 in any case.. it may be something as stupid as leaving out the /dev/
Make sure in anycase ioscan -fnkClan, lanscan and ifconfig show lan0 status as good.
Later,
Bill
It works for me (tm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 04:08 AM
06-11-2001 04:08 AM
Re: tcpdump: lan0:1 bad unit number
Bill,
ioscan -fnkClan, lanscan and ifconfig show lan0 status as good.
tcpdump withe -i option give same error message
tcpdump: lan0:1 bad unit number
I discovered it is complaining about lan0:1
which is an ip-alias on the lan card.
Can tcpdump run on a lan card which has an alias defined ???
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2001 08:44 AM
06-11-2001 08:44 AM
Re: tcpdump: lan0:1 bad unit number
tcpdump only works against what at the transport level are considered "physical" interfaces. that means "lan0", "lan1", "lanN" etc. an interface name of the form "lan0:1" is what the transport considers a "logical" interface.
so, you need to say "-i lan0" and if you only want to see traffic to/from the IP address associated with lan0:1, you need to use a filter expression.
there are several flavors of interface. at the transport level, we have what transport considers the "physical" interface, which is manifest by a single DLPI instance from a driver. then there are "logical" interfaces at the transport level (ie IP) which exist solely as datastructures in IP and funnel through the same single DLPI isntance as the physical interface.
now if we switch to the data-link/driver level, we have physical interfaces - ie NICs or individual ports on a NIC, and we have virtual interfaces - ie an APA trunk, or perhaps in the future VLAN interfaces. a virtual interface a tthe data-link layer is treated by the transport as a "physical" interface in transport-level terminology.
soooo, we can have logical transport interfaces sharing what the transport considers a single physical link that is really a virtual interface exported by the data link layer which is composed of several physical NIC's bound together in a trunk. clear isn't it?-)
(yes, one can tcpdump an APA trunk :)
so, you need to say "-i lan0" and if you only want to see traffic to/from the IP address associated with lan0:1, you need to use a filter expression.
there are several flavors of interface. at the transport level, we have what transport considers the "physical" interface, which is manifest by a single DLPI instance from a driver. then there are "logical" interfaces at the transport level (ie IP) which exist solely as datastructures in IP and funnel through the same single DLPI isntance as the physical interface.
now if we switch to the data-link/driver level, we have physical interfaces - ie NICs or individual ports on a NIC, and we have virtual interfaces - ie an APA trunk, or perhaps in the future VLAN interfaces. a virtual interface a tthe data-link layer is treated by the transport as a "physical" interface in transport-level terminology.
soooo, we can have logical transport interfaces sharing what the transport considers a single physical link that is really a virtual interface exported by the data link layer which is composed of several physical NIC's bound together in a trunk. clear isn't it?-)
(yes, one can tcpdump an APA trunk :)
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