SmartSDR v3.8.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Fragmented Packets and packet size
While trying to fault find an issue with the waterfall and spectrum not displaying on a remote smartlink connection.....
I observed while monitoring the local network traffic on my LAN that the Flex was sending ipv4 packets of 1514 bytes. As my PC has an MTU of 1500 bytes fragmentation and reassembly has to occur.
My router also has a fixed MTU of 1500 bytes on the outbound interface so all packets sent over the internet are being fragmented.
When trying to connect remotely, wireshark shows reassembly errors. "netstat-s" shows a huge number of packets requiring reassembly and zero successfully reassembled.
I understand from conversation with a core network engineer at an ISP that any packet size greater than 1500 bytes is not best practice and can result in issues.
Is this normal to have an MTU on the flex packets greater than 1500 and can it be reduced.
Comments
-
Packets sent from the radio are not greater than the max for an Ethernet frame (1518 bytes). Devices will list an MTU of 1500 when it really is 1518 (14 bytes of Ethernet header and 4 bytes of CRC, leaving 1500 bytes of payload).
The VITA-49 data sent for display data is greater than the 1500 byte payload of an Ethernet packet so the TCP/IP stack on the radio is fragmenting the data and the TCP/IP stack on the client is reassembling it. This is a standard and customary way of handling large data streams over a packet network.
If you are getting the errors you are reporting, the problem is not with the radio, but most likely with your router not allow fragmented packets to pass. This can be a global setting or implemented as a firewall rule. Since the maximum sized fragmented packets are not allowed to pass and the ones that are smaller do, Wireshark reports this as reassembly errors.
We have had at least one customer that has this issue and it was resolved when you configured their firewall/router to allow fragmented packets to pass.1 -
Hi Tim,
Thanks for the quick reply, I will try another router. The current one is a BT Homehub which is a very popular router in the UK so I would of expected more reported issues.
I can successfully connect via my iOS device and 4G, if my router was blocking fragmented packets wouldn't that connection also be affected ?
0 -
It is usually the inbound router (on the client end) that will not allow the packets in. Most firewalls do not filter on outbound connections.1
-
Ok thanks, I had assumed incorrectly you were referring to the outbound router.0
-
No problem. I may not have been completely clear in my previous post.0
-
Might be a **** question but why cant the packets be made smaller than 1500 so that fragmentation doesn't occur.
Also don't the packets being fragmented cause problems with latency if they take a different route etc.
0 -
I'll answer the last question first. No.
The route the packets take is really insignificant in terms of variable latency. Internet routing (BGPv4) is very efficient and will usually send all packets to their destination using the lowest latency path (assuming that the underlying IGP is a distance-vector routing protocol). The other part of your question really deals with data transfer efficiency, so I'll address that next.
Using smaller packets results in inefficient data transfer due to the additional packet overhead and the additional CPU required to manually segment the data payload, something that the OS kernel does much more efficiently in the TCP/IP stack.0 -
So the inefficiency of making the packet 18 bytes smaller is greater than the overhead of having to fragment and reconstruct the packets all the time when they leave the flex ?
0 -
Try MTU 1492. This is not a random number.0
-
This isn't an MTU issue.1
-
So the inefficiency of making the packet 18 bytes smaller is greater than the overhead of having to fragment and reconstruct the packets all the time when they leave the flex ?
0 -
Yes.0
-
Note that the size of the display packets is directly related to the width of the display. If you're right on the edge of a boundary, you can make the display more narrow to test that boundary.0
-
Thanks Eric I will test that and report back. Any guide as to what width should result in a vita packet size that won't be fragmented ( I assume < 1500)
For my own interest how big can the vita packets be before the necessary fragmentation?0 -
For my own interest how big can the vita packets be before the necessary fragmentation?
When the data payload is > 1500 bytes0 -
I have spectrum internet as far as I can tell they are the cause of no display of waterfall and spectrum display while using remote smartlink. I have kinda of a workaround to at least display the spectrum so it will be usable without using VPN. If you put Smartsdr in a window and shrink the width down (height dosen't seem to matter) and open the radio dock on the right side. The spectrum display will start working.
It even works with all 4 slices open
You can even undock a slice and it will work unless you make it to wide
Hopefully this may help others to work remotely until there is some kinda fix for the fragmentation.1
Leave a Comment
Categories
- All Categories
- 260 Community Topics
- 2.1K New Ideas
- 538 The Flea Market
- 7.6K Software
- 6K SmartSDR for Windows
- 139 SmartSDR for Maestro and M models
- 367 SmartSDR for Mac
- 242 SmartSDR for iOS
- 226 SmartSDR CAT
- 162 DAX
- 345 SmartSDR API
- 8.8K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 43 FLEX-8000 Signature Series
- 803 Maestro
- 43 FlexControl
- 837 FLEX Series (Legacy) Radios
- 748 Genius Products
- 399 Power Genius XL Amplifier
- 262 Tuner Genius XL
- 87 Antenna Genius
- 227 Shack Infrastructure
- 153 Networking
- 377 Remote Operation (SmartLink)
- 130 Contesting
- 593 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 822 Third-Party Software