We have several FreeBSD 4.7 boxes that put automatically
all their interfaces into promiscuous mode during the
boot process. What should I do to prevent this from
happening ?

Our boxes are connected on a D-Link switch. We have noticed
a very weird behaviour from a few of these machines, I'll
try yo explain it :

Our switch has a standard MAC address aging value of 300 seconds.
When one MAC address expires on the switch, the next packet targeted
to this MAC address is broadcasted on all ports of the switch (because
the switch doesn't remember anymore on what port the target MAC address
is). That at least seems to be normal.

But each time an ethernet packet broadcasted as descrbibed above arrives
on the interfaces of our machines, these machines resend the packet to
the network, decrementing the TTL value bye one. I mean, these machines
are resending packets that are NOT targeted to them - neither the
destination MAC address OR the destination IP address of the packet
match the interface of the machine.

This happends only on machines with interfaces in promiscuous mode
AND with net.inet.ip.forwarding = 1.

As several boxes have this problem, they resend packets to each others
very quickly, generating a flood on the network. This flood only stop
when all TTL of packets reach 0 or when the switch finally re-learn
on what port is located the interface with the target MAC address.

Does anybody have any clue about what this kind of problem may be ?

Thanks for your answers



Yann GROSSEL                      Email: [EMAIL PROTECTED]
HEXANET NOC                       URL: http://www.hexanet.fr/
Tel: +33 (0)3 26 79 30 05         Fax: +33 (0)3 26 79 30 06

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to