Dmitry E. Oboukhov | 2 Oct 2009 13:50
Picon
Favicon
Gravatar

OpenVZ & PPPoE

My provider gave me the second IP address as second pppoe  connection.
I want use this IP in my openVZ guest system, but I can't do it.

for getting this IP my server have to make  a  pppoe  connection,  all
pppoe utilities work only winth  hardware  eth's,  but  i  can't  give
guestVZ system my eth0 because host system uses  eth0  for  first  IP.

I tried use vzctl --netdev_add ppp1
  - ppp1 is mounted pppoe connection

but it leads me only to losing this connection

I could use iptables/iproute to forward all requests received by  ppp1
into guest, but in this case i have the following problem:

host machine has many servers/daemons which bound  on  0.0.0.0  and  i
have to unbind all these programs from  ppp1  to  use  them  ports  in
guest. It is very inconvenient.

Has we the other way to use pppoe connection in guest openVZ system?

PS: sorry, my English is mortal

--
... mpd playing: Manowar - 08 Warriors Of The World United

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera@... jabber://UNera@...
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
(Continue reading)

Marco d'Itri | 2 Oct 2009 14:45
Picon
Favicon

Re: OpenVZ & PPPoE

On Oct 02, "Dmitry E. Oboukhov" <unera@...> wrote:

> I tried use vzctl --netdev_add ppp1
>   - ppp1 is mounted pppoe connection
You should use a veth instead, bridge it to eth0 and run the pppoe
daemon in the VE. But I don't know if pppoe properly works in VEs, if
the standard pppd plugin will not work you may have better luck with the
old user space pppoe driver.

--

-- 
ciao,
Marco
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Dmitry E. Oboukhov | 2 Oct 2009 14:58
Picon
Favicon
Gravatar

Zsh + OpenVZ

I want to have completions for zsh (vzctl),
if I not find its I'll write completions-module, but may be
somebody has done this work?

--
... mpd playing: Manowar - God Or Man

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera@... jabber://UNera@...
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Vitaliy Gusev | 2 Oct 2009 15:10
Favicon

Re: OpenVZ & PPPoE

On Friday 02 October 2009 03:50:00 pm Dmitry E. Oboukhov wrote:
> My provider gave me the second IP address as second pppoe  connection.
> I want use this IP in my openVZ guest system, but I can't do it.
> 

See  http://wiki.openvz.org/PPP_in_container

> for getting this IP my server have to make  a  pppoe  connection,  all
> pppoe utilities work only winth  hardware  eth's,  but  i  can't  give
> guestVZ system my eth0 because host system uses  eth0  for  first  IP.
> 
> I tried use vzctl --netdev_add ppp1
>   - ppp1 is mounted pppoe connection
> 
> but it leads me only to losing this connection
> 
> I could use iptables/iproute to forward all requests received by  ppp1
> into guest, but in this case i have the following problem:
> 
> host machine has many servers/daemons which bound  on  0.0.0.0  and  i
> have to unbind all these programs from  ppp1  to  use  them  ports  in
> guest. It is very inconvenient.
> 
> Has we the other way to use pppoe connection in guest openVZ system?
> 
> PS: sorry, my English is mortal
> 
> --
> ... mpd playing: Manowar - 08 Warriors Of The World United
> 
(Continue reading)

Dmitry E. Oboukhov | 2 Oct 2009 15:12
Picon
Favicon
Gravatar

Re: OpenVZ & PPPoE

On 14:45 Fri 02 Oct     , Marco d'Itri wrote:
MdI> On Oct 02, "Dmitry E. Oboukhov" <unera@...> wrote:

>> I tried use vzctl --netdev_add ppp1
>>   - ppp1 is mounted pppoe connection
MdI> You should use a veth instead, bridge it to eth0 and run the pppoe
MdI> daemon in the VE. But I don't know if pppoe properly works in VEs, if
MdI> the standard pppd plugin will not work you may have better luck with the
MdI> old user space pppoe driver.

Could You explain me in detail?

I tried to:

1. use --netdev_add for ppp1 (exists pppoe connection), but it doesn't
work

2. use --netdif_add for ppp1 (exists pppoe connection), but this case
needs cleaning ppp1 from many daemons (from host-machine) which bound
0.0.0.0 address

3. use --ipadd priv_address and use pppoe-relay eth0 to venet0, but
pppoe-relay works only with hardware eths.

4. use --netdif_add for eth0 and tried up pppoe connection from guest,
pppoe wrotes:
    # pon provider 
    Plugin rp-pppoe.so loaded.
    Linux kernel does not support PPPoE -- are you running 2.4.x?

(Continue reading)

Dmitry E. Oboukhov | 2 Oct 2009 15:50
Picon
Favicon
Gravatar

Re: OpenVZ & PPPoE

