Ethereal-users: RE: [Ethereal-users] mirrored/monitored/SPAN'd port not working

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Brandon Applegate <brandon@xxxxxxxx>
Date: Fri, 12 Sep 2003 10:06:55 -0400 (EDT)
Hmm, do the interface stats on the switch side for f0/8 reflect f0/3 ?

Also, have you tried tcpdump or any other machines to sniff with ?  I.e. 
it looks like you have everything set up correctly.

And not that I'm saying it should/would cause this, but I see eth0 and 
eth1 are in the same subnet, is this intended ? (is there a reason you 
can't use eth0:0 to run the IP that is on eth1) ?

On Thu, 11 Sep 2003, Mike Kelley wrote:

> This is what I get from "dmesg | grep promisc" & "ifconfig -a"  eth0 is the
> one currently plugged into a hub with the target but it is also the
> interface I have used plugged into the FE 0/8 that is monitoring FE 0/3
> 
> 
> <SNIP>
> !
> interface FastEthernet0/3
>  switchport trunk encapsulation dot1q
>  switchport trunk native vlan 11
>  switchport mode trunk
>  switchport voice vlan 111
> !
> <SNIP>
> !
> interface FastEthernet0/8
>  port monitor FastEthernet0/3
> !
> <SNIP>
> 
> Las_Cruces3524_1#sh port monitor
> Monitor Port           Port Being Monitored
> ---------------------  ---------------------
> FastEthernet0/8        FastEthernet0/3
> 
> <SNIP>
> 
> 
> 
> [spike@localhost spike]$ dmesg | grep promisc
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> eth0: Setting promiscuous mode.
> eth0: Setting promiscuous mode.
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> eth0: Setting promiscuous mode.
> eth0: Setting promiscuous mode.
> eth0: Setting promiscuous mode.
> eth0: Setting promiscuous mode.
> device eth0 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> device eth1 entered promiscuous mode
> device eth1 left promiscuous mode
> eth0: Setting promiscuous mode.
> device eth0 entered promiscuous mode
> device eth0 left promiscuous mode
> [spike@localhost spike]$ /sbin/ifconfig -a
> cipsec0   Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>           BROADCAST MULTICAST  MTU:1400  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>  
> eth0      Link encap:Ethernet  HWaddr 00:08:74:
>           inet addr:192.168.11.73  Bcast:192.168.11.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:576557 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:43357674 (41.3 Mb)  TX bytes:7734 (7.5 Kb)
>           Interrupt:11 Base address:0xec80
>  
> eth1      Link encap:Ethernet  HWaddr 00:40:05:
>           inet addr:192.168.11.81  Bcast:192.168.11.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:333129 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:124925 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:31761378 (30.2 Mb)  TX bytes:12228323 (11.6 Mb)
>           Interrupt:11 Base address:0xb000
>  
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:565755 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:565755 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:38652246 (36.8 Mb)  TX bytes:38652246 (36.8 Mb)
>  
> [spike@localhost spike]$ /sbin/ifconfig eth0 -promisc
> SIOCSIFFLAGS: Permission denied
> [spike@localhost spike]$ su
> Password:
> [root@localhost spike]# /sbin/ifconfig eth0 promisc
> [root@localhost spike]# /sbin/ifconfig eth1 promisc
> [root@localhost spike]# /sbin/ifconfig -a
> cipsec0   Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>           BROADCAST MULTICAST  MTU:1400  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>  
> eth0      Link encap:Ethernet  HWaddr 00:08:74:
>           inet addr:192.168.11.73  Bcast:192.168.11.255 
> Mask:255.255.255.0
>           UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
>           RX packets:577043 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:43394448 (41.3 Mb)  TX bytes:7734 (7.5 Kb)
>           Interrupt:11 Base address:0xec80
> 
> 

-- 
Brandon Applegate - CCIE 10273
PGP Key fingerprint:
7407 DC86 AA7B A57F 62D1 A715 3C63 66A1 181E 6996
"SH1-0151.  This is the serial number, of our orbital gun."