|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Veth0 missing
Cyril,
I'm not sure I did this correctly (I'm having weird network issues), but here's how I did it.
1. create a file called /etc/xen/scripts/my-network-script #!/bin/sh dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 bridge=xenbr0 netdev=eth0
make sure my-network-script is executable.... [ryan@xen01 ~]$ chmod 744 /etc/xen/scripts/my-network-script
2. add the following line to /etc/xen/xend-
config.sxp (network-script my-network-script)
3. create a configuration file for your virtual OS (if you haven't already done that) and add vif = [ 'bridge=xenbr0']
4. Create the bridge.
brctl addbr xenbr0 brctl stp xenbr0 off brctl setfd xenbr0 0 ip link set xenbr0 up brctl addif xenbr0 eth0
As I said, I don't know if this is complete, take it with a grain of salt.
Regards,
Ryan
On 1/31/07, Cyril Gouget <cyril.gouget@xxxxxxxxx> wrote:
HEllo,
I can't see it via ifconfig. I did not add a network bridge. How to do it?
Bye
Cyril
2007/1/31, Ryan <
niespam@xxxxxxxxx
>:Cyril,
Can you see the veth0 via ifconfig?? Did you add a network bridge?? These instructions may help....
http://wiki.xensource.com/xenwiki/XenNetworking#head-6bf1a8014b3a002670ac23d8326eb9ac9e2714e5
Regards, Ryan
Hello,
I installed Xen 3.0.3 on an ubuntu AMD64 as descibed in https://help.ubuntu.com/community/XenVirtualMachine/XenOnUbuntuEdgy
execpt I used the 2.6.16-11.2 kernel because 2.6.17 did kernel panic.
I managed to run windows XP pro but only commenting the ligne 'vif=[....]'. I installed bridge-utils and completed /etc/xen/xend-
config.sxp.
In /var/log/xen/xend-debug.log I got: Link veth0 is missing. This may be because you have reached the limit of the number of interfaces that the loopback driver supports. If the loopback driver is a module, you
may raise this limit by passing it as a parameter (nloopbacks=<N>); if the driver is compiled statically into the kernel, then you may set the parameter using loopback.nloopbacks=<N> on the domain 0 kernel command line.
Does anybody have an idea? I'm running it with the forcedeth driver...
Bye
Cyril
_______________________________________________ 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
|
|
|
|
|