Rich Wales wrote: > > I know about the "hw ether" option to the "ifconfig" command, and I tried > assigning a separate MAC address to an alias interface via a command like > "ifconfig eth0:0 hw ether 01:23:45:67:89:ab" -- but doing this changed the > MAC address for *everything* going through the network card (the primary > interface plus all alias interfaces), not just for one alias interface.
Please see http://www.shorewall.net/Shorewall_and_Aliased_Interfaces.html It is indeed unfortunate that additional addresses on an interface were ever made to look like additional interfaces -- there is no end to the confusion that has caused over the years. With static IP addresses, I suspect that you can do what you want fairly easily with arptables. But I also suspect that the one-IP/one-MAC restriction that you are mentioning would only apply to dynamic addresses, in which case I think that trying to use arptables to accomplish your goal would be tricky to say the least. But again, this is quite off-topic for this list... -Tom -- Tom Eastep \ The ultimate result of shielding men from the Shoreline, \ effects of folly is to fill the world with fools. Washington, USA \ -Herbert Spencer http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users