[xenpreview-dev] Network with XEN
Kirk Allan
kallan at novell.com
Tue May 23 11:06:31 MDT 2006
My config file on dom0 for domU is in /etc/xen/vm/lvm1 and is as follows:
disk = [ 'file:/var/lib/xen/images/lvm1/hda,hda,w' ]
memory = 128
vcpus = 2
builder = 'linux'
name = 'lvm1'
vif = [ 'mac=00:16:3e:d0:60:69' ]
localtime = 0
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
extra = ' TERM=xterm'
bootloader = '/usr/lib/xen/boot/domUloader.py'
bootentry = '/dev/hda2:/boot/vmlinuz-xen,/boot/initrd-xen'
My ethernet configuration file in domU for eth0 in /etc/sysconfig/network/ifcfg-eth-id-00:16:3e:d0:60:69 is as follows:
BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='10.1.1.33'
MTU=''
NAME='Xen Virtual Ethernet card 0'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='Phe5.Sd+ykfyvlK4'
USERCONTROL='no'
Using xm create -c lvm1, my domU boots and gets assigned IP addr 10.1.1.33.
Hope this helps.
Kirk
>>> On Tue, May 23, 2006 at 10:19 AM, in message
<200605231819.35601.gjn at gjn.priv.at>, "Günther J. Niederwimmer"
<gjn at gjn.priv.at> wrote:
> Hello, Kirk,
>
> Am Montag, 22. Mai 2006 17:14 schrieb Kirk Allan:
>> What works for me is to start yast in the running domU and configure the
>> Xen Virtual Ethernet card with my desired IP address.
>
> For me it don't work :(. I tested all things, the only working network in
> Xen,
> is with a external dhcp Server ?
>
>> But if you're talking about getting an IP address during the installation
>> of the domU, then without a DHCP server it is a little more difficult. You
>> need to wait for all the DHCP requests to timeout. If I remember right,
>> you then have the ability to enter all the network information such as IP
>> address etc. Then the install should be able to continue.
>
> I mean to remember, I read in opensuse- commit, the timeout is changed?
>
> Have you please a running config for domU for testing for me ;).
>
> I can't found the mistake in my config :(.
More information about the xenpreview-dev
mailing list