[xen-discuss] How can I change a domU's IP Address
David Edmondson
dme at sun.com
Wed Nov 5 16:42:26 PST 2008
On Wed, Nov 05, 2008 at 08:36:06AM -0800, Paul Jochum wrote:
> I am running SXCE b101, and used the following command to create a linux domU successfully:
>
> virt-install -n lss-kickstart1 --ram=2048 --vcpus=2 \
> --os-type=linux --os-variant=rhel5 --bridge=nge1 \
> --file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/root \
> --file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/swap \
> --file=/dev/zvol/dsk/zfs_pool/xen/lss-kickstart1/nfs \
> --accelerate --paravirt --nographics \
> --location=http://135.1.29.1/nfs/scientific/52/x86_64/ \
> --extra-args="ks=http://135.1.29.1/nfs/xen_guest_sl52_x86_64_ks/kickstart/ks.cfg.1 ip=135.1.29.25 netmask=255.255.255.0 dns=135.1.1.111 gateway=135.1.29.254 noipv6" -d
>
> Now that everything is up and running, I would like to change the IP
> address of this domU to 135.1.29.1. I have no problem changing the
> files in domU, but it looks like XEN keeps using the old address.
> What (and/or how) do I change Xen to recognize the new address.
> (Note, I have no problem performing the changes while domU is down).
Can you dump the XML configuration for the domain? If it includes any
IP configuration details (which is rare), they would need to be
updated.
More information about the xen-discuss
mailing list