Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2005 19:36:17 +0100
From:      Marco Molteni <molter@tin.it>
To:        freebsd-net@freebsd.org
Subject:   troubles with ng_fec on -current
Message-ID:  <20051102193617.1013be88.molter@tin.it>

next in thread | raw e-mail | index | archive | help
Hi,

I have the following setup:

box1     box2     box3      box4
xl0      xl0      xl0       ste0/ste1/ste2/ste3 -> fec0
1.1.1.1  1.1.1.2  1.1.1.3   1.1.1.4
 |       |        |         | | | |
 |       |        |         | | | |     
======================================== cisco catalyst switch


Hosts box1,2,3,4 are running stock fbsd -current.

box4 has a 4-port ethernet card (forgot brand, think d-link)
recognized by the ste driver, without IP addresses. I then configure
bonding on the ste0..3 interfaces with ng_fec, which gives me a fec0
interface. I then configure fec0 with set_mode_mac and with IP address
1.1.1.4.

The switch is configured to perform etherchannel on the 4 ports
connected to the ste0..4 interfaces. Load "balancing" is done
on a per source MAC address.

Problem is when I ping box4 from the other boxes. I get a reply only
for ping from box1. I then ran tcpdump on the 4 ste interfaces.
Things become to get interesting.

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.

Am I doing something wrong in configuring the fec0 interface or is this
a known problem? I think I don't need to add any IP address on the
ste interfaces themselves.


thanks
marco
-- 
He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine,
receives light without darkening me. -- Thomas Jefferson



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