From owner-freebsd-net@FreeBSD.ORG Mon Jul 27 19:27:26 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 877DD106564A for ; Mon, 27 Jul 2009 19:27:26 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outQ.internet-mail-service.net (outq.internet-mail-service.net [216.240.47.240]) by mx1.freebsd.org (Postfix) with ESMTP id 6F5E58FC1C for ; Mon, 27 Jul 2009 19:27:26 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 0E278B0CFA; Mon, 27 Jul 2009 12:27:26 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id BCBA22D600F; Mon, 27 Jul 2009 12:27:25 -0700 (PDT) Message-ID: <4A6DFFA1.1010709@elischer.org> Date: Mon, 27 Jul 2009 12:27:29 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Oleg Sharoyko References: <1248704237.96833.127.camel@brain.cc.rsu.ru> <4A6DE356.6040006@elischer.org> <4A6DEE30.6000108@sfedu.ru> In-Reply-To: <4A6DEE30.6000108@sfedu.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Wrong outgoing interface with multiple routing tables X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 19:27:26 -0000 Oleg Sharoyko wrote: > > Julian Elischer wrote: > >>> r61net-fbsdhost-1, / # setfib 1 /usr/sbin/sshd -o 'ListenAddress >>> 195.208.245.229:2222' -D >> >> Are you running this from inetd?. (doesnt look like it) > > No, I run this from shell merely for test purposes. First I tried to > start sshd in a usual way in a jail, but came to this simple test example. > >> btw is it 1 or -1? or -F 1? >> I can't remember if I supported just '1'. > > According to manual page it works either way and it does indeed. > >> try adding a '-' on the command >> and get back to me. > > The same results. just thought I'd check the easy thing before I looked at the hard ones :-) (the syntax changed so I wasn't sure whether it was changed in 7 and how much). does it still fail if you run it in foreground mode (no daemonizing)? > > -- > Oleg