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

Re: [Xen-users] centos 5.6 upgrade to 4.1 - no DomUs listed



Andy, had the same nightmare problem, stopped me for days, read and follow
the networking section in this link, it is not using the Xen scripts to create the
bridge at all, just pure os networking, check it out:

http://wiki.virtastic.com/display/howto/Xen+3.4.3+on+CentOS+5.5+--+Tutorial

ps - You most likely will not need the vlan .4094 but if you put it in it won't hurt anything.
Later if you run into a vlan requirement you will know how to deal with it.

On 5/18/2011 3:52 AM, Andy Howell wrote:
On 05/18/2011 03:34 AM, Randy Katz wrote:
try booting with pci=nomsi on the kernel line,
If you setup networking according to this then things should be working, and no 
need to
use vif in the bridge line: 
http://wiki.xensource.com/xenwiki/HostConfiguration/Networking

One of my working confs looks like this (CentOS 5.6 Xen 4.1):

name = "test1"
memory = "512"
disk = [ "phy:/dev/vg1/test1,xvda,w" ]
vif = [ 'mac=00:16:3e:aa:aa:91,bridge=xenbr0' ]
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
bootloader = "/usr/bin/pygrub"

on node:
# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0      0.0.0.0         255.255.255.0   U         0 0          0 xenbr0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 xenbr0
0.0.0.0         192.168.1.1      0.0.0.0         UG        0 0          0 xenbr0

Randy,

        Thanks! pci-nomsi enabled me to boot. I'm able to get a domu up and 
login via vncviewer.
Networking isn't working however. I created xenbr0 with no IP address, as it was
previously. Something isn't correct. I don't see the interfaces that were part 
of the
bridge before:

    tap0
    vif1.0
    peth0
    vif0.0

I vaguely remember the xen scripts created those. I'll have to read up on it 
after a bit
of sleep. Thanks again.

Andy


/etc/sysconfig/network-scripts/ifcfg-xenbr0
DEVICE=xenbr0
TYPE=Bridge
BOOTPROTO=none
ONBOOT=yes
DELAY=0
NM_CONTROLLED=no

/etc/sysconfig/network-scripts/ifcfg-eth0
# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet 
controller
DEVICE=eth0
BOOTPROTO=static
HWADDR=E0:CB:4E:97:68:DD
IPADDR=172.16.1.8
NETMASK=255.255.0.0
ONBOOT=yes
#BRIDGE=xenbr0


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.