Forums

Nathan
Nathan
Offline
Resolved
0 votes
I recently upgraded my main machine at home. That means my old system got relegated to server status. It is a 4770k with an ASUS board with dual NICs.

I set up the home distribution as I want to incorporate plex into the build. The issue that I'm having is that I keep getting lag spikes on the network when going through the gateway. It happens on wifi and on wired LAN. The wifi is through two Unifi APs that I have setup.

The lag spikes seem random. When watching Amazon Prime or youtube it is annoying, but while gaming it is VERY frustrating. When I say lag spikes I mean no connection for 15-20 seconds. Some games just drop me, other just lag and then come back. The streaming video is the same. Sometimes I even have to close down roku/youtube in order to get the connection back.

I have 250 megabits down and 10 megabits up from my ISP. I've tried with my cable modem with bridge mode both on and off.

Both of my nics on my motherboard are gigabit. One is an Intel and the other is a realtek I think.

This is definitely a game breaker if I can't get this to work properly.
Sunday, March 08 2020, 10:16 PM
Share this post:
Responses (11)
  • Accepted Answer

    Tuesday, March 10 2020, 08:22 AM - #Permalink
    Resolved
    0 votes
    That all looks good. I don't know why Windows reports your router as being on a LAN, unless it is because it has an IP in the private address space.
    The reply is currently minimized Show
  • Accepted Answer

    Nathan
    Nathan
    Offline
    Tuesday, March 10 2020, 12:52 AM - #Permalink
    Resolved
    0 votes
    So I'm not sure, but I think that was two commands...anyways, here are the outputs from them.




    # ifconfig |grep '^\S' -A 1
    eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 10.0.0.141 netmask 255.255.255.0 broadcast 10.0.0.255
    --
    enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 10.10.10.1 netmask 255.255.255.0 broadcast 10.10.10.255
    --
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0




    # cat /etc/clearos/network.conf
    # Network mode
    MODE="gateway"

    # Network interface roles
    EXTIF="eno1"
    LANIF="enp8s0"
    DMZIF=""
    HOTIF=""

    # Domain and Internet Hostname
    DEFAULT_DOMAIN="neezergaming.com"
    INTERNET_HOSTNAME="neezergaming.com"

    # Extra LANS
    EXTRALANS=""

    # ISP Maximum Speeds
    ENO1_MAX_DOWNSTREAM=0
    ENO1_MAX_UPSTREAM=0
    ENP8S0_MAX_DOWNSTREAM=0
    ENP8S0_MAX_UPSTREAM=0
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 09 2020, 09:28 PM - #Permalink
    Resolved
    0 votes
    I'm not sure how the PC detects it as on your LAN. What do you get from:
    ifconfig | grep '^\S' -A 1
    cat /etc/clearos/network.conf
    The reply is currently minimized Show
  • Accepted Answer

    Nathan
    Nathan
    Offline
    Monday, March 09 2020, 09:16 PM - #Permalink
    Resolved
    0 votes
    I think this is solved but I'll report back in a few days. BIOS was up to date. I swapped the connections so my WAN connection is on the INTEL NIC and my LAN is on the other.

    I am seeing some other strange behavior I think.

    From my computer on the LAN I can ping and log into my cable modem just by typing in its IP address even though my computer is showing it to be on the LAN subnet and not the cable modem subnet.

    I do not have my cable modem in bridge mode.



    my computer is 10.10.10.x

    clear gateway
    LAN: 10.10.10.1
    WAN: 10.0.0.x

    cable modem is 10.0.0.1

    if I type 10.0.0.1 in my address bar it goes to the cable modem config. I can also ping that IP address with windows command line.

    Not sure exactly what is happening here, but it seems fishy.
    The reply is currently minimized Show
  • Accepted Answer

    Nathan
    Nathan
    Offline
    Monday, March 09 2020, 07:38 PM - #Permalink
    Resolved
    0 votes
    I was thinking about swapping them. My Intel is LAN. and Realtek is WAN. I'll try swapping them and report back. I recently did a BIOS update when it was my windows system, but I'll check to see if there is an update.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 09 2020, 07:23 PM - #Permalink
    Resolved
    0 votes
    You are now using the better r8168 driver.

    Now it will be trying to track down the issue. Have a look at your logs and the output of "dmesg". Try a BIOS update. Check any errors reported in "ifconfig". Do you know whaich is your LAN NIC and which is WAN? Can you try swapping them round?
    The reply is currently minimized Show
  • Accepted Answer

    Nathan
    Nathan
    Offline
    Monday, March 09 2020, 07:20 PM - #Permalink
    Resolved
    0 votes
    Just another quick update.

    That definitely didn't fix it. Still having disconnect issues on Roku and my phone. Roku is wired to the switch and my phone is on wifi.
    The reply is currently minimized Show
  • Accepted Answer

    Nathan
    Nathan
    Offline
    Monday, March 09 2020, 07:10 PM - #Permalink
    Resolved
    0 votes
    I installed the new driver and did a reboot. not 100% sure but I think I'm still having the disconnect issues. Here is the output from the lspci command. The r8169 has been rolled back according to this.

    lspci -k | grep Eth -A 3
    00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 0 4)
    Subsystem: ASUSTeK Computer Inc. Device 859f
    Kernel driver in use: e1000e
    Kernel modules: e1000e
    --
    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 P CI Express Gigabit Ethernet Controller (rev 11)
    Subsystem: ASUSTeK Computer Inc. Device 859e
    Kernel driver in use: r8168
    Kernel modules: r8168

    Going to check a few more things, but I did just get disconnected from a game. It could have been a random DC because they do happen, but I haven't had one here in a long time and I'm on wired LAN, not WiFi
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 09 2020, 05:03 PM - #Permalink
    Resolved
    0 votes
    The RTL8111/8168/8411 does not work particularly well with the r8169 driver. Better is the r8168. Please do a:
    yum install kmod-r816*
    This should install two packages. Then reboot to bring the driver into use.
    The reply is currently minimized Show
  • Accepted Answer

    Nathan
    Nathan
    Offline
    Monday, March 09 2020, 03:03 PM - #Permalink
    Resolved
    0 votes
    # lspci -k | grep Eth -A 3
    00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 04)
    Subsystem: ASUSTeK Computer Inc. Device 859f
    Kernel driver in use: e1000e
    Kernel modules: e1000e
    --
    08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
    Subsystem: ASUSTeK Computer Inc. Device 859e
    Kernel driver in use: r8169
    Kernel modules: r8169


    Here is the output.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 09 2020, 02:38 PM - #Permalink
    Resolved
    0 votes
    What is the result of:
    lspci -k | grep Eth -A 3
    The reply is currently minimized Show
Your Reply