Re: routing problem

2010-07-09 Thread Christian Taube
Am Fri, 9 Jul 2010 14:19:42 -0700 schrieb Matt S : > [internet - DSL Modem - 192.168.0.1]--[bge0:192.168.0.254 - > OpenBSD 4.7 - em0:10.40.60.1]--[Laptop - DHCP] > ping my laptop from the OpenBSD box. Since my default gateway is > effectively 192.168.0.1, I am puzzled as to why I

from pppoe(8) to pppoe(4) - how to run a script on IP address change?

2010-07-09 Thread Christian Taube
Hello, I exchanged the hardware of my firewall/NAT-router from an old 400 MHz AMD K6-2 to an 1.6 GHz Intel Atom N270 CPU. I was using the user-space pppoe(8) driver to connect to my internet provider. On the new hardware, the connection was very slow with about 200kb/s instead of the usual 700kb/

Re: from pppoe(8) to pppoe(4) - how to run a script on IP address change?

2010-07-10 Thread Christian Taube
Am Fri, 9 Jul 2010 18:31:33 -0700 schrieb Matthew Dempsky : > You might try the program below. Just compile with: > > cc -O2 -o watchaddr watchaddr.c > > You can then run something like: > > ./watchaddr -i pppoe0 /path/to/script > I just fiddled around with your program and I think I

OpenBSD stops responding on switching loop

2010-07-16 Thread Christian Taube
Hello, I was playing with a a gigabit ethernet network switch I just installed while I found out that my pppoe-firewall/router running OpenBSD 4.7 stopped responding. No packets where going through, I couldn't ping the OpenBSD machine itself, and the serial console was not working either. The mom

Re: OpenBSD stops responding on switching loop

2010-07-16 Thread Christian Taube
Am Fri, 16 Jul 2010 23:47:20 +0300 schrieb Jussi Peltola : > Does the machine recover after the loop is gone? I waited for about ten or fiveteen minutes, without success.

Re: OpenBSD stops responding on switching loop

2010-07-16 Thread Christian Taube
Am Fri, 16 Jul 2010 23:26:18 +0200 schrieb Janusz Gumkowski : > Are you sure the switch didn't put this port in some 'disabled' > state that would require your action to manually re-enable it ? I'm rather sure about this. Network looks like this: +-+ re0 -[ Netg