There's a patch for network-bridge that was needed on xen-tools-3.4 but it's also been applied to xen-tools-4.0.0 and breaks networking. The patch: get_ip_info() { - addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e 's/ .*//'` + addr_pfx=`ip addr show dev $1 | egrep '^ *inet' | sed -e 's/ *inet //' -e "s/$1//"` gateway=`ip route show dev $1 | fgrep default | sed 's/default via //'` } The output of those the old/new commands: xen3 scripts # ip addr show dev eth0 | egrep '^ *inet' | sed -e 's/ *inet //' -e 's/eth0//' 204.187.12.209/24 brd 204.187.12.255 scope global inet6 fe80::230:48ff:fef1:6484/64 scope link xen3 ~ # ip addr show dev eth0 | egrep '^ *inet ' | sed -e 's/ *inet //' -e "s/ .*//" 204.187.12.209/24 If you throw a -x onto /etc/xen/scripts/network-bridge, you can see the command that causes the problem: + ip addr add 204.187.12.208/24 brd 204.187.12.255 scope global inet6 fe80::230:48ff:fef1:5cd6/64 scope link dev eth0 Error: either "local" is duplicate, or "inet6" is a garbage. Reverting the patch on that file fixed things. Reproducible: Always
Also, this was the original ticket that caused the patch: 258378 Not sure why suddenly it's not required anymore in xen 4 since the related code looks the same, but it works for me now.
Please paste the actual upstream url and not the ticket number and upload your patch as attachment here instead of a comment Thanks
This issue is about a patch that needs to be REMOVED, not added. The patch already exists in portage. (In reply to comment #2) > Please paste the actual upstream url and not the ticket number and upload your > patch as attachment here instead of a comment > > Thanks >
Xen 4.1 in tree. Please test with it and reopen if it doesnt work