- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question about using /dev/tun
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
03-19-2007 03:38 AM
03-19-2007 03:38 AM
Question about using /dev/tun
I am porting a some code from Solaris and Linux to HP-UX-11 that uses an IP network tunnel driver.
I have been referring to the tun(4) man page, which specifies the header file as net/tun.h. The problem is, I can't find this header file anywhere on the two HP-UX machines we have.
I have also searched the internet for clues to no avail. There are some ioctl calls I need to make, but I don't have the constants to do it.
Does anyone know where I can get this header file? Also, I would greatly appreciate any other bits of insight or examples related to the IP network tunnel driver on HP-UX.
Since my original posting, I received some information from a mailing list that the header file for the tun driver was removed because it was only designed for PPP. Does anyone know more about this?
Thank you,
FrankS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 09:53 PM
03-19-2007 09:53 PM
Re: Question about using /dev/tun
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1109607
Someone tattled on you and asked that the duplicate be removed: ;-)
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1087289 Mar 16, 2007 21:47:46 GMT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 01:11 AM
03-20-2007 01:11 AM
Re: Question about using /dev/tun
Unfortunately the tun driver is not public on hpux. It was designed only for ppp use, and none of the ioctl are doing anything.
The tun.h have no use at all.
You can try to contact HP support to ask for an enhancement here, but you will probably have to contact your sales representative or account manager too to push strongly the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 02:00 AM
03-20-2007 02:00 AM
Re: Question about using /dev/tun
I posted on both forums because this question straddled topics. It is programming, but very much related to networking. Thank you for leaving it up the second time. I request that it be left up for others to find, since there is very little information about the tunnel driver.
As far as using the tunnel driver, I have received similar responses from others that the tunnel driver is not supported for anything but HPs PPP implementation. A shame really, since it is very powerful.
I think it is time to start looking into the PPP protocol and see if I can add that layer as part of my migration. Is there an API for configuring the PPP, or is it all done with config files?
Thanks again,
FrankS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 02:15 AM
03-20-2007 02:15 AM
Re: Question about using /dev/tun
Yes you can use ppp with a socket for instance.
you just have to configure in
/etc/ppp/System:
71.71.71.73 Any;5 tcp/myhost/ppp
where ppp is a port named defined in /etc/services
then you will get the ppp flow on a socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 06:03 AM
05-02-2007 06:03 AM
Re: Question about using /dev/tun
I am getting the same problem you had. Have you figured out a solution?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 06:37 AM
05-02-2007 06:37 AM
Re: Question about using /dev/tun
I have only one advise:
contact hp support, dspp http://h21007.www2.hp.com, or your sales representative.
To have some enhancement there a lot of requests are needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 07:33 AM
05-02-2007 07:33 AM
Re: Question about using /dev/tun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 01:26 AM
05-08-2007 01:26 AM
Re: Question about using /dev/tun
We decided to back-burner the HP-UX version of our feature for the time being, so I have moved on to other things. If we decide to implement this on HP-UX later, it seems as if our only choice is to add a PPP layer.
-FrankS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 01:34 AM
05-08-2007 01:34 AM
Re: Question about using /dev/tun
Sungrand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 02:28 AM
05-10-2007 02:28 AM
Re: Question about using /dev/tun
What product are you trying to make for HPUX?
More than support, it is the business reps which should be contacted. The decision can only come from that part.
The question is not only technical.
The 2 possible channel to get anything there is:
1) your hp sales representative
2) the dspp. http://h21007.www2.hp.com/partner/iWantTo/1,2609,,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 02:30 AM
05-10-2007 02:30 AM
Re: Question about using /dev/tun
I have got in touch with HP. Thanks...
Sungrand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2007 02:39 AM
05-10-2007 02:39 AM
Re: Question about using /dev/tun
you can give my name@hp to your HP contact, if they want to have some technical discussions
on that