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

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

 



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



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



[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux