Link to home
Start Free TrialLog in
Avatar of henry007
henry007

asked on

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

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 addr:12.9.xxx.66  Bcast:12.9.xxx.79  Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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:192.168.2.88  Bcast:192.168.2.1  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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.

Thanks
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

> 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.
ASKER CERTIFIED SOLUTION
Avatar of fixnix
fixnix

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of henry007
henry007

ASKER

I thought that the Broadcast address is the same as Gateway address,  So it's different then right ?
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.