[Users] OpenVZ & PPPoE

Dmitry E. Oboukhov unera at debian.org
Fri Oct 2 07:50:00 EDT 2009


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 at debian.org jabber://UNera@uvw.ru
`. `~’              GPGKey: 1024D / F8E26537 2006-11-21
  `- 1B23 D4F8 8EC0 D902 0555  E438 AB8C 00CF F8E2 6537
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://openvz.org/pipermail/users/attachments/20091002/858eedf4/attachment.bin


More information about the Users mailing list