Why do I get errors on the network traffic at my second ethernet card and makes a slow connection

Posted on 2005-04-29
Last Modified: 2013-12-15
I have a T1 line connected to my eth0 port and a local area network connected to a eth1, well I did the eth1 so that I could transfer photos and files faster over my 100mbits network but it's slower than if I go over the internet back to my network to the linux box.
Look :

eth0      Link encap:Ethernet  HWaddr 00:30:6E:1F:11:8A
          inet  Mask:
          RX packets:719 errors:0 dropped:0 overruns:0 frame:0
          TX packets:686 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:69371 (67.7 Kb)  TX bytes:100226 (97.8 Kb)
          Interrupt:20 Base address:0x1c00 Memory:fd020000-fd020038

eth1      Link encap:Ethernet  HWaddr 00:00:E8:78:08:6B
          inet addr:  Bcast:  Mask:
          RX packets:78768 errors:3251 dropped:0 overruns:0 frame:0
          TX packets:58075 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:64169264 (61.1 Mb)  TX bytes:3984144 (3.7 Mb)
          Interrupt:17 Base address:0xa000

How can I make it transfer faster on sftp connection if I'm on the same local area network. It took 3 minutes to transfer a tif image with 3,200 kbytes.

Question by:henry007
    LVL 38

    Expert Comment

    > RX packets:78768 errors:3251 dropped:0 overruns:0 frame:0
    Too many errors on eth1.
    1. Check the ethernet cable.
    2. Force the switch port to 100MB full duplex instead of auto-negotiation.
    3. For RedHat/Fedora, edit your /etc/sysconfig/network-scripts/ifcfg-eth1
    add this line:
    ETHTOOL_OPTS="speed 100 duplex full autoneg off"
    And then reboot.
    LVL 9

    Accepted Solution

    looks like you put the gateway address in for broadcast on eth1

    On eth1, for a network, your broadcast should be, not

    Might want to check your routing table as well, but I would guess it's probably okay and the errors are coming from broadcast packets.

    post back if you need advice on checking/fixing the problem...all you should need to do is correct the broadcast address.

    Author Comment

    I thought that the Broadcast address is the same as Gateway address,  So it's different then right ?
    LVL 9

    Expert Comment

    yes, it's different.  broadcast is a special address that packets sent to will be "broadcast" to every computer on the subnet.  gateway address is typically the router address of the subnet that handles packets destined for anywhere outside of that subnet.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now