From owner-freebsd-virtualization@FreeBSD.ORG Wed Dec 2 16:17:31 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 2E631106566C for ; Wed, 2 Dec 2009 16:17:31 +0000 (UTC) (envelope-from jmnwong@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id AC6278FC22 for ; Wed, 2 Dec 2009 16:17:30 +0000 (UTC) Received: by ewy26 with SMTP id 26so401441ewy.3 for ; Wed, 02 Dec 2009 08:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=r0jfA3SR469ae679QKhrK3PUbqx3sKljsT36NPly1Ms=; b=HHJKeW2EUuVzPSKKFmJ6u8LM5xIs1Tw9FmFDprPo370bRymhh2Kd/gMVCdVnXBIRDc iBz9hOypK6CvOlsd/o1XndU8VuSQWISdj7mgap1w7hCGXqtpv2WatgtHBW3cGHAdhW4I hAS0Brfl9g2kunCSnK00cz6IJdU18GuW20IsM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q63dAEJgWNf9avrJ1x2LzqVtQTsNpADM0Rw6z0OvzTWtx4qF7fZuWKnu+TmCihfz9c q6xaW7TpxFSdPtzq8jNaD9uhxCCVvQdC8rIBIJjpdEcfKNcNGw3BVAvPW5jfD1qtCS3S 10/nuNn4yH+xnWObRt0uAgEzKCfxnsZYxCl50= MIME-Version: 1.0 Received: by 10.213.96.195 with SMTP id i3mr267200ebn.97.1259770635130; Wed, 02 Dec 2009 08:17:15 -0800 (PST) Date: Wed, 2 Dec 2009 11:17:15 -0500 Message-ID: <66313f8d0912020817x5839715ake916804d61dea730@mail.gmail.com> From: Justin Wong To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 16:17:31 -0000 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