On Wed, Aug 10, 2011 at 6:33 AM, EredicatorX
<eredicatorx@xxxxxxxxxxxxxxx> wrote:
> Short Version;
> Need documentation on second interface in for Xen4.0 on debian squeeze for
> hvm and paravirt domU's.
>
> Long Version;
>
> I am looking for something definitive on multi-network configurations in xen
> 4.0. I have tried both of these;
>
> http://wiki.debian.org/Xen#Dom0_.28host.29
> and
> http://searchservervirtualization.techtarget.com/tip/Creating-additional-Xen-virtual-network-bridges
>
> I can create the interface after it is booted with this command;
> ./network-bridge netdev=eth1 bridge=xenbr1 start
Not recommended. Like Todd said, better setup bridges manually,
something like
http://wiki.debian.org/BridgeNetworkConnections#A.2BAC8-etc.2BAC8-network.2BAC8-interfaces_and_bridging
Create one bridge for each physical interface you need, with each
bridge (obviously) have one physical interface on "bridge_ports" line
> and it gives me a bridge;
>
> root@xen-07:/var/log/xen# brctl show
> bridge name bridge id STP enabled interfaces
> eth0 8000.0026b9fedf98 no peth0
> xenbr1 8000.0026b9fedf9a no peth1
> tap7.0
> vif7.0
>
> But my domU's can not see that interface.
>
> Finally on the xen wiki I found this but I am unsure what it means;
> vif = [ 'mac=00:16:5e:72:04:01,bridge=xenbr0,script=your_custom_script1',
> 'mac=00:16:5e:72:04:02,bridge=xenbr1,script=your_custom_script2' ]
>
> Mostly because I never get a xenbr0
Duh. Your brctl shows the bridge name is eth0, not xenbr0 :P
Some explanations on vif line:
vif = [
'mac=00:16:5e:72:04:01,bridge=xenbr0,script=your_custom_script1',
'mac=00:16:5e:72:04:02,bridge=xenbr1,script=your_custom_script2'
]
(1) note the two lines quoted by single quote? That means you're
creating two NICs for domU.
(2) "mac" is what you want that particular domU NIC's mac to be
(3) "bridge" is the name of the bridge on dom0 that the NIC will be attached to
(4) "script" is the script name that will be used to setup the NIC on
dom0. Usually you can just remove this section, as the default
vif-bridge script should work just fine.
Also try "xm create --help_config", and look for "vif=". That would
show all available options for vif line.
--
Fajar
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|