Christophe Bailleux
2011-Feb-27 14:36 UTC
[Xen-users] Xen network-route : mix Public and Private IP on a Front-Back architecture
Hi everyone, I need your help. I would like to create a front-back architecture with Xen. My physical server has only one public Interface. Currently, my DOM0 is using the network-route configuration: *(network-script ''network-route netdev=eth0'') (vif-script vif-route)* My DOM1 is configured with a public IP + proxy_arp with DOM0. DOM1 can connect any address on Internet and is accessible from Internet too. Now i would like to add a private IP address on DOM1 in order to comunicate with DOM2, 3 and 4 who is configured with just a private IP address. -----(private IP) DOM4 | | Physical Eth0 (Public IP1) --- DOM0 ----------- (public IP2 ) DOM1 (private IP1) --------------(private IP2) DOM2 | | -----(private IP) DOM3 To finish, i would like DOM2, 3 and 4 to connect Internet via DOM1 IP public Address. Thanks for your help. Lyes _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Feb-27 14:48 UTC
Re: [Xen-users] Xen network-route : mix Public and Private IP on a Front-Back architecture
On Sun, Feb 27, 2011 at 9:36 PM, Christophe Bailleux <ch.bailleux@gmail.com> wrote:> Hi everyone, > > I need your help. I would like to create a front-back architecture with Xen. > My physical server has only one public Interface. > > Currently, my DOM0 is using the network-route configuration: > > (network-script ''network-route netdev=eth0'') > (vif-script vif-route) > > > My DOM1 is configured with a public IP + proxy_arp with DOM0. DOM1 can > connect any address on Internet and is accessible from Internet too. > Now i would like to add a private IP address on DOM1 in order to comunicate > with DOM2, 3 and 4 who is configured with just a private IP address.The easy way is to use bridging setup, but create bridges manually. Then configure dom1 to do MASQUARADE. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christophe Bailleux
2011-Feb-27 19:01 UTC
Re: [Xen-users] Xen network-route : mix Public and Private IP on a Front-Back architecture
Thanks, but how can i use routed and briged interface in same time ? My idea was to use a dummy0 interface on DOM0 and bridge it DOM. But i don''t know how to configure it. Thanks. On Sun, Feb 27, 2011 at 3:48 PM, Fajar A. Nugraha <list@fajar.net> wrote:> On Sun, Feb 27, 2011 at 9:36 PM, Christophe Bailleux > <ch.bailleux@gmail.com> wrote: > > Hi everyone, > > > > I need your help. I would like to create a front-back architecture with > Xen. > > My physical server has only one public Interface. > > > > Currently, my DOM0 is using the network-route configuration: > > > > (network-script ''network-route netdev=eth0'') > > (vif-script vif-route) > > > > > > My DOM1 is configured with a public IP + proxy_arp with DOM0. DOM1 can > > connect any address on Internet and is accessible from Internet too. > > Now i would like to add a private IP address on DOM1 in order to > comunicate > > with DOM2, 3 and 4 who is configured with just a private IP address. > > The easy way is to use bridging setup, but create bridges manually. > Then configure dom1 to do MASQUARADE. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Feb-27 21:46 UTC
Re: [Xen-users] Xen network-route : mix Public and Private IP on a Front-Back architecture
On Mon, Feb 28, 2011 at 2:01 AM, Christophe Bailleux <ch.bailleux@gmail.com> wrote:> Thanks, but how can i use routed and briged interface in same time ?I was thinking more of "dump routing entirely, use bridge all the way" ... but you should be able to just add a "script=vif-bridge" on each vif config line that will use bridging, and setup the bridge manually using OS script file.> My idea was to use a dummy0 interface on DOM0 and bridge it DOM. But i > don''t know how to configure it.Look at your distro''s documentation. Example for Debian: http://wiki.debian.org/BridgeNetworkConnections (but you don''t need to add "bridge_ports", since you''ll be using dummy bridge). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Seemingly Similar Threads
- Interdomain trust with different WINS servers
- Problems with a trust relation between samba and samba different subnet
- Problems with a trust relation between samba and sambadifferent subnet
- Domain trusts (Again)
- Samba domain member server does not see list of users from PDC