[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Dedicate Nic's to DomU's
Hey Joe, thanks for all your help and effort on this. Unfortunately I couldn't get it to work. Allow me to ask a question. Does the actual physical nic, I'll call eth1, need to be configured with an IP address, routing, and host name first? Right now I have eth1 with nothing configured. Thanks -Hans >Don't happen to have an example of all this stuff do you? This way I could >just copy it over to my side. >Thanks. > >-Hans I can provide you with the files I use, but without a minimal understanding of it, you'll be hard pressed to make it work for your environment anyway. I must suggest a good book I am just wrapping it up. One of the list members, Todd Deshane has co-authored *the* most excellent book on Xen, Running Xen. It not only details everything you need to know to run xen, it walks you through everything step by step to do things correctly and it does this most thoroughly! You will be very comfortable running xen after this book! I am running 3.2.0 on this host, so the bridge names are identical to the original eth names. That most certainly could be different from your version, check your docs. You need to edit /etc/xen/xend-config.sxp -Locate the line: (network-script network-bridge) -Make it say something like: (network-script multi-network-bridge) -Now create a script in /etc/xen/scripts called multi-network-bridge # cat /etc/xen/scripts/multi-network-bridge #!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=eth0 "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=eth1 . . . "$dir/network-bridge" "$@" vifnum=n netdev=ethn bridge=ethn Now you edit the config for your guests, usually located in /etc/xen but you can the docs for your distro or follow one of many tutorials available. -You will see, or need to add a line: vif = [ 'bridge=eth0, mac=00:16:3E:77:A5:D6', ] -This will create one nic in the guest, and add it to the bridge named eth0 which contains the original eth0 physical nic in the xen server. Good luck, jlc _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |