From owner-freebsd-net@FreeBSD.ORG Sat Oct 31 13:35:17 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 453EC106566C for ; Sat, 31 Oct 2009 13:35:17 +0000 (UTC) (envelope-from zibbe@cisko.org) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id D005D8FC13 for ; Sat, 31 Oct 2009 13:35:16 +0000 (UTC) Received: by bwz5 with SMTP id 5so4625761bwz.3 for ; Sat, 31 Oct 2009 06:35:15 -0700 (PDT) Received: by 10.204.33.194 with SMTP id i2mr2164456bkd.146.1256996115418; Sat, 31 Oct 2009 06:35:15 -0700 (PDT) Received: from ?172.17.1.247? (fw.sth1.keff.org [212.247.153.198]) by mx.google.com with ESMTPS id c28sm2581981fka.54.2009.10.31.06.35.13 (version=SSLv3 cipher=RC4-MD5); Sat, 31 Oct 2009 06:35:13 -0700 (PDT) Sender: Sebastian Hyrwall Message-ID: <4AEC599F.90202@keff.org> Date: Sat, 31 Oct 2009 16:37:03 +0100 From: Sebastian Hyrwall User-Agent: Thunderbird 2.0.0.19 (X11/20081209) MIME-Version: 1.0 To: Nikos Vassiliadis References: <4AEB7AE8.5090101@keff.org> <18C758A7-1908-4D1A-BDCA-80FF7FD8BC22@mac.com> <4AEB834D.1050907@keff.org> <4AEB911E.1070104@keff.org> <4AEC2297.40805@gmx.com> In-Reply-To: <4AEC2297.40805@gmx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Hi. /31 on ethernet links 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: Sat, 31 Oct 2009 13:35:17 -0000 Nikos Vassiliadis skrev: > Sebastian Hyrwall wrote: >> Chuck Swiger skrev: >>> inside, or using a /32 and an explicit default route via your >>> ethernet interface. >>> >> Unfortunetly that doesn't work. It just sets 192.1.1.2 as broadcast. >> >> Well wrapping a /31 inside of a /30 kinda defeats the purpose :) >> > > You could still use a /32 and then add a route for the other IP via > the ethernet interface. This is effectively the same with a /31. > Does not work, # ifconfig re0.212 172.16.25.10 netmask 255.255.255.255 # route add 172.16.25.11 -iface re0.212 add host 172.16.25.11: gateway re0.212 # ping 172.16.25.11 36 bytes from 172.16.25.10: Redirect Host(New addr: 172.16.25.11) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 bdbb 0 0000 40 01 0000 172.16.25.10 172.16.25.11