- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX DLPI binding to an SAP
Operating System - HP-UX
1753989
Members
6482
Online
108811
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
Discussions
Discussions
Forums
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
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
тАО09-13-2006 12:10 AM
тАО09-13-2006 12:10 AM
HPUX DLPI binding to an SAP
Hi people,
Im trying to get all IP traffic destinated for a local host hp 11.00 (not sniffing all packets on the wire!!) so I:
1. open dlpi
2. attach to a ppa
3. then bind it to an sap which i dont know...
Please someone can help me to fill in appropriate value for DL_BIND_REQ for SAP field (dl_sap)
and whats the difference between DL_HP_RAWDLS
and DL_CLDLS ?
i would greatly appreciate if anyone can sched some light .
Thanks.
Im trying to get all IP traffic destinated for a local host hp 11.00 (not sniffing all packets on the wire!!) so I:
1. open dlpi
2. attach to a ppa
3. then bind it to an sap which i dont know...
Please someone can help me to fill in appropriate value for DL_BIND_REQ for SAP field (dl_sap)
and whats the difference between DL_HP_RAWDLS
and DL_CLDLS ?
i would greatly appreciate if anyone can sched some light .
Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 12:54 PM
тАО09-13-2006 12:54 PM
Re: HPUX DLPI binding to an SAP
You need to use the SAP (IIRC Ethertype) assigned to IP. Prior to that, you have to make sure that the interface is not "plumbed" by the transport or it (the IP SAP, as well as ARP) will already be bound to the interface.
That presumes you want to run your own IP stack over the interface and not the system's IP stack.
As for the difference between DL_HP_RAWDLS and DL_CLDLS I suspect that would be covered by the DLPI manual(s) online at http://docs.hp.com/
If your system is connected to the rest of the network via a _switch_ then the difference in the traffic you see in normal vs promiscuous mode would be epsilon as the switch will have already filtered traffic based on destination MAC address.
So, if what you want is to see the IP traffic to/from an interface that has been ifconfiged, you would mimic what tcpdump/libpcap do - bind to some quasi-unimportant SAP and then use either DL_PROMSIC_PHYS or DL_PROMISC_SAP. Youwould then need (IIRC) to filter "yourself" based on the ethertypes - virtually all of which will be for IP and/or ARP.
In broad handwaving terms, when connected to a switch the two should be about the same. If however, the system is connected via a hub then DL_PROMISC_SAP would be what you want if you only want to see traffic that was destined to the host itself.
Depending on what you want to do with this traffic, you may be able to do something with nettl.
That presumes you want to run your own IP stack over the interface and not the system's IP stack.
As for the difference between DL_HP_RAWDLS and DL_CLDLS I suspect that would be covered by the DLPI manual(s) online at http://docs.hp.com/
If your system is connected to the rest of the network via a _switch_ then the difference in the traffic you see in normal vs promiscuous mode would be epsilon as the switch will have already filtered traffic based on destination MAC address.
So, if what you want is to see the IP traffic to/from an interface that has been ifconfiged, you would mimic what tcpdump/libpcap do - bind to some quasi-unimportant SAP and then use either DL_PROMSIC_PHYS or DL_PROMISC_SAP. Youwould then need (IIRC) to filter "yourself" based on the ethertypes - virtually all of which will be for IP and/or ARP.
In broad handwaving terms, when connected to a switch the two should be about the same. If however, the system is connected via a hub then DL_PROMISC_SAP would be what you want if you only want to see traffic that was destined to the host itself.
Depending on what you want to do with this traffic, you may be able to do something with nettl.
there is no rest for the wicked yet the virtuous have no pillows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2006 06:36 PM
тАО09-13-2006 06:36 PM
Re: HPUX DLPI binding to an SAP
Thanks a lot it was very very informative!!!
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP