From owner-freebsd-stable@FreeBSD.ORG Sat Mar 6 08:40:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB51F106564A for ; Sat, 6 Mar 2010 08:40:57 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by mx1.freebsd.org (Postfix) with ESMTP id 999C28FC1A for ; Sat, 6 Mar 2010 08:40:57 +0000 (UTC) Received: by qyk14 with SMTP id 14so3742915qyk.9 for ; Sat, 06 Mar 2010 00:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=oAkZ7Nl2t0sYnorUrEbZltJmK+O/V+ZvogpzRR35WgM=; b=qxpPkEoon/QwtYu2+oMrPR3V5J38OZW5r7lj23RGBgmZ7wnMNi0V7fzeUCoYtyum98 vS3BXl9gldbEVQBdz0PVoCZWzJpYdgPI7T+8A0K7jTdjd6dbG8MavwN+4EVaP5RBjneQ R1tG6nhQ6qF6geda7C5MS7QJ+ZKfiWAKEPjic= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=eqYL5LQGfaXI6vCD+voX37KRovuLFSvEnIFB/2PE6YQrECOpvF5q3pwrXr+TsyyuB3 KfuWPfXNAdQjGNlNy2xqSUi4CKYfLmKgzP1+hBh/dmzb/QYajUq5XYyJRw9XG8lZsSRM Ue2nn4GnLRATfCMifjUhwbTUGCDlHJLuWIbjk= Received: by 10.224.66.80 with SMTP id m16mr1019413qai.346.1267864847508; Sat, 06 Mar 2010 00:40:47 -0800 (PST) Received: from [192.168.31.4] (ppp-21.240.dialinfree.com [209.172.21.240]) by mx.google.com with ESMTPS id 23sm1769321qyk.3.2010.03.06.00.40.44 (version=SSLv3 cipher=RC4-MD5); Sat, 06 Mar 2010 00:40:46 -0800 (PST) Sender: "J. Hellenthal" Message-ID: <4B921430.4060302@DataIX.net> Date: Sat, 06 Mar 2010 03:37:04 -0500 From: jhell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: Matthias Gamsjager References: <1267716511.43321.3.camel@DraGoN.OTEL.net> <1267718672.43321.39.camel@DraGoN.OTEL.net> <585602e11003042244x3ce4c97fj8cc7df8d40224f3c@mail.gmail.com> In-Reply-To: <585602e11003042244x3ce4c97fj8cc7df8d40224f3c@mail.gmail.com> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable Subject: Re: route -cloning flag X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 08:40:58 -0000 On 3/5/2010 1:44 AM, Matthias Gamsjager wrote: > One thing is sure. the route won't survive a reboot. Guess you can add > it to rc.conf but I have never tried it. > check /etc/defaults/rc.conf for static_routes and its usage. Maybe you already know about this but I wanted to double check with you just in case. rc.conf(5) also has a example usage. > On Thu, Mar 4, 2010 at 5:04 PM, Iasen Kostov wrote: >> On Thu, 2010-03-04 at 17:28 +0200, Iasen Kostov wrote: >>> Hi, >>> >>> How can I simulate 'route add -net 1.1.1.1/32 -cloning -iface fxp0' on >>> FreeBSD 8.x because it appears that somebody has axed cloning ? >>> And no it does NOT work without -cloning. And I don't really want to >>> argue if it is correct or not - It worked not it doesn't ;) >>> >>> Regards, Iasen. >>> >> >> Hum when I actually got to the machine and added the route it worked >> without -cloning. I can Only guess that the on site support did >> something wrong but I really don't know what mistake can they make in >> that simple command (route add -net 1.1.1.1/32 -iface fxp0) ;) . I hope >> it will still works after reboot ... And the man page is wrong, It >> still lists -cloning as valid option, with that in mind and remote >> server one can easily lock himself out :( >> >> Regards, Iasen. >> -- jhell