OpenVZ Forum


Home » Mailing lists » Users » openvz and SuSE
Re: openvz and SuSE [message #1200 is a reply to message #1196] Fri, 03 February 2006 10:40 Go to previous messageGo to previous message
Daniel Bauer is currently offline  Daniel Bauer
Messages: 37
Registered: February 2006
Member
From: "Mishin Dmitry" <dim@sw.ru>
>> I've three nics, but only one venet0.
>> i.e. eth0 is connected to intranet for use of VPS
>> (10.x.x.x)
>> eth1 is connected to internet for use of VPS
>> (20.x.x.x)
>> eth2 s connected to intranet only for use of the Host
>> (30.x.x.x)
>>
>> I'd like to use:
>> VPS1: intranet (eth0)
>> VPS2: internet (eth1)
>> VPS3: intranet (eth0) + internet (eth1)
>>
>> On the host (eth2) I don't want to have an IP of the intranet or
>> internet, the nics should be used for the VPS.
>>
>> As I understand it's not possible to share a real nic with Host and
>> diff. VPS, so howto setup this configuration?
> You should assign IP from intranet to VPS1, IP for internet to VPS2
> and both
> such IPs to VPS3.

Sorry that doesn't work here if you don't have a IP on the host.
i.e.
Host:
eth0 10.1.0.1/255.255.255.0
eth1 10.2.0.1/255.255.255.0*

VPS1:
venet0:0 10.3.0.2/255.255.255.255

VPS2:
venet0:0 10.4.0.3/255.255.255.255*

VPS3:
venet0:0 10.3.0.4/255.255.255.255
venet0:1 10.4.0.4/255.255.255.255*

* not used in this test

a Client with IP 10.1.0.100 could ping the host
a Client with IP 10.3.0.100 could ping nothing

If I set the host to 10.3.0.1 then I could ping the Host, VPS1 and VPS3.
So it seems to me that is necessary to have an IP on the host from the
same subnet.

I see that when I start the VPS a new route for each IP, maybe this is
the problem, is it not better to bridge the adapters between Host and
VPS?

Bye
Daniel
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Management tools
Next Topic: The problem of iptables on FC4
Goto Forum:
  


Current Time: Mon Jul 15 07:32:51 GMT 2024

Total time taken to generate the page: 0.02351 seconds