Hi,
I would like to use CARP, but noticed that when CARP is configured on an interface, promiscuous mode is enabled. I had to check the source and sure, these lines are included:
I'm not that eager to have promiscuous mode enabled for anything else than debugging purposes.
Why did the developers go through the trouble of making the "carp_join_multicast" function when promiscuous mode is enabled anyway?
I guess it's a simple way of receiving frames with a destination link layer address (00:00:5E:00:01:XX) not corresponding to the cards own mac address. Is there really no way of adding a single mac address to the cards filter rules or is there another reason why promiscuous needs to be enabled?
I would like to use CARP, but noticed that when CARP is configured on an interface, promiscuous mode is enabled. I had to check the source and sure, these lines are included:
Code:
if ((error = ifpromisc(ifp0, 1)))
return (error);
I'm not that eager to have promiscuous mode enabled for anything else than debugging purposes.
Why did the developers go through the trouble of making the "carp_join_multicast" function when promiscuous mode is enabled anyway?
I guess it's a simple way of receiving frames with a destination link layer address (00:00:5E:00:01:XX) not corresponding to the cards own mac address. Is there really no way of adding a single mac address to the cards filter rules or is there another reason why promiscuous needs to be enabled?