Date: Tue, 12 Jan 2016 23:30:34 +0800 From: Julian Elischer <julian@freebsd.org> To: freebsd-net@freebsd.org, Ben Woods <woodsb02@gmail.com> Subject: Re: ppp(8) PPPoE fails when ifname contains "." Message-ID: <56951C1A.6090805@freebsd.org> In-Reply-To: <CAOc73CCGpCw9H6BftTrNuA6ahLoe%2BWbJJudyRUv90_5n6sYvhw@mail.gmail.com> References: <CAOc73CCGpCw9H6BftTrNuA6ahLoe%2BWbJJudyRUv90_5n6sYvhw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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_<interface>=<tag> feature described in rc.conf(5), > which creates a cloned interface named <interface>.<tag>. > > In /etc/ppp.conf I used the syntax PPPoE:<interface>.<tag> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56951C1A.6090805>