HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not able to broadcast using loopback address in hp...
Operating System - HP-UX
1829456
Members
1158
Online
109992
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
04-23-2007 08:52 PM
04-23-2007 08:52 PM
Not able to broadcast using loopback address in hpux.
Hi ,
In hpux , not able to broadcast using loopback address. I wrote sample UDP
client-server program, found different observation on Linux and hp-ux.
In Case of Linux
------------------------
Two server are listening on 127.255.255.255:2206(port) with SO_REUSEADDR
flag set and client application broadcasting the message on
127.255.255.255:2206. Both server application are able to get the client
message.
In case of hp-ux
-------------------------
Two server are listening on 127.255.255.255:2206(port) with SO_REUSEPORT
flag set and client application broadcasting the message on
127.255.255.255:2206. Only one server application is able to get the client
message. Also we observed that sometimes binding with 127.255.255.255:2206
fails with EADDRNOTAVAIL.
Why this different behavior in hpux ? Any limitation on loopback address on
hpux ? Any loopback broadcast address is there in hpux? Any suggestion /
inputs would be appreciated !
Thanks & Regards,
Joseph.
In hpux , not able to broadcast using loopback address. I wrote sample UDP
client-server program, found different observation on Linux and hp-ux.
In Case of Linux
------------------------
Two server are listening on 127.255.255.255:2206(port) with SO_REUSEADDR
flag set and client application broadcasting the message on
127.255.255.255:2206. Both server application are able to get the client
message.
In case of hp-ux
-------------------------
Two server are listening on 127.255.255.255:2206(port) with SO_REUSEPORT
flag set and client application broadcasting the message on
127.255.255.255:2206. Only one server application is able to get the client
message. Also we observed that sometimes binding with 127.255.255.255:2206
fails with EADDRNOTAVAIL.
Why this different behavior in hpux ? Any limitation on loopback address on
hpux ? Any loopback broadcast address is there in hpux? Any suggestion /
inputs would be appreciated !
Thanks & Regards,
Joseph.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2007 09:12 PM
04-23-2007 09:12 PM
Re: Not able to broadcast using loopback address in hpux.
Shalom Joseph,
Using broadcast wastes band width and is blocked by any network admins, check this and see if the HP box is sitting in a switch configured to block it.
See that network configuration is consistent in /etc/rc.config.d/netconf
Check the ndd setting on the system (see the man page on ndd) and /etc/rc.config.d/nddconf for anything that is out of the ordinary.
SEP
Using broadcast wastes band width and is blocked by any network admins, check this and see if the HP box is sitting in a switch configured to block it.
See that network configuration is consistent in /etc/rc.config.d/netconf
Check the ndd setting on the system (see the man page on ndd) and /etc/rc.config.d/nddconf for anything that is out of the ordinary.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 08:15 PM
04-24-2007 08:15 PM
Re: Not able to broadcast using loopback address in hpux.
Hello Joseph,
I can't comment on the behavior of HP-UX vs. Linux in this case. However let me suggest a workaround (not tested): you may try using a multicast address bound to the loopback interface.
Indeed, ifconfig shows that the lo0 interface has the MULTICAST flag so this should work. You would use a multicast address like 239.255.0.1 (in the IPv4 local scope range). And you would configure your socket so that it gets bound to the lo0 interface thanks to the IP_MULTICAST_IF socket option. See http://docs.hp.com/en/B2355-90136/ch05s05.html for details.
HTH.
I can't comment on the behavior of HP-UX vs. Linux in this case. However let me suggest a workaround (not tested): you may try using a multicast address bound to the loopback interface.
Indeed, ifconfig shows that the lo0 interface has the MULTICAST flag so this should work. You would use a multicast address like 239.255.0.1 (in the IPv4 local scope range). And you would configure your socket so that it gets bound to the lo0 interface thanks to the IP_MULTICAST_IF socket option. See http://docs.hp.com/en/B2355-90136/ch05s05.html for details.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2007 11:32 PM
04-25-2007 11:32 PM
Re: Not able to broadcast using loopback address in hpux.
Thanks lot jerome for the information about multicast . I will try with multicast instead of broadcast .
Thanks & Regards,
Joseph.
Thanks & Regards,
Joseph.
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