Hi all,
I can't make this one work, though I think it's close. I'm setting up a OpenBSD 4.4 firewall (pf). I have ADSL-connection to my ISP with dynamically assigned ip. My DSL-modem is a bridge-type modem which is connected to the BSD machine, on which I run the built in PPPoE-daemon.
The interface connecting to the DSL-modem is rl0.
My /etc/hostname.rl0:
My /etc/hostname.pppoe0:
Code:
pppoedev rl0
!/sbin/ifconfig rl0 up
inet 0.0.0.0 255.255.255.255 NONE authproto chap authname 'username@tele2adsl8' authkey 'password' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1
(of course username and password are the credentials I received from my ISP)
After I reboot or run the /etc/netstart i keep an eye on the ifconfig pppoe0:
Code:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
dev: rl0 state: PADI sent
sid: 0x0 PADI retries: 5 PADR retries: 0
sppp: phase establish authproto chap authname "username@tele2adsl8"
groups: pppoe egress
inet6 fe80::219:5bff:fe7f:4d51%pppoe0 -> prefixlen 64 scopeid 0x7
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
After a few attempts (PADI retries) it's terminated:
Code:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
dev: rl0 state: session
sid: 0xcbe7 PADI retries: 6 PADR retries: 0 time: 00:00:03
sppp: phase terminate authproto chap authname "username@tele2adsl8"
groups: pppoe egress
inet6 fe80::219:5bff:fe7f:4d51%pppoe0 -> prefixlen 64 scopeid 0x7
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
The PPPoE-client is talking to the DSLAM right? But something goes wrong. Am i missing out on the syntax somewhere?
Btw; pf is disabled during these tests.
I have tried the connection with a Netgear WLAN Router with built in PPPoE-client, and that works like a charm with the same log in credentials so I know the ISP-connection is OK.
Any ideas I can try out?
Thanx in advance.
/G