Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-26-2006, 03:21 PM   #1
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
Smile What file to modify to change a mac address or to save eth0 configuration

I have a complex problem, we are running SuSe 9.x server under vmware workstation. We are unable to get the eth0 to either save a static ip address or to change it to another mac address.
Does anyone have any suggetion as to what file we need to modify?
I know that VM work well witrh SuSe for I have other machines made up in it- it is just this particular server version seems to have a locked down file in it to prevent us from seeing our network.

Old 04-26-2006, 04:49 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you use a static address, the network card configuration dialog is a gui front end to edit the /etc/sysconfig/network/ifcfg-eth0 configuration file, and this is what file is sourced when the network comes up.

I don't have vmware, so I don't know whether changing the value in a virtual machine would have any effect in the hardware.
Old 04-26-2006, 05:52 PM   #3
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30
FOund out that you have to "copy" the original file to /etc/sysconfig/network/ifcfg-eth0.
Chances are that the directory will not be there so be sure and create if needed.
After that you run "rcnetwork" and it works like a charm.

I would imagine this would only apply towards VMWARE machines running VMXNET.

By the way this is a really cool way to do things...


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
how to change MAC address cain_eve Linux - Software 11 02-05-2009 02:52 PM
modify nic mac-address mfran2002 Linux - Networking 4 10-19-2005 02:52 AM
eth0 / 1 confused over MAC address?? Nickj Linux - Networking 3 08-22-2005 12:36 PM
change mac address possible? kahn Linux - Networking 4 04-22-2005 05:43 AM
MAC address change? w9q Linux - Networking 3 09-10-2004 03:42 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:02 PM.

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