From owner-freebsd-current@FreeBSD.ORG Mon Nov 5 16:21:41 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 184D8CB3 for ; Mon, 5 Nov 2012 16:21:41 +0000 (UTC) (envelope-from alexandre.martins@netasq.com) Received: from work.netasq.com (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id A2AAF8FC16 for ; Mon, 5 Nov 2012 16:21:39 +0000 (UTC) Received: from pc-alex.netasq.com (unknown [10.2.200.254]) by work.netasq.com (Postfix) with ESMTPS id D0DB5270586B for ; Mon, 5 Nov 2012 17:21:38 +0100 (CET) From: Alexandre Martins To: freebsd-current@freebsd.org Subject: Some question about IPv4 routes Date: Mon, 05 Nov 2012 17:21:34 +0100 Message-ID: <8632523.6dTPfJQh0d@pc-alex.netasq.com> Organization: NETASQ User-Agent: KMail/4.8.4 (FreeBSD/8.2-RELEASE; KDE/4.8.4; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10638258.ekYFtC3Pqe"; micalg="sha1"; protocol="application/pkcs7-signature" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 16:21:41 -0000 --nextPart10638258.ekYFtC3Pqe Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Dears, Since FreeBSD 8.0, there is some changes about routing table, in particular the IPv4 'link-local' route. In my case, i have this config: em0 192.168.0.1 / 24 In FreeBSD < 8, if I run 'route get 192.168.0.0', it tell me : =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- route to: 192.168.0.0 destination: 192.168.0.0 mask: 255.255.255.0 interface: em0 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -537398 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- And in FreeBSD >= 8 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- route: writing to routing socket: No such process =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- In addition, if I run a ping on network and broadcast address (ping 192.168.0.0; ping 192.168.0.255) In Freebsd < 8, a new route was created and i can see it in 'netstat -rn -af inet' =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Internet: Destination Gateway Flags Refs Use Netif Expire 192.168.0.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 em0 => 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 em0 => =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- But not in FreeBSD >= 8 So, why is the broadcast route not created in FreeBSD >= 8 ? And why is the command 'route get 192.168.0.0' fail in FreeBSD >= 8 ? Regards -- Alexandre Martins NETASQ -- We secure IT --nextPart10638258.ekYFtC3Pqe--