ppp(8) PPPoE fails when ifname contains "."

Julian Elischer julian at freebsd.org
Tue Jan 12 15:30:46 UTC 2016


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 at gmail.com
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>



More information about the freebsd-net mailing list