On 5/14/05, Susanne Goldammer <Susi2000@web.de>
wrote:> Hello together,
>
> i am new to xen so hello everybody :-)
>
> I have read something about Inter-Domain communications and that it is
> also possible to let two different domains ( not domain0 ) communicate with
each other without
> using the physical network interface.
>
> I like to create some virtual networks which are only exist between the
domain, not physical!
>
> Thanks a lot for any hint.
> Susanne
Susanne,
1. Create bridges and assign correct parameters to them
brctl addbr xen-br1
brctl stp xen-br1 off
brctl setfd xen-br1 0
sleep 3
ifconfig xen-br1 up
2. Change your config files for domains according
/etc/xen/dom1
vif = [''mac=aa:00:00:00:01:00, bridge=xen-br1'']
/etc/xen/dom2
vif = [''mac=aa:00:00:00:02:00, bridge=xen-br1'']
3. Configure the dom1 and dom2 /etc/sysconfig/network
interfaces files (ifcfg-eth0) with the correct IP address,
netmask, network and broadcast numbers.
4. Boot both domains, and you are done.
Be aware: xen start scripts do not take care of more
than one bridge. You change then according to your
needs, or create your own scripts.
All above is true for SUSE Linux 9.2 Professional with
Xen compiled from source.
--
Bye,
Fernando Maior
LPIC/1 31908
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users