Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-30 Thread Heinrich Rebehn
I forgot to Cc the list, so i resend it: Dieter Rauschenberger wrote: On Sat, Dec 29, 2007 at 05:16:11AM +0100, [EMAIL PROTECTED] wrote: Either no developer uses aDSL at home (with a ISP forcing him to reconnect every 24 hours) or nobody uses OpenBSD as router or nobody uses the connection

OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread sebastian . rother
Hello guys, I set up OpenBSD as DSL router using the kernel pppoe. Because my DSL connection is faster then 10 MBit I'm using the kernel pppoe to use the bandwith. I've noticed that pf fails to do the routing/nat in such scenarios: 1. OpenBSD Router boots - It takes some seconds until pppoe0

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread Vijay Sankar
Quoting [EMAIL PROTECTED]: Hello guys, I set up OpenBSD as DSL router using the kernel pppoe. Because my DSL connection is faster then 10 MBit I'm using the kernel pppoe to use the bandwith. I've noticed that pf fails to do the routing/nat in such scenarios: 1. OpenBSD Router boots - It

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread sebastian . rother
Well with static IPs I've no problem either. It's just after the forced disconnect of the ISP and after pppoe0 got a new IP. Then NAT and routing fails. I solve this via a rule reload (after pppoe0 got a new IP) but that looks like some stonge-age method (seriously.. ). I just wonder if somebody

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread NetOne - Doichin Dokov
[EMAIL PROTECTED] P=P0P?P8QP0: Well with static IPs I've no problem either. It's just after the forced disconnect of the ISP and after pppoe0 got a new IP. Then NAT and routing fails. I solve this via a rule reload (after pppoe0 got a new IP) but that looks like some stonge-age method

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread sebastian . rother
I guess you use ($ext_if) - with brackets - instead of the IP address manually entered (which you obviously don't know). This way PF monitors the interface for changes of it's IP address and adjusts rules accordingly. You can verify if it does by doing a 'pfctl -s rules' after a reconnection,

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread NetOne - Doichin Dokov
[EMAIL PROTECTED] P=P0P?P8QP0: I guess you use ($ext_if) - with brackets - instead of the IP address manually entered (which you obviously don't know). This way PF monitors the interface for changes of it's IP address and adjusts rules accordingly. You can verify if it does by doing a 'pfctl -s

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread sebastian . rother
*cut* I'm unsure of this, too, and the man pages of hostname.if and pppoe seem unclear about this. But I guess you're right - commands will be executed only on system boot or network restart. Yes that's kinda true. I just wonder that nobody asked about a solution before. Does everybody uses a

Re: OpenBSD as DSL Router using hostname.pppoe0?

2007-12-28 Thread Dieter Rauschenberger
On Sat, Dec 29, 2007 at 05:16:11AM +0100, [EMAIL PROTECTED] wrote: Either no developer uses aDSL at home (with a ISP forcing him to reconnect every 24 hours) or nobody uses OpenBSD as router or nobody uses the connection permanently. :-/ I use the following hostname.pppoe: inet 0.0.0.0