Under 5.4-stable, following configuration sets up a working connection
for me:

/etc/hostname.pppoe0:

inet 0.0.0.0 255.255.255.255 NONE \
        pppoedev vlan10 authproto pap \
        authname 'XXX' authkey 'YYY' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1
#eof

/etc/hostname.vlan10:

vlan 10 vlandev rl0 up
#eof

/etc/hostname.rl0:

up lladdr 12:34:56:78:90:ab
#needed for assignment of 'static' IP
#eof

Having installed OpenBSD-5.5 amd64 the exact same configuration does
not succeed in setting up a working network connection.

I set the 'debug' flag for pppoe0 so I could see what happened:
 pppoe(8863) state=1, session=0x0 output -> ff:ff:ff:ff:ff:ff, len=18
 pppoe(8863) state=2, session=0x0 output -> aa:aa:aa:aa:aa:aa, len=42
 pppoe0: timeout
 [...]
aa:aa:aa:aa:aa:aa is a MAC I do not know.

To further check for errors, I booted a working 5.4 installation and
used tcpdump on vlan10 before restarting the pppoe interface.
As expected, I get only one PADO after sending the PADI.
This PADO is received from a well known MAC.

>From here on, everything just works using the 5.4 installation.
On 5.5, until this point (PADI sent/PADO received) there is no
difference.

For 5.4, the PADR is sent to MAC which sent PADO.
For 5.5, the PADR is sent to some other MAC I do not know.
There was neither a PADO sent from that MAC nor is there any other
occurence of that MAC in the tcpdump besides being target of PADR.

In both installations, the PADO is sent from the same MAC.
Service-Name, AC-Cookie and Host-Uniq do match.

Interestingly, the PADR to the unknown MAC includes the same AC-Cookie.

I do not know how to proceed from here on, so I would be glad to get
some advice.

Best Regards,

Thorsten Bonck

Reply via email to