From owner-freebsd-arm@freebsd.org Thu Oct 15 14:45:32 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47461A15852 for ; Thu, 15 Oct 2015 14:45:32 +0000 (UTC) (envelope-from george@vagner.com) Received: from p3plsmtpa11-08.prod.phx3.secureserver.net (p3plsmtpa11-08.prod.phx3.secureserver.net [68.178.252.109]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 225871985 for ; Thu, 15 Oct 2015 14:45:31 +0000 (UTC) (envelope-from george@vagner.com) Received: from [192.168.0.128] ([172.242.226.83]) by p3plsmtpa11-08.prod.phx3.secureserver.net with id VSlM1r00B1obfVo01SlRU2; Thu, 15 Oct 2015 07:45:30 -0700 Subject: Re: pi2+ natd issue and ipnat issue To: Dmytro Dudenko , freebsd-arm@freebsd.org References: <20151002143835.GO65719@corpmail.liquidneon.com> <561BC242.6060205@vagner.com> <561F3F3B.7040106@laser.ru> From: laszlo vagner Message-ID: <561FBC01.1030909@vagner.com> Date: Thu, 15 Oct 2015 10:45:21 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <561F3F3B.7040106@laser.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2015 14:45:32 -0000 thanks for the reply dmytro, i have tried a few images and so far no luck getting natd to stay running once i send it a packet IE: add the natd rule to the firewall rules. wondering if the core dump will reveal anything as to why it crashed. also wondering if maybe some switches need to be added somewhere to maybe natd config or my network interfaces. i pretty much cant use this as a router this way. George On 10/15/2015 1:52 AM, Dmytro Dudenko wrote: > Dear Laszlo Vagner, > > I notice similar things with natd using FreeBSD-11.0 and a build-in > network card. > Natd is alive until a packet-flow starts. > I thought I have misconfigured my RPI2 (which might still be the case) > although I have absolutely the same settings on my working i386-machine. > > Hopefully I find a solution of my problem here, in case someone knows > the answer. > > wbr, Dmytro. > > Am 12.10.2015 um 16:22 schrieb laszlo vagner: >> i just installed the 10/08 snapshot on my rasberry pi2+ board and was >> attempting to use it for a gateway by using a USB network card and the >> onboard card for routing. >> >> i successfully got both interfaces up and working and the firewall is up >> and working >> but if i try and run natd it dies with signal 10 almost immediately, if >> i try and run ipnat instead it also dies but nothing in messages telling >> me why. >> >> so i thought that maybe the USB network card was the issue and said ok, >> ill just use a wireless usb card, i configured the wireless card to >> connect up to my access point and got that working fine. tried to run >> natd crash again signal 10 bus error. >> >> anyone know if the kernel was built with ipdivert option or if that is >> the problem? >> >> the interfaces are ue0 and ue1 and i tried to swap them as the inside >> and outside net cards with same problem. >> >> im at a loss as to why natd wont run and it makes my PI useless as a >> router. >> >> >> >> Oct 11 18:04:17 rpi2 kernel: ifa_maintain_loopback_route: deletion >> failed for interface ue0: 3 >> Oct 11 18:05:29 rpi2 kernel: pid 1195 (natd), uid 0: exited on signal 10 >> (core d >> Oct 11 18:06:53 rpi2 kernel: pid 1557 (natd), uid 0: exited on signal 10 >> (core d >> >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >