HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to limit source port range on UDP broadcas...
Operating System - HP-UX
1834283
Members
1967
Online
110066
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-21-2001 07:18 PM
06-21-2001 07:18 PM
We have had an application for years which ran on 10.20 and generated a UDP broadcast on port 1901. The broadcast was then picked up by a Cisco router and turned into a unicast by the IP Helper-address and Forward-protocol commands and sent to a distant subnet as a directed broadcast.
We upgraded to 11.0. The application runs as before but the Cisco refuses to forward the packets. The only difference we can see is that the 10.20 packets always have a source port in the 2000-3000 range. The 11.0 prefers source ports in the 40000-64000 range.
We do not have the source code for the application and upgrading to a newer Cisco code does not help. Cisco admits it's their problem but has no solution. Is there a way to get 11.0 to go back to the old source port range?
Ron Kinner
We upgraded to 11.0. The application runs as before but the Cisco refuses to forward the packets. The only difference we can see is that the 10.20 packets always have a source port in the 2000-3000 range. The 11.0 prefers source ports in the 40000-64000 range.
We do not have the source code for the application and upgrading to a newer Cisco code does not help. Cisco admits it's their problem but has no solution. Is there a way to get 11.0 to go back to the old source port range?
Ron Kinner
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 04:22 AM
06-22-2001 04:22 AM
Solution
Hi Ron:
You can use 'ndd' to set the values of 'tcp_largest_anon_port' and 'udp_largest_anon_port'. These control the automatic assignment of port numbers when an application binds to port-0.
To make this permanent, put the settings in /etc/rc.config.d/nddconf.
In 10.20 automatic assignment occured in the range 1024-5000. In 11.x these automatic/anonymous port numbers are chosen, by default, from the range 49152-65535.
...JRF...
You can use 'ndd' to set the values of 'tcp_largest_anon_port' and 'udp_largest_anon_port'. These control the automatic assignment of port numbers when an application binds to port-0.
To make this permanent, put the settings in /etc/rc.config.d/nddconf.
In 10.20 automatic assignment occured in the range 1024-5000. In 11.x these automatic/anonymous port numbers are chosen, by default, from the range 49152-65535.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2001 11:30 AM
06-27-2001 11:30 AM
Re: How to limit source port range on UDP broadcasts
Thanks for the tip. Turns out you also have to change udp_smallest_anon_port in order to get it to work. (Otherwise it takes the command and ndd -get looks good but the first use resets it back to the default.) Oddly enough that parameter is listed as NOT supported by 11.0 but does seem to work OK.
Alas, it did not fix our problem. The router still refuses to accept the packets even tho they have the same source ports of the old 10.20. I looked at our lab's old 10.20's output with a sniffer and I see very little that could cause a problem other than perhaps the TTL. I can't sniff the new machine's output cause it's in California and I'm in FL but I was wondering if perhaps HP 11.0 thinks a broadcast packet should not have a TTL bigger than 1? ndd claims ttl is set to 64 but perhaps they make an exception for UDP broadcasts?
Ron
Alas, it did not fix our problem. The router still refuses to accept the packets even tho they have the same source ports of the old 10.20. I looked at our lab's old 10.20's output with a sniffer and I see very little that could cause a problem other than perhaps the TTL. I can't sniff the new machine's output cause it's in California and I'm in FL but I was wondering if perhaps HP 11.0 thinks a broadcast packet should not have a TTL bigger than 1? ndd claims ttl is set to 64 but perhaps they make an exception for UDP broadcasts?
Ron
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