On 2020-01-25, Peter Wong <peterap...@gmail.com> wrote:
> Dear All,
> I'm trying to setup openbsd as router but could not get any internet
> connection.
> I need to set my external interface to vnetid 500. Below is my
> configuration:
>
> /etc/hostname.vlan500
> -inet vnetid 500 parent fxp0 up
>
> /etc/hostname.pppoe0
> inet 0.0.0.0.0 255.255.255.255 NONE pppoedev *vlan500 *authproto chap \
> authname "username" authkey "pass" up
> dest 0.0.0.1
> !/sbin/route add default -ifp pppoe0 0.0.0.1
>
> Questions:
> 1. How to diagnose pppoe connection, any log file?
> 2. Should the vlan interface name follow vlan or vnetid?
> 3. Does it need to change the pppoedev interface to fxp0 or vlan500 or
> something else?

Many ISP access concentrators seem to require that the priority field
in the vlan header is set to a specific value (often 0 IIRC).

Try "txprio 0" on the vlan interface, but you will need to upgrade
first, 6.0 is too old.


Reply via email to