On Fri, Nov 04, 2005 at 09:05:11PM +0100, Marco Molteni wrote:
> On Thu, 3 Nov 2005 16:51:44 +0200
> Ruslan Ermilov <[EMAIL PROTECTED]> wrote:
> 
> > On Wed, Nov 02, 2005 at 07:36:17PM +0100, Marco Molteni wrote:
> 
> [..]
> 
> > > If tcpdump is ran in non-promiscuos mode (-p option), only ping
> > > (and ARP) from box1 goes thru, as if I wasn't running tcpdump at
> > > all. If on the other hand tcpdump is ran in promiscuos mode, then
> > > all the pings go thru as expected.
> 
> [..]
> 
> > Looks like a bug.  The ng_fec code uses the MAC address of the first
> > real interface as the MAC address for the virtual and all other ports
> > in the bundle, but it lacks a call to ifp->if_init() to actually
> > reprogram the hardware MAC filter.  Please try this patch:
> 
> [..]
> 
> Ruslan,
> 
> thanks for the patch. I applied it but what I get now is the MAC
> address zeroed for all the interfaces:
> 
> ste0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>       options=8<VLAN_MTU>
>       ether 00:00:00:00:00:00
>       media: Ethernet autoselect (100baseTX <full-duplex>)
>       status: active
> ste1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>       options=8<VLAN_MTU>
>       ether 00:00:00:00:00:00
>       media: Ethernet autoselect (100baseTX <full-duplex>)
>       status: active
> ste2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>       options=8<VLAN_MTU>
>       ether 00:00:00:00:00:00
>       media: Ethernet autoselect (100baseTX <full-duplex>)
>       status: active
> ste3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>       options=8<VLAN_MTU>
>       ether 00:00:00:00:00:00
>       media: Ethernet autoselect (100baseTX <full-duplex>)
>       status: active
> [..]
> fec0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>       inet 1.1.1.4 netmask 0xffffff00 broadcast 1.1.1.255
>       inet6 fe80::201:3ff:fe15:a957%fec0 prefixlen 64 scopeid 0x8 
>       ether 00:00:00:00:00:00
>       media: Ethernet none
>       status: active
> 
> 
> Let me know if you need further testing or infos.
> 
I know.  Please try what's in CVS now (I made three revisions
to ng_fec.c).  I wonder, are you assigning an IP address to
fec0 or doing "ifconfig fec0 up" before confuguring the
bundle (adding ports)?


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer

Attachment: pgp4N3gVLupND.pgp
Description: PGP signature

Reply via email to