Hey, * /etc/hostname.vlan500
# hostname.vlan500 vnetid 835 parent parent fxp0 up * /etc/hostname.pppoe0 #hostname.pppoe0 inet 0.0.0.0 255.255.255.255 NONE \ pppoedev vlan500 authproto pap \ authname "" authkey "" up dest 0.0.0.1 !/sbin/route add default -ifp pppoe0 0.0.0.1 For debuging: ifconfig pppoe0 debug Kind regards, Sacha. Le 22/01/2020 à 02:49, Peter Wong a écrit : > Yes, my ISP operate pppoe with vlan. How to configure my fxp0 using vlan id > 500? > > > Regards, > ------------------------------ > Peter Wong > 016-396 3326 > > > On Wed, Jan 22, 2020 at 6:10 AM Joe Cook <[email protected]> wrote: > >> Hi, >> >> In my experience, PPPoE operates on a VLAN and not directly on an >> interface like fxp0. >> >> For my setup I had the ONT connect to interface em2. I ran the following: >> >> *doas tcpdump -i em2* >> >> In the output I found the following: >> >> *11:05:43.878079 802.1Q vid 10 pri 0 PPPoE-Session* >> >> This tells me that PPPoE is tagged with VLAN ID 10 (802.1Q vid 10). I had >> to create vlan10 and attach it to em2 then I could create pppoe0 and attach >> it to vlan10. >> >> >> I hope this helps. >> >> >> Joe >> On 21/01/2020 6:42 pm, peterwkc wrote: >> >> Dear All, >> >> I would like to setup my openbsd as router. >> /etc/hostname.fxp0 >> up >> >> /etc/hostname.pppoe0 >> pppoedev fxp0 authproto pap authname "" authkey "" up >> dest 0.0.0.1 >> !/sbin/route add default -ifp pppoe0 0.0.0.1 >> >> >> Not able to get a connection. What wrong with it? >> >> >> >> -- >> Sent from: >> http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html >> >>

