Determining TX/RX Packets & Errors

Determining TX/RX Packets & Errors

Post by Rory Sava » Thu, 13 Sep 2001 04:53:07



Linux allows you to see RX/TX packets, and errors by using ifconfig,
what
do you use in FreeBSD?

linux > ifconfig

eth0      Link encap:Ethernet  HWaddr 00:B0:D0:B0:71:E8  
          inet addr:192.168.1.2   Bcast:192.168.1.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:64619071 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61257787 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:16xl0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.1.1.199 netmask 0xffffff00 broadcast 10.1.1.255
        ether 00:c0:4f:76:51:98
        media: Ethernet 10baseT/UTP
        status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

freebsd > ifconfig

 
 
 

Determining TX/RX Packets & Errors

Post by Michael Glau » Thu, 13 Sep 2001 20:19:14



> Linux allows you to see RX/TX packets, and errors by using ifconfig,
> what
> do you use in FreeBSD?

> linux > ifconfig

> eth0      Link encap:Ethernet  HWaddr 00:B0:D0:B0:71:E8
>           inet addr:192.168.1.2   Bcast:192.168.1.255
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:64619071 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:61257787 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:16xl0:
> flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 10.1.1.199 netmask 0xffffff00 broadcast 10.1.1.255
>         ether 00:c0:4f:76:51:98
>         media: Ethernet 10baseT/UTP
>         status: active
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> faith0: flags=8000<MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000

   That would be netstat -i.

 
 
 

Determining TX/RX Packets & Errors

Post by Rory Sava » Sat, 22 Sep 2001 06:07:56


netstat -i -w 1

this will cycle every second.



> > Linux allows you to see RX/TX packets, and errors by using ifconfig,
> > what
> > do you use in FreeBSD?

> > linux > ifconfig

> > eth0      Link encap:Ethernet  HWaddr 00:B0:D0:B0:71:E8
> >           inet addr:192.168.1.2   Bcast:192.168.1.255
> > Mask:255.255.255.0
> >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:64619071 errors:0 dropped:0 overruns:0 frame:0
> >           TX packets:61257787 errors:0 dropped:0 overruns:0 carrier:0
> >           collisions:0 txqueuelen:100
> >           Interrupt:16xl0:
> > flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >         inet 10.1.1.199 netmask 0xffffff00 broadcast 10.1.1.255
> >         ether 00:c0:4f:76:51:98
> >         media: Ethernet 10baseT/UTP
> >         status: active
> > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > faith0: flags=8000<MULTICAST> mtu 1500
> > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> >         inet 127.0.0.1 netmask 0xff000000

>    That would be netstat -i.

 
 
 

1. ifconfig RX, TX packet errors

I'm a newbie in UNIX and Linux land.  I have my box up and on the
net.  It's just that after one day I have .5 Million RX packet errors.

here is the result of an ifconfig.  Any suggestions or queries for
more input?

======================================================================

lo        Link encap Local Loopback  
          inet addr 127.0.0.1  Bcast 127.255.255.255  Mask 255.0.0.0
          UP LOOPBACK RUNNING  MTU 2000  Metric 1
          RX packets 0 errors 0 dropped 0 overrun 0
          TX packets 0 errors 0 dropped 0 overrun 0

eth0      Link encap 10Mbps Ethernet  HWaddr 00:80:C8:2E:1C:3B
          inet addr 141.233.131.81  Bcast 141.233.255.255  Mask
255.255.248.0
          UP BROADCAST RUNNING  MTU 1500  Metric 1
          RX packets 564227 errors 0 dropped 0 overrun 0
          TX packets 923 errors 0 dropped 0 overrun 0

+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| Why, What are we going to do tonight, Brain?                       |
| Same thing we do every night, Pinky.                               |
| Try to take over the world.                                        |
|-They're Dinky they're Pinky and the Brain Brain Brain Brain Brain  |
+--------------------------------------------------------------------+

2. 2.5.59 : sound/pci/es1968.c

3. RX packet errors,overruns & pcmcia anomilies

4. RH6 "Boot failed" from boot disk

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

6. Rage Fury Pro

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

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

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

10. RX/TX packets

11. RX errors with 3Com 3c905b-TX PCI card on RedHat6.0

12. ifconfig RX/TX errors