I'm playing around with a test server, install Xen on a Centos 5 box.
http://www.howtoforge.org/paravirtua...tos-5.3-x86_64
I've tried two methods to create a vm.
virt-install
and
virt-install -x "ip=xxx.xxx.70.212 gateway=xxx.xxx.70.211 subnet=255.255.255.248"
If I do virt-install, it asks me this:
http://i40.tinypic.com/2m5c8ys.png
Automatic DHCP never works. If I try manual config, I have no idea what to put it. I did try this:
IPv4 address: xxx.xxx.70.212__ / 255.255.255.248_ Gateway: xxx.xxx.70.211___________________________ Name Server: _________________________________________
note: only here in my post am I actually putting "xxx" in the IP for privacy reasons only. The 70.212 is the main server IP that I ssh into.
See 2nd screenshot for error. Same thing with various valid mirrors I tried.
http://i40.tinypic.com/64fqyh.png
This is my ifcfg-eth0 info:
DEVICE=eth0 BOOTPROTO=static IPADDR=xxx.xxx.70.212 NETMASK=255.255.255.248 ONBOOT=yes TYPE=Ethernet
I've tried 2 different mirrors so far, same error.
http://wftp.tu-chemnitz.de/pub/linux/centos/5.3/os/x86_64 http://mirror.its.uidaho.edu/pub/centos/5/os/x86_64/
My resolvers are just fine too in /etc/resolv.conf
Note, I did not do anything at all. I had a fresh Centos 5 64bit install and then followed that Xen install guideline. That's it.
I've been building 64-bit Xen hosts on Dell 2850 and 2950s without problem... Looking at your virt-install option though I believe you want
netmask=x.x.x.x
rather thansubnet=x.x.x.x
as that's the only difference I see directly off hand.If that is the only options to the command line you're using for virt-install you need to include a NIC using the
-w
option to add it to one or more of your Xen bridges. My typical call for virt-install is:In most cases I tend to have a 64-bit host but 32-bit guests... could modify to work with 64-bit guests if I needed to. This gives me 2 NICs (eth0 and eth1) attached to the xenbr0 and xenbr1 bridges respectively, single CPU guest installing a RHEL5 variant.
If you happen to have a Dell 2950 (or any other Dell x9xx using a Broadcom NetXtreme II) I suggest that you follow http://lists.xensource.com/archives/html/xen-users/2007-04/msg00629.html