[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diff with netstat -ni and netstat -p ip ...



Hello,

I use Openbsd 2.8 and have :

#netstat -ni
Name    Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs
Colls
lo0     32972 <DEFANGED_Link>                            1064     0     1064     0
0
lo0     32972 127/8       127.0.0.1             1064     0     1064     0
0
fxp0*   1500  <DEFANGED_Link>      00:03:47:94:dd:00        0     0        0     0
0
fxp1    1500  <DEFANGED_Link>      00:02:b3:32:a1:39 3428821201     8 2383662174
0     0
fxp1    1500  195.46.195/ 195.46.195.245    3428821201     8 2383662174
0     0
fxp2    1500  <DEFANGED_Link>      00:02:b3:32:ae:d9 2456330749     0 3427818532
0     0
fxp2    1500  195.46.212. 195.46.212.193    2456330749     0 3427818532
0     0
fxp3    1500  <DEFANGED_Link>      00:02:b3:32:b4:ff 89315928     0 99019078     0
0
fxp3    1500  172.17.0/24 172.17.0.252      89315928     0 99019078     0
0

Total of >6 milliards packets ...

#netstat -p ip
ip:
        1634648315 total packets received
        0 bad header checksums
        0 with size smaller than minimum
        0 with data size < data length
        0 with header length < data size
        0 with data length < header length
        0 with bad options
        0 with incorrect version number
        0 fragments received
        0 fragments dropped (dup or out of space)
        0 malformed fragments dropped
        0 fragments dropped after timeout
        0 packets reassembled ok
        12001555 packets for this host
        496 packets for unknown/unsupported protocol
        1588205349 packets forwarded
        1180367 packets not forwardable
        0 redirects sent
        27901608 packets sent from this host
        0 packets sent with fabricated ip header
        0 output packets dropped due to no bufs, etc.
        0 output packets discarded due to no route
        0 output datagrams fragmented
        0 fragments created
        0 datagrams that can't be fragmented
        0 fragment floods
        0 packets with ip length > max ip packet size
        0 tunneling packets that can't find gif
        0 datagrams with bad address in header

Total of >1 milliards packets ...

Why this difference ?

Best Regards.