[Users] OpenVZ & PPPoE

Vitaliy Gusev vgusev at openvz.org
Fri Oct 2 09:10:40 EDT 2009


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
> 
> . ''`.                               Dmitry E. Oboukhov
> : :’  :   email: unera at debian.org jabber://UNera@uvw.ru
> `. `~’              GPGKey: 1024D / F8E26537 2006-11-21
>   `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
> 



More information about the Users mailing list