LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2015, 05:41 AM   #1
awerthmann
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
network problems in local network (wired)


Hello,
I have a network problem in LAN.
IP of the router is 10.0.2.1 (Linux Ubuntu).
(ifconfig:

Code:
eth0      Link encap:Ethernet  HWaddr 90:e2:ba:98:9c:2b  
          inet addr:10.0.2.1  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::92e2:baff:fe98:9c2b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16302086 errors:4 dropped:0 overruns:0 frame:2
          TX packets:17489404 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:13964006780 (13.9 GB)  TX bytes:16493383298 (16.4 GB)
If I ping a wired local machine from the router i get:

Code:
PING 10.0.2.2 (10.0.2.2) 56(84) bytes of data.
64 bytes from 10.0.2.2: icmp_seq=1 ttl=64 time=41.3 ms
64 bytes from 10.0.2.2: icmp_seq=2 ttl=64 time=37.4 ms
64 bytes from 10.0.2.2: icmp_seq=3 ttl=64 time=35.9 ms
64 bytes from 10.0.2.2: icmp_seq=4 ttl=64 time=34.9 ms
64 bytes from 10.0.2.2: icmp_seq=5 ttl=64 time=33.9 ms
64 bytes from 10.0.2.2: icmp_seq=6 ttl=64 time=32.8 ms
64 bytes from 10.0.2.2: icmp_seq=7 ttl=64 time=31.0 ms
64 bytes from 10.0.2.2: icmp_seq=8 ttl=64 time=29.8 ms
64 bytes from 10.0.2.2: icmp_seq=9 ttl=64 time=27.9 ms
64 bytes from 10.0.2.2: icmp_seq=10 ttl=64 time=26.9 ms
64 bytes from 10.0.2.2: icmp_seq=11 ttl=64 time=25.9 ms
64 bytes from 10.0.2.2: icmp_seq=12 ttl=64 time=24.9 ms
64 bytes from 10.0.2.2: icmp_seq=13 ttl=64 time=26.7 ms
64 bytes from 10.0.2.2: icmp_seq=14 ttl=64 time=22.1 ms
64 bytes from 10.0.2.2: icmp_seq=15 ttl=64 time=20.9 ms
64 bytes from 10.0.2.2: icmp_seq=16 ttl=64 time=18.9 ms
64 bytes from 10.0.2.2: icmp_seq=17 ttl=64 time=17.9 ms
64 bytes from 10.0.2.2: icmp_seq=18 ttl=64 time=15.9 ms
64 bytes from 10.0.2.2: icmp_seq=19 ttl=64 time=14.8 ms
64 bytes from 10.0.2.2: icmp_seq=20 ttl=64 time=12.9 ms
64 bytes from 10.0.2.2: icmp_seq=21 ttl=64 time=11.9 ms
64 bytes from 10.0.2.2: icmp_seq=22 ttl=64 time=12.4 ms
64 bytes from 10.0.2.2: icmp_seq=23 ttl=64 time=11.0 ms
64 bytes from 10.0.2.2: icmp_seq=24 ttl=64 time=9.80 ms
64 bytes from 10.0.2.2: icmp_seq=25 ttl=64 time=7.97 ms
64 bytes from 10.0.2.2: icmp_seq=26 ttl=64 time=6.90 ms
64 bytes from 10.0.2.2: icmp_seq=27 ttl=64 time=4.92 ms
64 bytes from 10.0.2.2: icmp_seq=28 ttl=64 time=2.92 ms
64 bytes from 10.0.2.2: icmp_seq=29 ttl=64 time=98.4 ms
64 bytes from 10.0.2.2: icmp_seq=30 ttl=64 time=97.5 ms
64 bytes from 10.0.2.2: icmp_seq=31 ttl=64 time=98.4 ms
64 bytes from 10.0.2.2: icmp_seq=32 ttl=64 time=94.2 ms
64 bytes from 10.0.2.2: icmp_seq=33 ttl=64 time=93.0 ms
64 bytes from 10.0.2.2: icmp_seq=34 ttl=64 time=92.0 ms
64 bytes from 10.0.2.2: icmp_seq=35 ttl=64 time=90.9 ms
64 bytes from 10.0.2.2: icmp_seq=36 ttl=64 time=90.0 ms
64 bytes from 10.0.2.2: icmp_seq=37 ttl=64 time=89.0 ms
64 bytes from 10.0.2.2: icmp_seq=38 ttl=64 time=88.0 ms
64 bytes from 10.0.2.2: icmp_seq=39 ttl=64 time=87.0 ms
64 bytes from 10.0.2.2: icmp_seq=40 ttl=64 time=86.0 ms
64 bytes from 10.0.2.2: icmp_seq=41 ttl=64 time=84.9 ms
64 bytes from 10.0.2.2: icmp_seq=42 ttl=64 time=83.9 ms
64 bytes from 10.0.2.2: icmp_seq=43 ttl=64 time=83.0 ms
64 bytes from 10.0.2.2: icmp_seq=44 ttl=64 time=82.0 ms
64 bytes from 10.0.2.2: icmp_seq=45 ttl=64 time=83.5 ms
64 bytes from 10.0.2.2: icmp_seq=46 ttl=64 time=79.5 ms
64 bytes from 10.0.2.2: icmp_seq=47 ttl=64 time=78.0 ms
64 bytes from 10.0.2.2: icmp_seq=48 ttl=64 time=76.9 ms
64 bytes from 10.0.2.2: icmp_seq=49 ttl=64 time=75.0 ms
64 bytes from 10.0.2.2: icmp_seq=50 ttl=64 time=74.0 ms
64 bytes from 10.0.2.2: icmp_seq=51 ttl=64 time=72.9 ms
64 bytes from 10.0.2.2: icmp_seq=52 ttl=64 time=71.0 ms
64 bytes from 10.0.2.2: icmp_seq=53 ttl=64 time=72.5 ms
64 bytes from 10.0.2.2: icmp_seq=54 ttl=64 time=70.8 ms
64 bytes from 10.0.2.2: icmp_seq=55 ttl=64 time=66.4 ms
64 bytes from 10.0.2.2: icmp_seq=56 ttl=64 time=64.9 ms
64 bytes from 10.0.2.2: icmp_seq=57 ttl=64 time=65.5 ms
64 bytes from 10.0.2.2: icmp_seq=58 ttl=64 time=63.8 ms
64 bytes from 10.0.2.2: icmp_seq=59 ttl=64 time=60.0 ms
64 bytes from 10.0.2.2: icmp_seq=60 ttl=64 time=58.9 ms
64 bytes from 10.0.2.2: icmp_seq=61 ttl=64 time=57.9 ms
64 bytes from 10.0.2.2: icmp_seq=62 ttl=64 time=56.9 ms
64 bytes from 10.0.2.2: icmp_seq=63 ttl=64 time=58.4 ms
64 bytes from 10.0.2.2: icmp_seq=64 ttl=64 time=54.4 ms
64 bytes from 10.0.2.2: icmp_seq=65 ttl=64 time=53.0 ms
64 bytes from 10.0.2.2: icmp_seq=66 ttl=64 time=51.8 ms
64 bytes from 10.0.2.2: icmp_seq=67 ttl=64 time=50.0 ms
64 bytes from 10.0.2.2: icmp_seq=68 ttl=64 time=48.8 ms
64 bytes from 10.0.2.2: icmp_seq=69 ttl=64 time=46.9 ms
64 bytes from 10.0.2.2: icmp_seq=70 ttl=64 time=45.9 ms
64 bytes from 10.0.2.2: icmp_seq=71 ttl=64 time=43.9 ms
64 bytes from 10.0.2.2: icmp_seq=72 ttl=64 time=42.9 ms
64 bytes from 10.0.2.2: icmp_seq=73 ttl=64 time=41.9 ms
64 bytes from 10.0.2.2: icmp_seq=74 ttl=64 time=40.9 ms
64 bytes from 10.0.2.2: icmp_seq=75 ttl=64 time=42.4 ms
64 bytes from 10.0.2.2: icmp_seq=76 ttl=64 time=38.4 ms
64 bytes from 10.0.2.2: icmp_seq=77 ttl=64 time=36.9 ms
64 bytes from 10.0.2.2: icmp_seq=78 ttl=64 time=35.9 ms
64 bytes from 10.0.2.2: icmp_seq=79 ttl=64 time=34.7 ms
64 bytes from 10.0.2.2: icmp_seq=80 ttl=64 time=32.9 ms
64 bytes from 10.0.2.2: icmp_seq=81 ttl=64 time=31.9 ms
64 bytes from 10.0.2.2: icmp_seq=82 ttl=64 time=30.9 ms
64 bytes from 10.0.2.2: icmp_seq=83 ttl=64 time=30.0 ms
64 bytes from 10.0.2.2: icmp_seq=84 ttl=64 time=31.4 ms
64 bytes from 10.0.2.2: icmp_seq=85 ttl=64 time=27.4 ms
64 bytes from 10.0.2.2: icmp_seq=86 ttl=64 time=25.8 ms
64 bytes from 10.0.2.2: icmp_seq=87 ttl=64 time=23.9 ms
64 bytes from 10.0.2.2: icmp_seq=88 ttl=64 time=22.8 ms
64 bytes from 10.0.2.2: icmp_seq=89 ttl=64 time=20.9 ms
64 bytes from 10.0.2.2: icmp_seq=90 ttl=64 time=20.1 ms
64 bytes from 10.0.2.2: icmp_seq=91 ttl=64 time=18.8 ms
64 bytes from 10.0.2.2: icmp_seq=92 ttl=64 time=16.9 ms
64 bytes from 10.0.2.2: icmp_seq=93 ttl=64 time=17.4 ms
64 bytes from 10.0.2.2: icmp_seq=94 ttl=64 time=15.5 ms
64 bytes from 10.0.2.2: icmp_seq=95 ttl=64 time=11.6 ms
64 bytes from 10.0.2.2: icmp_seq=96 ttl=64 time=12.4 ms
64 bytes from 10.0.2.2: icmp_seq=97 ttl=64 time=10.8 ms
64 bytes from 10.0.2.2: icmp_seq=98 ttl=64 time=8.94 ms
As you see there is no packet loss. But the ping latency is way too high (should by < 1ms) and it changes
slowly from 100 ms down to 2 ms and then jumps back to 100 ms .. and it repeats that way.
What can cause this ?

The network switch behind the Router is a new one.
Ping times from a machine to an other machine connected to the switch is alway < 1ms.
Pinging the router gives the high inconistently ping times above.

Please help.
 
Old 10-22-2015, 03:31 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,839

Rep: Reputation: 160Reputation: 160
If local machine ping router, what's ping latency? Not router ping local machine.
 
Old 10-23-2015, 06:48 AM   #3
awerthmann
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
If a local machine pings the router its the same.

I have found out there are irq handling issues. The mainboard has an asmedia pci bridge and there is some bug in it.
Sometimes the irq 18 gets disabled by the kernel, then there are these latency and throughput issues.
(The network card is a PCI card.)

After rebooting the machine the latency is good but only for some minutes / hours (depending on network traffic).

Actually I'm trying the kernel boot option "irqpoll". The latency is now good since twelve hours (fingers crossed).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with both wireless and wired ethernet network access linux002 Linux - Networking 3 09-05-2013 06:03 PM
RHEL 5.1 with problems with both wired and wireless network bunkdeath Linux - Laptop and Netbook 4 03-16-2010 05:33 PM
Wired network routing problems maverick_awp Linux - Networking 15 06-10-2008 08:18 AM
Problems with Wired Network in CentOS dweller-in-peace Linux - Newbie 3 04-14-2008 10:30 AM
wired network modem problems hubiedo Linux - Networking 2 03-19-2008 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration