ppp in vimages?

Justin Wong jmnwong at gmail.com
Wed Dec 2 16:17:31 UTC 2009


I am having trouble getting ppp to work within vimages.  Without vimages, my
box is able to connect (via vr0 interface) and assign it to tun0.  With
vimages, I assign vr0 to it (continuing with the name vr0 instead of eth0)
and ppp cannot detect it therefore I am unable to request for an IP.  I am
wondering whether this is a limitation on vimages/jails running ppp.

Here is the error I am receiving:

Dec  1 09:24:53 n2 ppp[1481]: tun0: Warning: deflink: PPPoE: unknown host
Dec  1 09:24:53 n2 ppp[1481]: tun0: Warning: deflink: PPPoE: unknown host
Dec  1 09:24:53 n2 ppp[1481]: tun0: Warning: deflink: Device (PPPoE:vr0)
must bee
gin with a '/', a '!' or contain at least one ':'
Dec  1 09:24:53 n2 ppp[1481]: tun0: Phase: deflink: Enter pause (0) for
redialinn
g.


Here is my ppp.conf:

default:
 set log phase lcp ipcp ccp tun command
 set speed sync
 set mru 1492
 set mtu 1492
 set ctsrts off
 enable lqr
 set timeout 0
 set redial 0 0
 set device PPPoE:vr0
 set authname username
 set authkey password
 set dial
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR


I also attempted to assign tun0 to a vimage, but it seems to lose its IP.


-J


More information about the freebsd-virtualization mailing list