[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] guest only networking



On Tue, Feb 17, 2009 at 10:48 AM, Gary Koskenmaki <garyk@xxxxxxxxxxxxx> wrote:
>> What distro do you use?
> I'm running Debian, Lenny, to be specific.  I'm using only the tools
> that come as Debian packages, and I'm creating the DomU's with
> xen-tools.

In that case I'd actually suggest you create your own bridge.
Something like this on /etc/network/interfaces (tested on Ubuntu
Intrepid), and set domUs to use brtest bridge.

auto brtest
iface brtest inet manual
    pre-up brctl addbr brtest
    post-down ifconfig brtest down
    post-down brctl delbr brtest

This will create a real guest-only network on brtest, as in dom0 can't
access domU via that network and vice-versa. Here's another example

auto brtest
iface brtest inet static
    address 10.0.0.1
    netmask 255.255.255.0
    pre-up brctl addbr brtest
    post-down ifconfig brtest down
    post-down brctl delbr brtest

This way dom0 uses ip address 10.0.0.1/24, and if you put domU on the
same subnet it will be able to communicate with dom0.

Regards,

Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.