RE: Multiple MAC addresses per NIC
Recent threads (by subject) on related topics are, Implementing ioctl to set MAC address -- question. ifconfig: changing mac address Neither discusses supporting multiple MAC addresses, but rather explicitly setting the MAC address in a failover condition. It appears that Bill Paul has written some code ("setmac", referred to in the second thread above) that may provide some pointers. Charles -Original Message- From: Les Biffle [mailto:[EMAIL PROTECTED]] Sent: Monday, July 10, 2000 7:20 AM To: [EMAIL PROTECTED] Subject: Multiple MAC addresses per NIC Hello all, This issue was discussed last year, but I can't find any information on a resolution. We're trying to create a high availability FreeBSD cluster with a standby machine being able to take over for a failed host, and need the standby machine to have its own MAC address, plus the MAC address of the failed host. The NICs we use are RealTek and Intel EtherExpress 100. We find hints in the NIC chip databooks but no information for us mere programmers. So, I have two questions: 1. Does anybody have sample driver code that sets up the multiple hardware address features of these NICs? 2. Does anybody have documentation that could help me create the driver changes? (book, PDF, publication number, anything?) We have tried to get more documentation out of Intel, and the salesmen are willing, but we need a publication number to get anything. They keep giving us the databook, which list pinouts, various electrical specs, and some theory, but it's no programmer reference. Thanks, -Les -- Les BiffleCommunity Service... Just Say NO! (480) 778-0177[EMAIL PROTECTED] http://www.les.safety.net/ Network Safety, 7802 E Gray Rd Ste 500, Scottsdale, AZ 85260 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Multiple MAC addresses per NIC
Hello all, This issue was discussed last year, but I can't find any information on a resolution. We're trying to create a high availability FreeBSD cluster with a standby machine being able to take over for a failed host, and need the standby machine to have its own MAC address, plus the MAC address of the failed host. The NICs we use are RealTek and Intel EtherExpress 100. We find hints in the NIC chip databooks but no information for us mere programmers. So, I have two questions: 1. Does anybody have sample driver code that sets up the multiple hardware address features of these NICs? 2. Does anybody have documentation that could help me create the driver changes? (book, PDF, publication number, anything?) We have tried to get more documentation out of Intel, and the salesmen are willing, but we need a publication number to get anything. They keep giving us the databook, which list pinouts, various electrical specs, and some theory, but it's no programmer reference. This is very hardware dependent. Most cheap ethernet chips offer the following receive filter options: - single perfect filter entry for one MAC address (the station address) - multicast hash table (usually 64 bits, sometimes 128 or 512) - promiscuous mode (receive everything) Other more sophisticated chips may offer additional perfect filter entries. (The ThunderLAN has 4, the Adaptec AIC-6915 "Starfire" has 16. The tulip can be programmed to use additional entries depending on the filter type you select. Not all clones support the same filter options.) The only portable thing to do is put the chip in promiscuous mode and let the software sort everything out, however this will force the OS to do extra work. I wouldn't bother with Intel. They have a bug up their ass about releasing info and you would do better to just tell them "sorry, you're giving us too much shit so we're switching to a different vendor" rather than continue playing footsie with them. Not that RealTek is much better. -Bill To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: Multiple MAC addresses per NIC
We're trying to create a high availability FreeBSD cluster with a standby machine being able to take over for a failed host I'm about to be in a similar situation and was planning a gratuitous ARP. It seems a lot easier than attempting to take over the MAC adddress. Any comments? Dave To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message