network configuration file

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Jul 29 21:18:15 UTC 2008


Christoph Höger wrote:
> Hi,
> 
> Networkmanager (that I am very aware of ;)) is not an option. I should
> have mentioned that I need to assign static ip addresses to some virtual
> machines by editing something in their root-tree.
> 
> If I look at /etc/sysconfig/network-scripts/ifcfg-eth0 that seems to be
> the place to go.
> 
> Has anyone an example of that file with a static ip adress?
> 
> regards
> 
> Christoph
> 
DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.1.9
ONBOOT=yes
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
TYPE=Ethernet
IPV6INIT=no
NM_CONTROLLED=no
USERCTL=no

Mikkel
-- 

   Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080729/3e5edfe9/attachment-0001.sig>


More information about the fedora-list mailing list