LinuxQuestions.org
Review your favorite Linux distribution.
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 10-18-2005, 06:35 AM   #1
mfran2002
Member
 
Registered: Nov 2004
Posts: 32

Rep: Reputation: 15
modify nic mac-address


hi
i'd need to modify "on-line" the mac-address of my network card
i have redhat 7.2 and redhat 9

do you know some useful software?

thanks a lot!!!
 
Old 10-18-2005, 07:41 AM   #2
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 433

Rep: Reputation: 117Reputation: 117
Re: modify nic mac-address

Quote:
Originally posted by mfran2002
hi
i'd need to modify "on-line" the mac-address of my network card
i have redhat 7.2 and redhat 9

do you know some useful software?

thanks a lot!!!
have you tried "ifconfig eth0 usual_options hw ether XX:YY:ZZ:AA:BB:CC" ?
 
Old 10-18-2005, 08:03 AM   #3
mfran2002
Member
 
Registered: Nov 2004
Posts: 32

Original Poster
Rep: Reputation: 15
yes
first of all i have stopped the networks then "ifconfig eth0 hw ether MACADDRESS" and then restart

but my macadress is the same....

do you know why?
 
Old 10-18-2005, 03:35 PM   #4
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 433

Rep: Reputation: 117Reputation: 117
Quote:
Originally posted by mfran2002
yes
first of all i have stopped the networks then "ifconfig eth0 hw ether MACADDRESS" and then restart

but my macadress is the same....

do you know why?
When you say you "stopped" and "restarted" the network you mean you ran the system's initscript ?
If yes, then it ran ifconfig without the "hw blah blah"

run "ifconfig eth0 down"
"ifconfig eth0 hw ether MAC"
"ifconfig eth0 up"

and it should work.

Btw, why do you want to change it ? I don't think of any *legal* reason for changing the MAC
 
Old 10-19-2005, 01:52 AM   #5
mfran2002
Member
 
Registered: Nov 2004
Posts: 32

Original Poster
Rep: Reputation: 15
Wink

i tried with your suggestions...
thanks a lot!
it runs!


your questions:

quiet, quiet, it's "legal"
my internet router (i cannot manage it) "see" the actual mac address of my firewall (arp cache)
i have a spare firewall with another mac address
in case of crash of my firewall it's only to avoid lost of precious time to modify (on request) arp cache....

quiet...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MAC address change of WD8013 NIC turnovg Linux - Networking 3 10-30-2009 10:27 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
changing nic mac address bishal Linux - Hardware 4 07-16-2004 04:44 PM
NIC gets different MAC address after each reboot?? BrianG Linux - Networking 1 04-09-2001 11:10 AM

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

All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration