On Sat, Feb 09, 2019 at 05:51:27PM +1100, Adam Evans wrote:
> Hi, i'm trying to set up an OpenBSD router (6.4) on a PcEngines APU2D4 with
> Intel i210AT nics however I am having difficulties with PPPoE. I can see the
> discovery PADI packets going out using tcpdump but do not see any PADO
> response so PPPoE times out and retries sending the PADI packets.
>
> More confusing is my Netgear R7000 running DD-WRT that I want to replace with
> the APU handles PPPoE just fine and bizarrely the PADI packets look the same
> however the packets from OpenBSD don't get a response but the R7000 does.
>
>
> If config output:
the ifconfig output is a bit odd.
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 32768
> index 5 priority 0 llprio 3
> groups: lo
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
> inet 127.0.0.1 netmask 0xff000000
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1492
> lladdr 00:0d:b9:4f:74:98
> index 1 priority 0 llprio 3
> media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
> status: active
> em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0d:b9:4f:74:99
> index 2 priority 0 llprio 3
> media: Ethernet autoselect (none)
> status: no carrier
> em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0d:b9:4f:74:99
> index 2 priority 0 llprio 3
> media: Ethernet autoselect (none)
> status: no carrier
em1 is listed twice
> em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr 00:0d:b9:4f:74:9a
> index 3 priority 0 llprio 3
> groups: egress
> media: Ethernet autoselect (none)
> status: no carrier
> inet 192.168.2.103 netmask 0xffffff00 broadcast 192.168.2.255
> enc0: flags=0<>
> index 4 priority 0 llprio 3
> groups: enc
> status: active
> pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
> index 6 priority 0 llprio 3
> groups: pflog
> pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
> index 7 priority 0 llprio 0
> dev: vlan2 state: PADI sent
> sid: 0x0 PADI retries: 10 PADR retries: 0
> sppp: phase establish authproto pap authname "b8nfv2em"
> groups: pppoe
> status: no carrier
> inet 0.0.0.1 --> 0.0.0.0 netmask 0xff000000
> vlan2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1492
> lladdr 00:0d:b9:4f:74:98
> index 8 priority 0 llprio
vlan2 isn't attached to anything: you should have a line like:
encap: vnetid 2 parent em0 txprio packet
> Config files:
> ## /etc/hostname.em0:
> mtu 1492 up
>
>
> ## /etc/hostname.vlan2:
> vnetid 2 parent em0
> llprio 0
> mtu 1492
> up
the configuration file seems fine.
> ## /etc/hostname.pppoe0:
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev vlan2 authproto pap \
> authname 'redacted' authkey 'redacted' up
> mtu 1492
> llprio 0
> dest 0.0.0.1
> !/sbin/route add default -ifp pppoe0 0.0.0.1
so, could you check the configuration file of hostname.vlan2 is really
applied on the running system ?
else, could you send the whole output of ifconfig ? (but feel free to
remove pppoe0 authentification information).
thanks.
--
Sebastien Marie