From owner-freebsd-virtualization@FreeBSD.ORG Wed Dec 2 18:05:11 2009 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1C221065670 for ; Wed, 2 Dec 2009 18:05:11 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outM.internet-mail-service.net (outm.internet-mail-service.net [216.240.47.236]) by mx1.freebsd.org (Postfix) with ESMTP id 9714D8FC08 for ; Wed, 2 Dec 2009 18:05:11 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D4175961CA; Wed, 2 Dec 2009 10:05:10 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 4341E2D6013; Wed, 2 Dec 2009 10:05:10 -0800 (PST) Message-ID: <4B16AC5A.9030009@elischer.org> Date: Wed, 02 Dec 2009 10:05:14 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Justin Wong References: <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com> In-Reply-To: <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: ppp in vimages? X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2009 18:05:11 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"