[Fedora-xen] setting IP address for domU in a config file

Todd Foster toddf at technetiuminc.com
Thu Mar 16 16:21:38 UTC 2006


Start the domain and create a
/etc/sysconfig/networking/devices/ifcfg-eth0 file with the following in
it. (works for me!) This is on FC4 Zen 3.01

DEVICE=eth0
BROADCAST=192.168.1.255
HWADDR=aa:bb:00:00:00:12
IPADDR=192.168.1.110
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet
GATEWAY=192.168.1.1
BOOTPROTO=none
USERCTL=no
PEERDNS=yes
IPV6INIT=no 


Todd H Foster, CEO

Technetium, Inc. 
The Technical Element.
One Ten Pine Avenue Suite 1080 
Long Beach, CA 90802 
---------------------------- 


Phone: (310) 508-6476
Fax: (562) 427-4707
Email: toddf at technetiuminc.com 
Web: www.technetiuminc.com 



-----Original Message-----
From: fedora-xen-bounces at redhat.com
[mailto:fedora-xen-bounces at redhat.com] On Behalf Of Mark Ryden
Sent: Thursday, March 16, 2006 2:15 AM
To: fedora-xen at redhat.com
Subject: [Fedora-xen] setting IP address for domU in a config file

Hello,
I had followed the instructions in
http://www.fedoraproject.org/wiki/FedoraXenQuickstart
an I am succeeding in creating domain U.
The thing is that I want domU to start with some static IP address.
How can I do it ?

I had tried adding , in the config file for domU, vif = [
'ip=192.168.0.193', 'bridge=xenbr0' ] netmask="255.255.255.0"

and run "xm create -c domUconfig"
Dom U started , ifconfig -a showed eth0, but without the IP address.

Any ideas ?

Mark

--
Fedora-xen mailing list
Fedora-xen at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen





More information about the Fedora-xen mailing list