Announcement

Collapse
No announcement yet.

Packet loss on LAN...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Packet loss on LAN...

    Yeah network looks sick...

    1065 packets transmitted, 975 received, 8.4507% packet loss, time 1070433ms
    rtt min/avg/max/mdev = 0.704/0.839/1.838/0.088 ms

    Swapped out the network switch... happy again

    179 packets transmitted, 179 received, 0% packet loss, time 179176ms
    rtt min/avg/max/mdev = 0.714/0.832/0.980/0.085 ms

    Now whether to just pitch this 8-port 10/100 switch or figure out why it's losing packets... Using the 24-port in its place is kind of overkill but it's also only 10/100...

    #2
    Re: Packet loss on LAN...

    probably bad caps in it.

    Comment


      #3
      Re: Packet loss on LAN...

      Is the device running real warm because if it is it been my experience with them it time for a new one because the newer ones really do not have many or none electric type of capacitors anymore and found a micro controller running very very warm to almost hot

      It is not worth my time fool with them
      9 PC LCD Monitor
      6 LCD Flat Screen TV
      30 Desk Top Switching Power Supply
      10 Battery Charger Switching Power Supply for Power Tool
      6 18v Lithium Battery Power Boards for Tool Battery Packs
      1 XBox 360 Switching Power Supply and M Board
      25 Servo Drives 220/460 3 Phase
      6 De-soldering Station Switching Power Supply 1 Power Supply
      1 Dell Mother Board
      15 Computer Power Supply
      1 HP Printer Supply & Control Board * lighting finished it *


      These two repairs where found with a ESR meter...> Temp at 50*F then at 90*F the ESR reading more than 10%

      1 Over Head Crane Current Sensing Board ( VFD Failure Five Years Later )
      2 Hem Saw Computer Stack Board

      All of these had CAPs POOF
      All of the mosfet that are taken out by bad caps

      Comment


        #4
        Re: Packet loss on LAN...

        Most likely the IC on the switch is overheating and about to fail.
        Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me.
        1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams

        Comment


          #5
          Re: Packet loss on LAN...

          Well this isn't exactly a new network switch behavior when they fail, seems to be a fairly common way to die. Quick cap check looks good.

          Oh well, nothing lost, just time gained (was a trash pick and got a few years of service from it, at least!). I should replace with a Gbit switch but this segment of my network I quarantined all the 10/100 machines and printers and a slow 10/100 was a perfect fit!

          10Mbit should not have been as slow as it was, I wonder how many people would have just dismissed the packet loss as typical behavior of 10Mbit when they're used to Gbit or 10Gbit Ethernet!

          Comment


            #6
            Re: Packet loss on LAN...

            I think that it is needless to say that you can buy 1Gbps 8 port switch for 20$ or less.
            And 100mbps are even cheaper. As cheap as 7$
            Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me.
            1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams

            Comment


              #7
              Re: Packet loss on LAN...

              Or I can keep using the 24 port 10/100 I had as a spare, no additional cost!

              Comment


                #8
                Re: Packet loss on LAN...

                Originally posted by eccerr0r View Post
                Now whether to just pitch this 8-port 10/100 switch or figure out why it's losing packets..
                It's possible that a power outage, change in the end devices (reboot, software upgrade), etc changed something so that duplex negotiation is not working properly. This was a common problem early on with poor drivers, reboots, etc, etc.

                One side thinks it is 10/half and other thinks 10/full. Same for 100.
                --- begin sig file ---

                If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

                We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

                Please do not post inline and offsite as they slow down the loading of pages.

                --- end sig file ---

                Comment


                  #9
                  Re: Packet loss on LAN...

                  I think I tried power cycling the switch and it still behaved improperly, but just swapping in that 24-port switch made the lost packets go away. I guess I should try sticking it in cold to see how that afflicted switch behaves.

                  I think I'm only using like 5 ports on this 8 port switch, using that 24-port is way overkill, at least it's not also a Gbit switch...

                  ---

                  Plugged in switch cold after it being out of service for 20 hours or so...
                  448 packets transmitted, 448 received, 0% packet loss, time 89799ms
                  rtt min/avg/max/mdev = 2.376/2.619/3.316/0.125 ms

                  Well, not exactly the same target or same rate, but looks OK. This is to my printer instead of the K6-233, but I had been having poor performance to the printer as well.
                  This switch has a K6-233 (10M), a printer (10M), a DECstation (10M), a test station (100M), and uplink connected(100M).

                  Hmm...will run this a few days to see if it degrades again, if it degrades again I'll have to figure out how to shoehorn a 24-port switch where an 8-port switch fit... else I'll need to find a smaller switch...
                  Last edited by eccerr0r; 02-12-2021, 10:45 PM.

                  Comment


                    #10
                    Re: Packet loss on LAN...

                    Originally posted by eccerr0r View Post
                    10Mbit should not have been as slow as it was, I wonder how many people would have just dismissed the packet loss as typical behavior of 10Mbit when they're used to Gbit or 10Gbit Ethernet!
                    10Mbps is 1.25MB/sec. It's not fast at all, but I would not dismiss any network problems. Losses in any network are because of some problem, not the nature of the network, unless they are accounted for and the network is meant to function using lossy medium, like WLAN, where losses are imminent and can't be avoided, because of interference.
                    Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me.
                    1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams

                    Comment


                      #11
                      Re: Packet loss on LAN...

                      Originally posted by eccerr0r View Post
                      I think I'm only using like 5 ports on this 8 port switch, using that 24-port is way overkill, at least it's not also a Gbit switch...
                      If you only need 4 ethernet/fast ethernet ports, old wifi routers are usually given away for free. Just turn off the wifi and use the 4 port ethernet switch built in. Lot's of old 802.11b only Linksys/Cisco routers available.
                      --- begin sig file ---

                      If you are new to this forum, we can help a lot more if you please post clear focused pictures (max resolution 2000x2000 and 2MB) of your boards using the manage attachments button so they are hosted here. Information and picture clarity compositions should look like this post.

                      We respectfully ask that you make some time and effort to read some of the guides available for basic troubleshooting. After you have read through them, then ask clarification questions or report your findings.

                      Please do not post inline and offsite as they slow down the loading of pages.

                      --- end sig file ---

                      Comment


                        #12
                        Re: Packet loss on LAN...

                        I've had either the 12V wall-wart caps or the switch's internal electrolytic caps go bad. I'd take a look at them.
                        A new one is cheap but these things run hot they don't last more than a couple years.

                        Comment


                          #13
                          Re: Packet loss on LAN...

                          Still seems to be working... strange.
                          Another weirdness is that the 9v wall wart won't power a 12v 1a lamp... completely dark, yet it still powers the switch just fine. Hmm.

                          Found another 10/100 ... hub? switch? Says switching hub, whatever that means. It has a 7.5V wall wart to test...except it's a linear. Would just use it, except it has a ... fan

                          Comment


                            #14
                            Re: Packet loss on LAN...

                            Hmm Flood Ping testing... From: Gbit Ethernet machine To: 10Mbit Ethernet machine:

                            25265 packets transmitted, 25060 received, 0.811399% packet loss, time 18423ms
                            rtt min/avg/max/mdev = 0.545/0.575/0.997/0.022 ms, ipg/ewma 0.729/0.586 ms

                            I suspect the faster machine could generate another ping faster than the 10Mbit machine to generate a response and the two packets collide causing a lost packet... 1% isn't too bad I guess, better than that 8% earlier.

                            That 10Mbit machine flood pinging my 10Mbit printer however... 0 packet loss.

                            So now it seems to be working once more, maybe it did somehow switch into the wrong mode somehow. Still unsure how, power has been fairly stable...

                            Comment


                              #15
                              Re: Packet loss on LAN...

                              Originally posted by eccerr0r View Post
                              I suspect the faster machine could generate another ping faster than the 10Mbit machine to generate a response and the two packets collide causing a lost packet... 1% isn't too bad I guess, better than that 8% earlier.
                              A standard ICMP packet is 74 bytes or 592 bits. If you send 1 packet per second, this is 592 bits/sec.
                              How many pings simultaneously do you think you need to bottleneck even a 10Mbps network connection with a speed about 10*485*760bits/sec? I will answer you. You need to send about 17*712,43 pings per second. Ping is not a measure of network losses. And having losses when you send only 592bits/sec means that you have a problem.
                              Last edited by televizora; 02-15-2021, 12:13 PM.
                              Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me.
                              1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams

                              Comment


                                #16
                                Re: Packet loss on LAN...

                                Yes, you can set the size with the -l parameter in Windows, like so:
                                ping -l 60000
                                Should be around a megabit or so.
                                There are better ways, like copying a file over the network of course
                                But when a switch is really bad I find that this test works quite well...
                                "The one who says it cannot be done should never interrupt the one who is doing it."

                                Comment


                                  #17
                                  Re: Packet loss on LAN...

                                  Originally posted by Per Hansson View Post
                                  There are better ways, like copying a file over the network of course
                                  Better copying a file over the network, while simultaneously pinging the other computer. Losses in a bad network tend to appear, when the consumed bandwidth increases. It is not very sophisticated test, although...
                                  Originally posted by Per Hansson View Post
                                  Yes, you can set the size with the -l parameter in Windows, like so:ping -l 60000
                                  This is not very reliable. Considering that MTU of Ethernet is 1500, this means that it will be fragmented. If fragmentation is not allowed or the device handles it poorly, this can lead to timeouts, even if there isn't any actual problem with the network.
                                  Last edited by televizora; 02-15-2021, 04:01 PM.
                                  Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me.
                                  1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams

                                  Comment


                                    #18
                                    Re: Packet loss on LAN...

                                    Originally posted by televizora View Post
                                    A standard ICMP packet is 74 bytes or 592 bits. If you send 1 packet per second, this is 592 bits/sec.
                                    does that figure include start-bit, stop-bit, parity etc.??

                                    Comment


                                      #19
                                      Re: Packet loss on LAN...

                                      Yeah, seems like that poster ignored a lot of stuff when assuming that windows ping is the only ping in town, and would be mindblown with the mere options Un*x ping offers... and even more so with a version that does away with the limits even it offers to prevent people from taking down networks, DoS-like...

                                      Comment


                                        #20
                                        Re: Packet loss on LAN...

                                        Originally posted by eccerr0r View Post
                                        Yeah, seems like that poster ignored a lot of stuff when assuming that windows ping is the only ping in town, and would be mindblown with the mere options Un*x ping offers... and even more so with a version that does away with the limits even it offers to prevent people from taking down networks, DoS-like...
                                        I ignored nothing.
                                        1. Ping DDOS works by sending ICMP packets using to the broadcast address of a network, using spoofed IP - the IP of the attacked host.
                                        This is amplification attack.
                                        2. Far more useful is TCP SYN DDOS.
                                        Sending SYN, never returning ACK, keeping the server waiting, clogging up all the ports.
                                        3. SYN ACK reflection. Spoofed IP, sending SYN to hosts in the network, pretending to be other host. The hosts send ACK. If the attacked host does not confirm, they continue sending ACK and attempting to establish a 3 way handshake. Because if SYN is received, but SYN-ACK is never received, the nature of the TCP makes the host assume that the the packet is lost, thus retransmits it. This is again amplification attack.
                                        Unless you intentionally target and attack a host, ping consumes insignificant bandwidth and a single computer sending pings will have a hard time clogging up a network.
                                        Unless you:
                                        1. Have a network with low RTT
                                        2. Use ping with -A parameter, so frequency of requests is matched to RTT.
                                        3. You use a packet size way higher than the MTU, which is 1500 bytes for Ethernet.
                                        4. If you do this and receive losses, the network might not be the problem. But fragmentation and poor handling of packets with size higher than Ethernet frame size/1500/
                                        If we suppose that we have a perfect network with low RTT(1ms) and we use the maximum size of IP packet(64K) and use ping with -A parameter, then
                                        (64k x 1000ms(1sec)/1024)x8=~62MB/sec or 500Mbps. RTT even for a local network is rarely 1ms. Only this way you can clog up a network.
                                        Last edited by televizora; 02-16-2021, 12:26 PM.
                                        Useful conversions. I don't "speak" imperial. Please use metric, if you want to address me.
                                        1km=1000m=100000cm, 1inch=2.54cm, 1mile=1609.344meters, 1ft=30.48cm 1gal(US)=3.785liters, 1lb=453grams, 1oz=28.34grams

                                        Comment

                                        Working...
                                        X