On 17:10 Fri 02 Oct     , Vitaliy Gusev wrote:
VG> On Friday 02 October 2009 03:50:00 pm Dmitry E. Oboukhov wrote:
>> My provider gave me the second IP address as second pppoe  connection.
>> I want use this IP in my openVZ guest system, but I can't do it.
>> 

VG> See  http://wiki.openvz.org/PPP_in_container

Does this variant work with PPPoE (!= PPP)?
Now I'm using 2.6.26vz from Debian and i'll rebuild it only if I'm
sure that it works :)
--
... mpd playing: Manowar - 06 Revelation (Death's Angel)

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera@... jabber://UNera@...
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Vitaliy Gusev | 2 Oct 2009 16:07
Favicon

Re: OpenVZ & PPPoE

On Friday 02 October 2009 05:50:40 pm Dmitry E. Oboukhov wrote:
> On 17:10 Fri 02 Oct     , Vitaliy Gusev wrote:
> VG> On Friday 02 October 2009 03:50:00 pm Dmitry E. Oboukhov wrote:
> >> My provider gave me the second IP address as second pppoe  connection.
> >> I want use this IP in my openVZ guest system, but I can't do it.
> >> 
> 
> VG> See  http://wiki.openvz.org/PPP_in_container
> 
> Does this variant work with PPPoE (!= PPP)?
> Now I'm using 2.6.26vz from Debian and i'll rebuild it only if I'm
> sure that it works :)

2.6.26-ovz doesn't have virtualized pppoe

> --
> ... mpd playing: Manowar - 06 Revelation (Death's Angel)
> 
> . ''`.                               Dmitry E. Oboukhov
> : :’  :   email: unera@... jabber://UNera@...
> `. `~’              GPGKey: 1024D / F8E26537 2006-11-21
>   `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
> 
Dmitry E. Oboukhov | 2 Oct 2009 16:06
Picon
Favicon
Gravatar

Re: OpenVZ & PPPoE

VG>>> On Friday 02 October 2009 03:50:00 pm Dmitry E. Oboukhov wrote:
>>>> My provider gave me the second IP address as second pppoe  connection.
>>>> I want use this IP in my openVZ guest system, but I can't do it.
>>>> 
>> 
VG>>> See  http://wiki.openvz.org/PPP_in_container
>> 
>> Does this variant work with PPPoE (!= PPP)?
>> Now I'm using 2.6.26vz from Debian and i'll rebuild it only if I'm
>> sure that it works :)

VG> 2.6.26-ovz doesn't have virtualized pppoe

but has 2.6.27 virtualized _pppoe_?
--
... mpd playing: Manowar - 04 Shell Shock

. ''`.                               Dmitry E. Oboukhov
: :’  :   email: unera@... jabber://UNera@...
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Vitaliy Gusev | 2 Oct 2009 16:45
Favicon

Re: OpenVZ & PPPoE

On Friday 02 October 2009 06:06:45 pm Dmitry E. Oboukhov wrote:
> VG>>> On Friday 02 October 2009 03:50:00 pm Dmitry E. Oboukhov wrote:
> >>>> My provider gave me the second IP address as second pppoe  connection.
> >>>> I want use this IP in my openVZ guest system, but I can't do it.
> >>>> 
> >> 
> VG>>> See  http://wiki.openvz.org/PPP_in_container
> >> 
> >> Does this variant work with PPPoE (!= PPP)?
> >> Now I'm using 2.6.26vz from Debian and i'll rebuild it only if I'm
> >> sure that it works :)
> 
> VG> 2.6.26-ovz doesn't have virtualized pppoe
> 
> but has 2.6.27 virtualized _pppoe_?

Yes, but you need to set ppp feature for VE.

> > --
> ... mpd playing: Manowar - 04 Shell Shock
> 
> . ''`.                               Dmitry E. Oboukhov
> : :’  :   email: unera@... jabber://UNera@...
> `. `~’              GPGKey: 1024D / F8E26537 2006-11-21
>   `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
> 
Chris Bennett | 11 Oct 2009 12:09

GRE support & vzctl 3.0.24

Hi all,

I was excited to see in the announcement at:
  http://wiki.openvz.org/Download/kernel/rhel5/028stab064.4
that said:
  New features (require vzctl >= 3.0.24 (not yet released)): 
    * ipgre (GRE over IP) support in containers

I've attempted to figure out how this might be achived, as presumably
the kernel is ready to go but vzctl 3.0.23 doesn't have support to
perform the appropriate hardware node configuration.

However, I can't find anything useful for the term 'ipgre' in:
- vzctl git repo (git://git.openvz.org/pub/vzctl)
- mailing list (users & devel)
- forums
- google

If someone has made this work, or is part of the dev team and knows
how to make this work (either with vzctl master or via manual CLI on
the hardware node), could you share the actions required to configure
this?

Thanks in advance,

Chris Bennett
cgb

Gmane