From owner-freebsd-net@FreeBSD.ORG Mon Nov 1 16:53:08 2010 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 8265A106566C for ; Mon, 1 Nov 2010 16:53:08 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id EBADB8FC15 for ; Mon, 1 Nov 2010 16:53:07 +0000 (UTC) Received: (qmail 18772 invoked by uid 0); 1 Nov 2010 16:53:06 -0000 Received: from 79.107.31.205 by rms-eu010.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Mon, 01 Nov 2010 17:40:17 +0100 From: "Nikos Vassiliadis" Message-ID: <20101101165305.95100@gmx.com> MIME-Version: 1.0 To: freebsd-net@freebsd.org X-Authenticated: #46156728 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: Q8n9dBMRMmA6V9Mnq2NnpEE5MjQ1N503 X-FuHaFi: 0.51000000000000001 Subject: strange entry in the routing table 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, 01 Nov 2010 16:53:08 -0000 Hi, While using proxy arp and the same IP address on multiple interfaces, I noticed a strange entry in the routing table. 192.168.73.60      link#1             UHS         2        0    lo0 => 192.168.73.60/32   link#3             U           0        0 epair0 The 192.168.73.60/24 address is assigned on an ethernet interface. Then I assign 192.168.73.60/32 on some epairs with vnets and use proxyall to proxy arp. I believe what I am doing is supported(?) and everything seems to work as expected. Yet this routing table entry is strange. Thanks for any insights, Nikos lab# ifconfig em0: flags=8843 metric 0 mtu 1500        options=9b        ether 08:00:27:17:c3:de        inet 192.168.73.60 netmask 0xffffff00 broadcast 192.168.73.255        inet6 fe80::a00:27ff:fe17:c3de%em0 prefixlen 64 scopeid 0x1        nd6 options=29        media: Ethernet autoselect (1000baseT )        status: active lo0: flags=8049 metric 0 mtu 16384        options=3        inet 127.0.0.1 netmask 0xff000000        inet6 ::1 prefixlen 128        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2        nd6 options=21 lab# netstat -rnfinet Routing tables Internet: Destination        Gateway            Flags    Refs      Use  Netif Expire default            192.168.73.1       UGS         0       13    em0 127.0.0.1          link#2             UH          0        0    lo0 192.168.73.0/24    link#1             U           1      113    em0 192.168.73.60      link#1             UHS         0        0    lo0 lab# ifconfig epair create epair0a lab# ifconfig epair create epair1a lab# ifconfig epair0a 192.168.73.60/32 lab# ifconfig epair1a 192.168.73.60/32 lab# arp -an ? (192.168.73.60) at 02:c0:44:00:05:0a on epair1a permanent [ethernet] ? (192.168.73.60) at 02:c0:44:00:03:0a on epair0a permanent [ethernet] ? (192.168.73.1) at 00:13:33:07:90:90 on em0 expires in 970 seconds [ethernet] ? (192.168.73.194) at 70:1a:04:f7:4e:3c on em0 expires in 1194 seconds [ethernet] ? (192.168.73.60) at 08:00:27:17:c3:de on em0 permanent [ethernet] lab# netstat -rnfinet Routing tables Internet: Destination        Gateway            Flags    Refs      Use  Netif Expire default            192.168.73.1       UGS         0       13    em0 127.0.0.1          link#2             UH          0        0    lo0 192.168.73.0/24    link#1             U           1      197    em0 192.168.73.60      link#1             UHS         2        0    lo0 => 192.168.73.60/32   link#3             U           0        0 epair0 lab#