On Thu, Jul 06, 2006 at 11:02:32AM +0200, [EMAIL PROTECTED] wrote:
> pppoedev xl1
> !/sbin/ifconfig xl1 up
> !/usr/sbin/spppcontrol \$if myauthproto=pap myauthname=MYTEL \
> myauthkey=MYPASS
> !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
> !/sbin/route add default 0.0.0.1
> up
..
> Kind regards,
> Sebastian
if you ifconfig pppoe0 you should see an IP address like this:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
dev: rl1 state: session
sid: 0x1cdf PADI retries: 1 PADR retries: 0 time: 00:01:56
groups: pppoe egress
inet 89.48.16.171 --> 0.0.0.1 netmask 0xffffffff
inet6 fe80::211:9ff:fecb:9532%pppoe0 -> prefixlen 64 scopeid 0xb
in my case the IP for the moment was 89.48.16.171.
After that make sure net.inet.ip.forwarding is 1, and enable pf(4) NAT if you
have private IP's. Do read the pppoe(4) manpage ("man 4 pppoe") and make sure
you consider the scrub mss stuff. You may want to enable that. If you've been
given a bunch of static IP's make sure the ISP even routes them to you, you can
debug this with tcpdump and another connection and ping.
Oh yeah, you fail to mention your OpenBSD version, I think in 3.9-current they
got rid of spppcontrol. Might wanna check.
regards,
-peter
--
Here my ticker tape .signature #### My name is Peter Philipp #### lynx -dump
"http://en.wikipedia.org/w/index.php?title=Pufferfish&oldid=20768394" | sed -n
131,136p #### So long and thanks for all the fish!!!