Re: Query regarding changing (spoofing) MAC address in RHEL 6



Hi all.

We were able to achieve the objective, using a Virtual Interface, with the required MAC address, as per http://www.pocketnix.org/posts/Linux%20Networking:%20MAC%20VLANs%20and%20Virtual%20Ethernets

Thanks everyone for the help !!!


On Tue, Oct 8, 2013 at 2:43 PM, Ajay Garg <ajaygargnsit gmail com> wrote:
Thanks Bjorn for the reply.


On Tue, Oct 8, 2013 at 1:43 PM, Bjørn Mork <bjorn mork no> wrote:
Ajay Garg <ajaygargnsit gmail com> writes:

> We are trying to change the MAC-address on a RHEL6 machine, and have tried
> the various RHEL6-specific steps (available on the internet) to do the same.
> The end result is that we are able to change the MAC address, but
> thereafter, all incoming and outgoing network packets are dropped.
>
> If we revert the MAC address to the "original" one, all incoming/outcoming
> packets navigate fine.

This sounds like it could be a driver bug.  Which driver?

Doing a grep in dmesg, shows as ::

[ajay localhost]$  dmesg | grep 'Ethernet driver'
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded


Also, I assume you meant that the packets being dropped is the bug, and not the "packets being allowed fine after reverting MAC address" :-P



 

> Keeping aside any moral constraints :P, is it possible at all to "spoof" a
> MAC address on RHEL6?

Changing the MAC address should be possible on Ethernet.  Or you can't
run DECnet ;-)

But you didn't even tell us if this was an ethernet interface....

Ahh, sorry for being unclear before --- it is a vanilla ethernet "eth0" interface.


 


Bjørn



Thanks again for the reply; I hope the information provided helps in solving the issue :)


--
Regards,
Ajay



--
Regards,
Ajay


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]