LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2005, 08:24 PM   #1
tara
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Centos 7
Posts: 58

Rep: Reputation: 15
Question 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
 
Old 08-31-2005, 09:05 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Bonding requires that both interfaces share the same mac. Bonding also requires that your switch be capable of handling it.
 
Old 08-31-2005, 09:18 PM   #3
tara
Member
 
Registered: Aug 2005
Location: Australia
Distribution: Centos 7
Posts: 58

Original Poster
Rep: Reputation: 15
thanks Matir. What i thought just needed confirmation.


Tara
 
Old 08-31-2005, 09:22 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic IP and MAC spoofing Iptable rules? stjoan1 Linux - Security 3 11-13-2005 05:17 PM
MAC Destination Spoofing outspoken Linux - Networking 4 04-06-2005 10:47 AM
detect mac address spoofing bensky Linux - Security 1 03-13-2005 12:23 AM
Problem spoofing mac address colombo187 Linux - Networking 1 02-05-2005 08:27 PM
Need help spoofing MAC address, ifconfig down seems to remove wireless card sicc Linux - Wireless Networking 0 11-30-2004 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration