Fri, 14 Nov 2008 16:30:34 -0300
First of all, thanks for the help. :)
Later some searchs on the net, I configured the server and the services that
I want.
Now, I have another doubt: Is it possible to have differents loopback
interfaces for each VM?
My problem now is to configurate my VMs for use NIS. I've observed that the
NIS listen on all availiable interfaces - included the loopback interface
that is the same of loopback interface of host machine. NIS was an
example... I was realizing if I want to install other services that run on
the same port. Does anybody know some way to do it?
Best regards,
Tomás.
On Wed, Nov 12, 2008 at 10:30 AM, Peter Sabaini <peter@sabaini.at> wrote:
> On Wednesday 12 November 2008 14:07:11 Herbert Poetzl wrote:
> > On Tue, Nov 11, 2008 at 05:33:44PM -0300, Tomás de Barros Correia wrote:
> > > Hi all,
> > >
> > > I'd like to create about 5 virtual machines wich one with real IPs on
> > > my machine (with just one physical network interface - eth0). I've
> > > tried to create 5 virtual network interfaces (eth0:0, eth0:1 ...)
>
> -- snip --
>
> > > There's something wrong or something missing in my configuration
> > > an I would like to know the way to do it (tutorial, how to,
> > > articles etc).
> >
> > the basic (and probably best) way to use a single IP
> > for several guests is to assigne private addresses to
> > the guest (e.g. 192.168.0.*) and S/DNAT them for the
> > ports you want to be mapped.
>
> What worked for me was either
>
> a) setting up a dummy interface (dummy0), and use S/DNAT as you said or
> b) use a VLAN device, eg. eth0.10 and assign a separate network to this
>
> This of course depends on the circumstances but I'd be curious what other
> people think of the merits of each scenario. I kind of prefer b) if
> possible,
> seems simpler to me.
>
> bye,
> peter.
>
>
> > > Can anybody help me?
> >
> > very likely, but we all need more information about
> > your system/setup ...
> >
> > > Thanks in advance!
> >
> > best,
> > Herbert
>
>
>
--
Tomás de Barros Correia
Ciência da Computação - UFCG
http://www.dsc.ufcg.edu.br/~tomas/
First of all, thanks for the help. :)
Later some searchs on the net, I configured the server and the services that I want.
Now, I have another doubt: Is it possible to have differents loopback interfaces for each VM?
My problem now is to configurate my VMs for use NIS. I've observed that the NIS listen on all availiable interfaces - included the loopback interface that is the same of loopback interface of host machine. NIS was an example... I was realizing if I want to install other services that run on the same port.
Does anybody know some way to do it?
Best regards,
Tomás.
On Wed, Nov 12, 2008 at 10:30 AM, Peter Sabaini
<peter@sabaini.at> wrote:
On Wednesday 12 November 2008 14:07:11 Herbert Poetzl wrote:
> On Tue, Nov 11, 2008 at 05:33:44PM -0300, Tomás de Barros Correia wrote:
> > Hi all,
> >
> > I'd like to create about 5 virtual machines wich one with real IPs on
> > my machine (with just one physical network interface - eth0). I've
> > tried to create 5 virtual network interfaces (eth0:0, eth0:1 ...)
-- snip --
> > There's something wrong or something missing in my configuration
> > an I would like to know the way to do it (tutorial, how to,
> > articles etc).
>
> the basic (and probably best) way to use a single IP
> for several guests is to assigne private addresses to
> the guest (e.g.
192.168.0.*) and S/DNAT them for the
> ports you want to be mapped.
What worked for me was either
a) setting up a dummy interface (dummy0), and use S/DNAT as you said or
b) use a VLAN device, eg. eth0.10 and assign a separate network to this
This of course depends on the circumstances but I'd be curious what other
people think of the merits of each scenario. I kind of prefer b) if possible,
seems simpler to me.
bye,
peter.
> > Can anybody help me?
>
> very likely, but we all need more information about
> your system/setup ...
>
> > Thanks in advance!
>
> best,
> Herbert
--
Tomás de Barros Correia
Ciência da Computação - UFCG
http://www.dsc.ufcg.edu.br/~tomas/