Date: Tue, 30 May 2000 19:51:57 +0200 (CEST) From: theroge@mypeecee.org (Rogier Meurs) To: freebsd-questions@freebsd.org Subject: natd dumps core (signal 10) Message-ID: <20000530175157.9C9AF49210@cyrix.mypeecee.org>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 24.132.71.41 netmask 0xfffffe00 broadcast 24.132.71.255 ether 52:54:00:da:27:23 ed2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 ether 52:54:00:da:1f:e7 ed3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:00:b4:c7:5e:24 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> 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: <UP,GATEWAY,DONE,STATIC,PRCLONING> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000530175157.9C9AF49210>