Hi,
1) I have set kernel pppoe with the following options (I have only one NIC
directly connected to my dsl modem) :
# cat /etc/hostname.pppoe0
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev em0 authproto pap \
authname 'user' authkey 'pass' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1
2) authentication and remote/local IP seem to acquired fine (ifconfig output
follows)
pppoe0: flags=8855<UP,DEBUG,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
priority: 0
dev: em0 state: session
sid: 0x1d1e PADI retries: 0 PADR retries: 0 time: 00:13:01
sppp: phase network authproto pap authname "user"
groups: pppoe egress
status: active
inet 10.0.128.0 --> 83.235.1.86 netmask 0xffffffff
3) default route is set correctly
Internet:
Destination Gateway Flags Refs Use Mtu Prio
Iface
default 83.235.1.86 UGS 0 68 - 8
pppoe0
10.0.128.0 10.0.128.0 UHl 0 0 - 1 lo0
83.235.1.86 10.0.128.0 UH 0 0 - 8
pppoe0
127/8 127.0.0.1 UGRS 0 0 32768 8 lo0
127.0.0.1 127.0.0.1 UHl 1 0 32768 1 lo0
192.168.1/24 192.168.1.2 UC 2 0 - 8 em0
192.168.1.2 00:50:56:bd:6e:be UHLl 0 0 - 1 lo0
192.168.1.4 d8:cb:8a:3c:25:60 UHLc 2 15928 - 8 em0
192.168.1.100 00:0c:29:61:90:5c UHLc 0 10 - 8 em0
192.168.1.255 192.168.1.2 UHb 0 0 - 1 em0
224/4 127.0.0.1 URS 0 0 32768 8 lo0
4) LCP communication seems to be OK:
pppoe0: lcp output <echo-req id=0x23 len=8 f2-90-df-78>
pppoe0 (8864) state=3, session=0x1d1e output -> 00:90:1a:41:fa:4b, len=16
pppoe0: lcp input(opened): <echo-reply id=0x23 len=8
f7-8e-bb-fd-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00>
Despite the fact that everything seems to work OK, I can only ping
83.235.1.86 and nothing else. I tried pinging 8.8.8.8 or my ISP's DNS
servers but for some reason this is not possible.
I am on OpenBSD 5.8 running under esxi 6.
Any ideas?
Thank you for your time,
George
--
View this message in context:
http://openbsd-archive.7691.n7.nabble.com/pppoe-kernel-authentication-works-but-no-internet-tp292480.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.