Ethernet packet count increases on TX and RX even on failure..

Ethernet packet count increases on TX and RX even on failure..

Post by Davi » Sun, 31 Dec 1899 09:00:00



Two linux boxes.. the first can ping the second just fine..
The second pings the first but doesn't receive a response.
The first boxes packet count still goes up for both TX and RX on eth0.

I guess it's a routing issue but.. here's what I have..
-----------------------------
### No interfaces or routes configured yet...

$ route add -host 127.0.0.0 lo

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
localnet        *               255.255.255.255 UH    0      0
0 lo

$ ping -c 4 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes

--- 127.0.0.1 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

$ ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

### The RX and TX are at 4.. but I got 100% packet loss.

$ ifconfig eth0 192.168.1.53 netmask 255.255.255.0 broadcast
192.168.1.255 up
### This automatically put an entry into the routing table for
(192.168.1.0)

$ route add -net 127.0.0.0 netmask 255.0.0.0 lo
### This command fails if I don't put in the netmask 255.0.0.0.. ?!??!
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
DNS             *               255.255.255.255 UH    0      0
0 eth0
192.168.1.0     *               255.255.255.0   U     0      0
0 eth0
localnet        *               255.0.0.0       U     0      0      
0 lo
-----------------------------

 
 
 

1. Meaning of RX/TX packet overruns in SLIP?

I have slip up and running fine in principle. The connection is via two
14400baud modems and 19200baud modem<->computer on both sides. However,
I get only an ftp transfer rate of a little less than 1 KB/sec.
ifconfig states both for RX and TX a overrun rate which is a bit below the
corresponding packet count. No errors or dropped packets. If I ftp a file
on one vt and watch the output of ifconfig permanently on another vt both
counts (packet count and overrun count) increase almost equally.

$mtu set in dip to 1500
slip server reports an mtu of 1500

my computer is a 486/DX50, 16MB, modem at cua1 with 16450.

I took a look at the kernel and the ifconfig sources but got lost in it.

Thanks for any help,
   Andreas

2. Linux vs FreeBSD?

3. Number of tx vs. rx packets for ftp transfer

4. What else must be running for linuxconf to run as http

5. How do I stop ifconfig RX|TX from maxing-out on 2147483647 packets?

6. ISC 4,0 NFS clients & 2.3 server =? troubles ??

7. Determining TX/RX Packets & Errors

8. Adaptec 1505 SCSI card driver?

9. RX/TX packets

10. ifconfig RX, TX packet errors

11. Ethernet: Many RX packet errors with Tyan S2257 Thunder 2400 and Rad Hat 6.2

12. 3c905 100Mbps: RX-ERR RX-DRP RX-OVR?

13. Help TX Underrrun -- Increasing TX threshold