From owner-freebsd-net@FreeBSD.ORG Sat Aug 23 01:20:03 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D36FF90 for ; Sat, 23 Aug 2014 01:20:03 +0000 (UTC) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D329F396D for ; Sat, 23 Aug 2014 01:20:02 +0000 (UTC) Received: by mail-qg0-f47.google.com with SMTP id i50so10813173qgf.20 for ; Fri, 22 Aug 2014 18:20:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=A5nomO7AQGlCjDV+SPrTMPyFSlrU3BRTq8fzAqlWvZY=; b=h466hnHRxH1j8e4qCcwVn6oAaM0hh8YAEHRUSc4bfa2dt78uKJ/SzJBhNCyugSFDg1 j8ercEpEHDiFrdomyDgoV1LOKYFCE6QsDStgK/GWgDuzzEfx5b1eMBaxZ8JocxyE/D7n tZ0IYOsRYTb0egqJfWbfBtgEC6vcVIzeYP9PNV8be3/W5vB44KAWef2hvKa6/IC0T8ws cxCH+Ej3tpb8KXEr4p6OmBwGpYk1U57c3CN9V7r86THGJus079OoAXkro+Z/Qj9QFtzz eQZJZR7t2ZmZseGRGktlXyc43REaomt4ng6B369CWT9h/RCA4gpMB4sJBQECmS6usUow H+Nw== MIME-Version: 1.0 X-Received: by 10.140.22.19 with SMTP id 19mr8701569qgm.18.1408756801854; Fri, 22 Aug 2014 18:20:01 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.39.139 with HTTP; Fri, 22 Aug 2014 18:20:01 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Aug 2014 18:20:01 -0700 X-Google-Sender-Auth: GUd-UK_QylDlS7v4YBLd9aQ3Cp0 Message-ID: Subject: Re: Set arbitrary protocol for route? From: Adrian Chadd To: Josh Moore Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 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, 23 Aug 2014 01:20:03 -0000 On 22 August 2014 15:39, Josh Moore wrote: > I am trying to add a local route with an arbitrary protocol number. This is done with iproute2 in Linux by: > > ip route add to local $ip/32 dev eth0 proto $num > > How can I do this in FreeBSD 10? > What's that supposed to do? -a