From owner-freebsd-net@freebsd.org Tue Jan 12 15:30:45 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBD20A6D5AE for ; Tue, 12 Jan 2016 15:30:45 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A9887197D for ; Tue, 12 Jan 2016 15:30:45 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-229-231.lns20.per1.internode.on.net [121.45.229.231]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u0CFUe4d004807 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 12 Jan 2016 07:30:43 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: ppp(8) PPPoE fails when ifname contains "." To: freebsd-net@freebsd.org, Ben Woods References: From: Julian Elischer Message-ID: <56951C1A.6090805@freebsd.org> Date: Tue, 12 Jan 2016 23:30:34 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 15:30:46 -0000 On 7/01/2016 6:29 AM, Ben Woods wrote: > Hey everyone, > > I was recently trying to set up PPPoE to my ISP, over my network interface > which is configured with 802.1q VLAN tagging using vlan(4). > > I utilised the vlans_= feature described in rc.conf(5), > which creates a cloned interface named .. > > In /etc/ppp.conf I used the syntax PPPoE:. and this exposed > an interesting issue - ppp(8) would not set up the PPPoE interface > correctly when the interface contains a period. > > When I manually created the vlan clone interface with a name not containing > a period, ppp(8) worked fine. > > Has anyone seen this before? A quick review of the ppp(8) code, and I am > struggling to see the exact point where this syntax problem is. pppoe is implemented using netgraph. '.' has special meaning in netgraph. > > Regards, > Ben > > -- > From: Benjamin Woods > woodsb02@gmail.com > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >