ppp in vimages?

Justin Wong wrote:
> 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.
It may be that there is an interaction between netgraph and vimage
that is not yet worked out..
by chance I have a vimage kernel on my soekris 5501 with a pppoe link
using ppp.
I may try switching it over to another vimage and see what it does.
(tonight after work)
it's possible that the negraph pppoe node is only looking in the base
vimage for the interface.
>>> -J
> _______________________________________________
>freebsd-virtualization at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"