From owner-freebsd-questions Tue May 30 10:52:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cyrix.mypeecee.org (node14729.a2000.nl [24.132.71.41]) by hub.freebsd.org (Postfix) with ESMTP id 59ACC37B756 for ; Tue, 30 May 2000 10:51:57 -0700 (PDT) (envelope-from theroge@mypeecee.org) Received: by cyrix.mypeecee.org (Postfix, from userid 1001) id 9C9AF49210; Tue, 30 May 2000 19:51:57 +0200 (CEST) Subject: natd dumps core (signal 10) To: freebsd-questions@freebsd.org Date: Tue, 30 May 2000 19:51:57 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20000530175157.9C9AF49210@cyrix.mypeecee.org> From: theroge@mypeecee.org (Rogier Meurs) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've been working with natd for a long time with no problems, serving my LAN from a 1 IP address cable connection. Now that I've added ADSL I've been having problems. NAT from the cable connection still works, but when using it on the tun interface it dumps core. Strange enough, it works *sometimes*, seemingly randomly. I'm wondering if I'm doing something wrong, whether it's a bug in natd, whether it has to do with my Cyrix P166+ CPU or something else. Relevant configuration details (ed1: cable, ed2: lan, ed3: adsl modem, tun0: ppp adsl): root@cyrix [/etc/ppp]# ifconfig -a ed1: flags=8843 mtu 1500 inet 24.132.71.41 netmask 0xfffffe00 broadcast 24.132.71.255 ether 52:54:00:da:27:23 ed2: flags=8843 mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 52:54:00:da:1f:e7 ed3: flags=8843 mtu 1500 ether 00:00:b4:c7:5e:24 tun0: flags=8051 mtu 1492 inet 194.134.111.194 --> 194.134.111.193 netmask 0xffffff00 root@cyrix [/etc/ppp]# ipfw list 00100 divert 6668 ip from any to any via tun0 00200 allow ip from any to any via lo0 ... 65535 allow ip from any to any root@cyrix [/etc/ppp]# ps wwaux | grep natd root 3647 0.0 0.9 864 540 ?? Ss 11:10AM 0:01.02 /usr/sbin/natd -use_sockets -same_ports -unregistered_only -dynamic -interface tun0 root@cyrix [/etc/ppp]# route get default route to: default destination: default mask: default gateway: a001.adsl.euronet.nl interface: tun0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 0 Note: these two interfaces run like a charm, problems only occur when using NATD. The -alias switch on ppp also give trouble. It stops requests coming in from the cable interface being replied via the tun interface. Any ideas? -- Rogier Meurs - rogier@meurs.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message