[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 technetiuminc com 
Web: www.technetiuminc.com 



-----Original Message-----
From: fedora-xen-bounces redhat com
[mailto:fedora-xen-bounces redhat com] On Behalf Of Mark Ryden
Sent: Thursday, March 16, 2006 2:15 AM
To: fedora-xen 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 redhat com
https://www.redhat.com/mailman/listinfo/fedora-xen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]