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

Re: [Xen-users] max loop



Its just what works for me. I havent tried changing the line to that but if someone wants to give it a go?

Mitch
----- Original Message ----- From: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
To: "Mitch" <mitchkelly@xxxxxxxxxxxxxx>
Cc: "Geoff Kirk" <geoff.k@xxxxxxxxxxxxxxxxxxx>; <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 07, 2007 8:04 PM
Subject: Re: [Xen-users] max loop


Mitch wrote:
i had exactly the same problem

This fixed it:
edit /etc/xen/network-bridge
Find the line that says:
${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}
Comment it out
Put there instead:
vifnum=0
Reboot PC

Loaded up 12Xens so far with no issues.

My original problem was related to the max_loop and it wouldnt bring up peth0 veth0 xenbr0, The fix above fixed it..
if you type: ip route list | awk '/^default /'
It should say something like this:
default via xxx.xxx.xxx.xxx dev eth0  metric 100
The problem is it tried to make veth100...

let me know how you go..

Mitch
Then shouldn't it be changed to something like this?

${vifnum:-$(ip route list | sed 's/ metric .*//g' | awk '/^default / { print $NF }' | sed 's/^[^0-9]*//')}

shouldn't it?


_______________________________________________
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®.