The hostname.filename should follow vlan or vnetid? Regards, ------------------------------ Peter Wong 016-396 3326
On Wed, Jan 22, 2020 at 2:35 PM Peter J. Philipp <[email protected]> wrote: > On Wed, Jan 22, 2020 at 09:49:18AM +0800, Peter Wong wrote: > > Yes, my ISP operate pppoe with vlan. How to configure my fxp0 using vlan > id > > 500? > > > > > > Regards, > > ------------------------------ > > Peter Wong > > 016-396 3326 > > Hi Peter Wong, > > My PPPoE router uses VLAN id #7 (IEEE 802.1q protocol), this is how I set > up > the vlan: > > eta$ more /etc/hostname.vlan7 > description "T-Online Internet" > vnetid 7 parent cnmac0 > up mtu 1508 > eta$ ifconfig vlan7 > vlan7: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1508 > lladdr fc:ec:da:04:8d:68 > description: T-Online Internet > index 9 priority 0 llprio 3 > encap: vnetid 7 parent cnmac0 txprio packet rxprio outer > groups: vlan > media: Ethernet autoselect (1000baseT full-duplex) > status: active > > You may make your vlan similarly by setting vnetid to 500. And then > instead of > your fxp interface you'd use vlan. In my case it's vlan7. > > Hope that helps, > -peter >

