I'm playing around with a test server, install Xen on a Centos 5 box.
I've tried two methods to create a vm.
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:
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.
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.
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.