LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how is see if packets are recieved (https://www.linuxquestions.org/questions/linux-networking-3/how-is-see-if-packets-are-recieved-225168/)

juanb 09-01-2004 04:24 AM

how is see if packets are recieved
 
Hi,

I think that on a nic whick is in promisc mode nothing is going in:

the output of ifconfig is:

eth1 Link encap:Ethernet HWaddr 00:A0:24:F0:1D:5D
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:2 frame:0
TX packets:0 errors:0 dropped:0 overruns:3 carrier:3
collisions:0 txqueuelen:1000
RX bytes:98400 (96.0 Kb) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x10c0

the RX byte is a fixed number.. isnt is soppused to get bigger all the time?

how can I know if traffic is coming in ?

thanks !!

Oliv' 09-01-2004 06:58 AM

Hi,

The problem is that eth1 does not seem to be configured: No IP address.... Maybe your NIC by a point to point connection, so to know if packets are received do ifconfig ppp0 ;)

Oliv'

bruj3w 09-01-2004 06:59 AM

tcpdump -i eth1

:>


All times are GMT -5. The time now is 07:29 AM.