From owner-freebsd-net@FreeBSD.ORG Sat Apr 6 00:07:38 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4520F6B2 for ; Sat, 6 Apr 2013 00:07:38 +0000 (UTC) (envelope-from lists@rewt.org.uk) Received: from abby.lhr1.as41113.net (hosted.mx.as41113.net [91.208.177.22]) by mx1.freebsd.org (Postfix) with ESMTP id 14605338 for ; Sat, 6 Apr 2013 00:07:36 +0000 (UTC) Received: from [172.16.9.23] (bella.stf.rewt.org.uk [91.208.177.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by abby.lhr1.as41113.net (Postfix) with ESMTPSA id 3ZjJ9r2Tgvz3X for ; Sat, 6 Apr 2013 01:07:28 +0100 (BST) Message-ID: <515F6734.2040302@rewt.org.uk> Date: Sat, 06 Apr 2013 01:07:16 +0100 From: Joe Holden User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: rarpd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 00:07:38 -0000 Hi guys, I'm trying to make rarpd behave, but it doesn't seem to want to listen on vlan interfaces, or at least not mine: The machine is a router with two interaces: vr0 - routable ip address that pf performs nat on vr1 - several vlan interfaces of which I want rarpd to listen on one, vr1.9 (I've tried renaming it to no avail) If I use rarpd vr1.9 (or vr1, or anything other than vr0) it exits, output from truss: connect(3,{ AF_UNIX "/var/run/logpriv" },106) = 0 (0x0) sendto(3,"<27>Apr 6 01:05:13 rarpd[40520]"...,47,0x0,NULL,0x0) = 47 (0x2f) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) process exit, rval = 1 Whereas specifying vr0 outputs: connect(4,{ AF_UNIX "/var/run/logpriv" },106) = 0 (0x0) sendto(4,"<31>Apr 6 01:05:41 rarpd[40522]"...,77,0x0,NULL,0x0) = 77 (0x4d) ioctl(3,BIOCGBLEN,0xbfbfe6c0) = 0 (0x0) I can't see any mention of this in the manpage, is this a known issue because well, reverse arp is entirely irrelevant in 2013 or something I can easily fix (nfs booting an OpenBSD machine, why they can't use dhcp/bootp like everyone else I don't know) Cheers, Joe