LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-22-2017, 07:10 AM   #1
Tychen
LQ Newbie
 
Registered: Jul 2017
Location: Germany
Distribution: Ubuntu, debain, fedora
Posts: 12

Rep: Reputation: Disabled
Cannot set static IP-Address in FC 10 on VMWare Workstation 12.5


Hi everybody,

short introduction: I am from germany, running linux since quite a while at home (started with Slackware in the 90th).

Now I want to convert my very old fedora core 10 into a virtual machine, and I got to the point, where I don't know anymore, how to set a static IP in this VM.

Obviously udev generates an eth1 (besides lo0 and pan0):

2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0c:29:e0:8d:08 brd ff:ff:ff:ff:ff:ff
inet 192.168.178.131/16 brd 192.168.255.255 scope global eth1


Running "Network Configuration" on the gui I just see an eth0 in the devices tab, which is inactive and the activate-Button is grey. In the Hardware-Tab I see pan0 and eth1.

You can assign a static IP to this eth0 and the configuration is also written to /etc/sysconfig/network-scripts/ifcfg-eth0, but restarting network or rebooting does not have any effect. Interestingly I do not find a ifcfg-eth1 in this directory and creating one with static entries does not help either.

In "Network Configuration" I also tried to copy eth0 and assign it to eth1 with the same mac-address as eth1, but I get this error:

# service network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
[FAILED]


udev:

# cat /etc/udev/rules.d/70-persistent-net.rules

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rule written by anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:df:c2:aa", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:dd:1c:b3", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:e0:8d:08", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


To be honest, I have no idea, where the system gets the info, that eth1 is the interface to be used and I do not know where to change it to be a static address.

Any help is appreciated
Rainer
 
Old 07-23-2017, 11:03 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I tried to clone a similar Fedora a while back. Seems that era Fedoara didn't like to be cloned even. In my case the network names needed to be correct as eth0 and such but jumped up to eth9. Anyway the best way to convert is to use VMware's converter on the original.

So it looks like the old information is there but you need to make the system remove the old nic's and install new ones.

Then or maybe before really you need to use the custom option of choice for making a static ip in the vmware app generally by using Virtual Network Editor.

Think this is right. Ideas from these places.
http://www.doublecloud.org/2013/03/c...vmware-player/
http://www.carbonwind.net/Virtualiza...ng-Options.htm


I guess one might be able to make a dhcp lease also of one number.
One might make a second IP address on host and bridge to it.
 
  


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
Cannot set static IP-Address in FC 10 on VMWare Workstation 12.5 Tychen Fedora - Installation 1 07-27-2017 01:21 PM
Need help setting up a static IP in Oracle Linux 6.4 on VMWare workstation rchandba Linux - Newbie 7 04-20-2014 07:49 AM
Executable name for VMware workstation - need to set driconf for 3-D dobradude45 Linux - Newbie 1 12-16-2013 07:52 PM
New to Linux, installed Fedora 10 on VMWare Workstation 6.0.3 trying to set up apache sweetcoco Linux - Newbie 3 02-01-2009 11:09 PM
Set IP address to static from DHCP assigned address jborn Linux - Networking 4 02-02-2007 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

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