HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DLPI device for second card
Operating System - HP-UX
1834017
Members
2105
Online
110063
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
06-29-2005 01:44 PM
06-29-2005 01:44 PM
I'm running HPUX 11.23i on a rx2620 box with 2 network cards. I have a program that opens up each network card device and reads transmits messages.
lanscan shows:
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x0013215B4608 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x0013215B4609 1 UP lan1 snap1 2 ETHER Yes 119
ls -l /dev/dlpi* shows
crw-rw-rw- 1 root sys 72 0x000077 Apr 2 09:13 /dev/dlpi
crw-rw-rw- 1 root sys 119 0x000000 Apr 2 09:13 /dev/dlpi0
crw-rw-rw- 1 root sys 119 0x000001 Apr 2 09:13 /dev/dlpi1
crw-rw-rw- 1 root sys 119 0x000002 Apr 2 09:13 /dev/dlpi2
crw-rw-rw- 1 root sys 119 0x000003 Apr 2 09:13 /dev/dlpi3
crw-rw-rw- 1 root sys 119 0x000004 Apr 2 09:13 /dev/dlpi4
I can open the device for the first card (/dev/dlpi). I am trying to open the device for the second card - what is the device. I think its /dev/dlpi also but with a PPA (Physical Point of Access) of 1 not 0.
Is that correct ? Can anyone please help out here.
Thanks in advance
JUP
lanscan shows:
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x0013215B4608 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x0013215B4609 1 UP lan1 snap1 2 ETHER Yes 119
ls -l /dev/dlpi* shows
crw-rw-rw- 1 root sys 72 0x000077 Apr 2 09:13 /dev/dlpi
crw-rw-rw- 1 root sys 119 0x000000 Apr 2 09:13 /dev/dlpi0
crw-rw-rw- 1 root sys 119 0x000001 Apr 2 09:13 /dev/dlpi1
crw-rw-rw- 1 root sys 119 0x000002 Apr 2 09:13 /dev/dlpi2
crw-rw-rw- 1 root sys 119 0x000003 Apr 2 09:13 /dev/dlpi3
crw-rw-rw- 1 root sys 119 0x000004 Apr 2 09:13 /dev/dlpi4
I can open the device for the first card (/dev/dlpi). I am trying to open the device for the second card - what is the device. I think its /dev/dlpi also but with a PPA (Physical Point of Access) of 1 not 0.
Is that correct ? Can anyone please help out here.
Thanks in advance
JUP
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 06:13 PM
06-29-2005 06:13 PM
Solution
LAN interfaces are named as lan, so you are right, PPA for the second card is 1.
You can access all LAN interfaces through single device file /dev/dlpi.
More information including some sample programs (in Appendix A) can be found in HP DLPI Programmer's Guide: HP-UX 11i v2 at
http://docs.hp.com/en/B2355-90871/index.html
You can access all LAN interfaces through single device file /dev/dlpi.
More information including some sample programs (in Appendix A) can be found in HP DLPI Programmer's Guide: HP-UX 11i v2 at
http://docs.hp.com/en/B2355-90871/index.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 06:19 PM
06-29-2005 06:19 PM
Re: DLPI device for second card
No, as I understand it, you should be using just /dev/dlpi. The difference between /dev/dlpi and /dev/dlpiN is that /dev/dlpi supports seperate streams for each open request wherease every /dev/dlpiN doesn't.
What I understand you are supposed to do is open /dev/dlpi and get a list of all available PPAs - have a look at the function attach() in the code here:
http://docs.hp.com/en/B2355-90138/ch02s01.html
HTH
Duncan
I am an HPE Employee
What I understand you are supposed to do is open /dev/dlpi and get a list of all available PPAs - have a look at the function attach() in the code here:
http://docs.hp.com/en/B2355-90138/ch02s01.html
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2005 12:02 PM
06-30-2005 12:02 PM
Re: DLPI device for second card
Thanks all - its been resolved.
/dev/dlpi for all devices and use PPA 0 for the first device, PPA 1 for second and so on.
Thanks again
JUP
/dev/dlpi for all devices and use PPA 0 for the first device, PPA 1 for second and so on.
Thanks again
JUP
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