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

Re: Fake eth0



On 2/17/06, Nguyen Danh Hieu <ndh 21march gmail com> wrote:
> Hi everybody.
>  Sorry for my poor English but I have a trouble with ethernet interface. I
> have a new LAN-card on  my machine but MAC-addresss of old card is
> registered so I have to fake MAC address of the new to be able to use LAN. I
> do it with command:
>  /sbin/ifconfig eth0 down
>  /sbin/ifconfig eth0 hw ether xxxxxxxxxxxxx
>  /sbin/ifconfig eth0 up
>
>  and MAC is faked, but after that card seem to not work.  no packages are
> send and received.  When I restart computer Lan-card work again but with his
> own MAC so is not registered.
>
>  Please help me out of the  problem.
>  Thank you.
> --
> ===================
> Nguyen Danh Hieu
>
> Physics Faculty
> Moscow State University
> --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list

Hieu,

You need to set the faked MAC address in the network device config. 
For example, add

  MACADDR=00:01:02:03:04:05

To

  /etc/sysconfig/network-scripts/ifcfg-eth0

Don't remove the HWADDR line.  Then do a "service network restart" or reboot.


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