|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] RE: adding a second NIC
So I have added a wrapper in /etc/xen with 755 permissions. I have
created just like you suggested below: Here is the contents of that
file:
# cat /etc/xen/my-network-bridge
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1
Do I need to restart the xend service to make those changes take affect?
How will I see those changes to know they are working?
Then I assume to add them to each guest I modify the /etc/xen/guestname
file by replacing the old vif info with the new device? I see there is
a MAC address in this same /etc/xen/guestname file that does not seem to
correspond to anything in an ifconfig -a. I am confused as to where
this MAC comes from.
-Joel
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Joseph L.
Casale
Sent: Monday, April 21, 2008 3:20 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] RE: adding a second NIC
>Can someone point me to information or assist me with the process of
how to add new NICs to existing xen >guests?
Somone just helped me here. You need to make a wrapper for the existing
scripts.
Make a new file called my-network-bridge
#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1
"$dir/network-bridge" "$@" vifnum=2 netdev=eth2 bridge=xenbr2
Change the names to what is applicablke for your version of xen.
Open the config.sxp and point it to the new script, this one calls that
old one. I think you need to make this script executable.
jlc
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|