Well, I have not actually tested a config with it not configured, so I don't
know for certain:)
I am not a Linux Bridge Utils guru, but I rembered from a vmware server kb
article that you
could confiugure a NIC with an IP of 0.0.0.0 to prevent traffic getting the
host, then unless
there is some specific requirement to Bridging, as long as the guests where in
the same subnet
they would see each other, someone feel free to CMIIW.
I also neglected to mention I thiink you need to make the new script (mine is
multi-network-bridge)
executable, just check your existing network-bridge script. Your logs will tell
all.
What does # brctl show output? What does #ifconfig output?
How do you deduce its not working, I presume you are trying to communicate
between two guests
that are in this bridge?
jlc
________________________________________
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Hans Pfeil [HPfeil@xxxxxxx]
Sent: Monday, June 09, 2008 8:49 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|