troubles with ng_fec on -current
Marco Molteni
molter at tin.it
Fri Nov 4 13:05:07 PST 2005
On Thu, 3 Nov 2005 16:51:44 +0200
Ruslan Ermilov <ru at freebsd.org> 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.
marco
More information about the freebsd-net
mailing list