WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: Xen domU Gateway

On Mon, Aug 11, 2008 at 12:09 PM, Simon Gottschlag <simon@xxxxxxxxxxxxx> wrote:
> I've come up with a new Idea. Is this possible, and if it is, how do I do
> it?
> eth0 = Static ip. -> route to domU
> eth1 = 192.168.1.2 -> bridge to domU (?)
> eth2 = 192.168.1.X -> get's it's (dom0) ip from the domU (gateway)
>
> Is it possible to use bridge with one and route with one?
> And how do I make dom0 to use only eth2?

i think it would be simpler to use 2 bridges, and two interfaces:

eth0 -> br0 <- DomU eth0 (static IP)
eth1 -> br1 <- DomU eth1 (192.168.1.2)

and on Dom0, either:
a) setup br1 with dhcp (after DomU startup)
or
b) add veth0 to br1, use dhcp on veth0

no need for (physical) eth2


-- 
Javier

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

<Prev in Thread] Current Thread [Next in Thread>