Peter

I would check the authentication protocol and cycle
through various authentication protocols to see if the isp
has only one type of authentication protocol enabled
im not certain the "\" is required, I havent had to use
that on hostname.if files (in my experience)
I see it in the manual page example but that may be
try without that ...
also keep an eye on the MTU of the PPPoE ..

if the parent interface has an MTU of 1500 Bytes...
unencrypted pppoe would have an MTU of 1492
PPPoE with encryption would need an MTU of 1488
Hope this helps





On Sat, 25 Jan 2020 at 02:16, 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?
>
> Please advise. Thank you.
>
> Regards,
> ------------------------------
> Peter Wong
> 016-396 3326
>


-- 
Kindest regards,
Tom Smyth.

Reply via email to