LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   MAC Address spoofing on alias/secondary interface (https://www.linuxquestions.org/questions/linux-networking-3/mac-address-spoofing-on-alias-secondary-interface-358989/)

tara 08-31-2005 08:24 PM

MAC Address spoofing on alias/secondary interface
 
Hi

I'm using Mandrake 10.2 (Mandriva). I have a machine with 2 NICs; the onboard and 2 additional ones. The 2 additional ones (eth1 and eth2) are bonded together as interface bond0. When bonded together the bond0 interface and eth1 and eth2 all have the same MAC address - as bonding is suppose to do (it takes the eth1 address and bond0 and eth 2 uses it too).

My question is: Is it possible for the 2 additional cards to have separate MAC addresses as it is causing problems at the switch as it thinks there is a loop as the MAC addresses are moving between ports. Or would bonding only work if the MAC addresses are the same?

I have read this:
whoozoo.co.uk/mac-spoof-linux.htm
and taken note of the extra bit at the end about not being able to spoof the mac address of a secondary or alias interface.


or does anyone else have any other solution that might solve this problem


thanks
Tara
:Pengy:

Matir 08-31-2005 09:05 PM

Bonding requires that both interfaces share the same mac. Bonding also requires that your switch be capable of handling it. :)

tara 08-31-2005 09:18 PM

thanks Matir. What i thought just needed confirmation.


Tara:)

Matir 08-31-2005 09:22 PM

No problem, glad I could help.

Oh, and welcome to LinuxQuestions. I hope all of your questions will find satisfying answers. :) Feel free to pick my brain anytime.


All times are GMT -5. The time now is 09:25 PM.