Forums

Resolved
0 votes
Goodmorning everyone. I configured the ClearOS 6.6 as a gateway . The external network adapter is a static ip with 192.168.1.x and is connected to a router and the internal network card is 192.168.51.2 . Windows clients are in the network 192.168.51.X , they have as the gateway 192.168.51.2 as dns and the 192.168.51.2 . The navigation is clear manages proxy servers and internal e-mail and forwarding to external SMTP .
Tthe system just turned on well but after a while the internal network card responds to the ping times of 2000 ms . In these conditions it is impossible navigation but the processor is used only to 20% . If I try to disconnect the connection to the router to ping back to 1ms .
Do you have any suggestion?
Thursday, November 12 2015, 08:05 AM
Share this post:
Responses (7)
  • Accepted Answer

    Thursday, November 12 2015, 10:29 AM - #Permalink
    Resolved
    0 votes
    What is the output of:
    lspci -k | grep Eth -A 3
    uname -r
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 12 2015, 12:20 PM - #Permalink
    Resolved
    0 votes
    [root@comune ~]# lspci -k | grep Eth -A 3
    04:01.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
    Subsystem: D-Link System Inc DFE-538TX 10/100 Ethernet Adapter
    Kernel driver in use: 8139too
    Kernel modules: 8139too
    04:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
    Kernel driver in use: 8139too
    Kernel modules: 8139too, 8139cp
    04:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
    Subsystem: Biostar Microtech Int'l Corp Device 2304
    Kernel driver in use: r8169
    Kernel modules: r8169
    04:05.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
    Subsystem: D-Link System Inc DFE-538TX 10/100 Ethernet Adapter
    Kernel driver in use: 8139too
    Kernel modules: 8139too


    [root@comune ~]# uname -r
    2.6.32-504.23.4.v6.x86_64
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 12 2015, 12:54 PM - #Permalink
    Resolved
    0 votes
    You did not say you had 4 NICs! How are they configured:
    ifconfig | grep eth -A 1
    cat /etc/clearos/network.conf
    The NIC drivers are OK.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 12 2015, 02:12 PM - #Permalink
    Resolved
    0 votes
    [root@comune ~]# ifconfig | grep eth -A 1
    eth1 Link encap:Ethernet HWaddr 00:11:95:65:19:27
    inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
    --
    eth2 Link encap:Ethernet HWaddr 00:E0:4D:51:E8:FF
    inet addr:192.168.50.2 Bcast:192.168.50.255 Mask:255.255.255.0


    [root@comune ~]# cat /etc/clearos/network.conf
    # Network mode
    MODE="gateway"

    # Network interface roles
    EXTIF="eth1"
    LANIF="eth2"
    DMZIF=""
    HOTIF=""

    # Domain and Internet Hostname
    DEFAULT_DOMAIN="pinco.pallino.to.it"
    INTERNET_HOSTNAME="proxy.pinco.pallino.to.it"

    # Extra LANS
    EXTRALANS=""
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 12 2015, 02:46 PM - #Permalink
    Resolved
    0 votes
    I had expected a NIC driver but there is not one so I am not sure where to go now and I don't think I can do much more. The proxy should not touch pings but can be the cause of browsing slowdowns. What is the system load when the internet slows? Look at the command "top". Is there anything with a particularly high load? Does clearing the proxy cache help?

    I would also try configuring the other two NIC's as LAN NIC's on other LAN subnets just to rule that out.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 12 2015, 04:22 PM - #Permalink
    Resolved
    0 votes
    I tried to stop squid and table on the internal network card becomes normal (1ms). I think it's squid that slows down: the processor is in fact under 6% load.


    I tried to put the two network adapters with LAN profile (always in gateway mode) and it works the same whether navigation mail but you can not go out with rdp connections on the Internet. How is it possible?

    [root@comune postfix]# ifconfig | grep eth -A 1
    eth1 Link encap:Ethernet HWaddr 00:11:95:65:19:27
    inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
    --
    eth2 Link encap:Ethernet HWaddr 00:E0:4D:51:E8:FF
    inet addr:192.168.50.2 Bcast:192.168.50.255 Mask:255.255.255.0
    [root@comune postfix]# cat /etc/clearos/network.conf
    # Network mode
    MODE="gateway"

    # Network interface roles
    EXTIF=""
    LANIF="eth1 eth2"
    DMZIF=""
    HOTIF=""

    # Domain and Internet Hostname
    DEFAULT_DOMAIN="pinco.pallino.to.it"
    INTERNET_HOSTNAME="proxy.pinco.pallino.to.it"

    # Extra LANS
    EXTRALANS=""
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 12 2015, 05:41 PM - #Permalink
    Resolved
    0 votes
    I don't understand why rdp won't work with 2 NIC's. It is not logical.

    With the proxy, I can't help you as I don't know it. There are quite a few threads on the forum, if you search.
    The reply is currently minimized Show
Your Reply