WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

<Prev in Thread] Current Thread [Next in Thread>