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

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

 



Mount the image file on your /mnt as explained in the quickstart guide and create the following files

/etc/sysconfig/network-scripts/ifcfg-eth0 file
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:14:22:B1:20:1E
IPADDR=10.1.1.21
NETMASK=255.255.255.0
> TYPE=Ethernet


/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=(your hostname here)
GATEWAY=10.1.1.1

Change the values as required.

Thanks.
    - J a i



On Thu, 2006-03-16 at 12:15 +0200, Mark Ryden wrote:
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