Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 09:33:59 +0900
From:      Yonghyeon PYUN <pyunyh@gmail.com>
To:        Kurt Buff <kurt.buff@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problem with Lenovo SL500
Message-ID:  <20131008003359.GA3162@michelle.cdnetworks.com>
In-Reply-To: <CADy1Ce73mrmTiA6sX34HAsa0ihdOYXAEtsyEYXWYBKfS1D_XpQ@mail.gmail.com>
References:  <CADy1Ce73mrmTiA6sX34HAsa0ihdOYXAEtsyEYXWYBKfS1D_XpQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 07, 2013 at 03:14:58PM -0700, Kurt Buff wrote:
> All,
> 
> This machine has for its wired port a RealTek unit:
> 
> re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port
> 0xe800-0xe8ff mem 0xfcfff000-0xfcffffff,0xfcfe0000-0xfcfeffff irq 19
> at device 0.0 on pci12
> re0: Using 1 MSI-X message
> re0: ASPM disabled
> re0: Chip rev. 0x3c000000
> re0: MAC rev. 0x00400000
> miibus0: <MII bus> on re0
> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
> rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX,
> 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master,
> 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
> 1000baseT-FDX-flow-master, auto, auto-flow
> re0: Ethernet address: 00:26:18:45:77:51
> 
> 
> I've got wireless working for iwn (thanks Adrian!), and I'm trying to
> use the wired NIC (re0) as an unnumbered port to monitor a mirror port
> on an HP switch. However, when I connect it, it shows up as only
> 10mbit, half-duplex on the switch, and it refuses to send packets.
> 
> I've tried 'ifconfig re0 media 1000baseT -mediaopt full-duplex'
> 
> with no particular luck, as it shows the following
> 
> re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
>         ether 00:26:18:45:77:51
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet 1000baseT (10baseT/UTP <half-duplex>)
>         status: active
> 
> I get no output from 'tcpdump -npi re0'. I get link light, and it
> worked great on re0 when I did the install for FreeBSD, but no joy for
> capturing packets from the switch.

It seems you didn't UP the interface. And you may have to put the
interface into promiscuous mode to capture all packets(i.e. remove
-p option).

> 
> Anyone have some thoughts to share on this? Yes, I tried using a new
> cable, too...
> 
> Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131008003359.GA3162>