From owner-freebsd-questions@FreeBSD.ORG Thu Dec 24 05:41:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 133871065676 for ; Thu, 24 Dec 2009 05:41:34 +0000 (UTC) (envelope-from xkyanh@gmail.com) Received: from mail-yw0-f198.google.com (mail-yw0-f198.google.com [209.85.211.198]) by mx1.freebsd.org (Postfix) with ESMTP id BE1188FC0A for ; Thu, 24 Dec 2009 05:41:33 +0000 (UTC) Received: by ywh36 with SMTP id 36so7303024ywh.15 for ; Wed, 23 Dec 2009 21:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:organization:x-operating-system:x-mailer:user-agent :x-face:face:mime-version:content-type:content-transfer-encoding; bh=43A7HgZBC6Nqr9aL6bvM/i/CooI9lZaHUnPQvyENdAQ=; b=hkbQAf8lOCcMmX/9bhGeV7/UM24CDcaSYlN/IP17oo/LQM4AA1g4bLhq/LLWa33AyB y+mGlK4cGzKFXL8gEP1PGUYR/liosxw60GGY29enrEg6eYo4gwZfWoydkanEswq2WHaA j0R2ARt5TwaA/E8N/whyhRf2LWuuZE38gEVpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:organization:x-operating-system :x-mailer:user-agent:x-face:face:mime-version:content-type :content-transfer-encoding; b=xQif0oiV/WHV7FNErFAd8y8JL/5N260BzFPgYHdIwZepebBeSkP2TSuwkBV4m5YtLE T95E1SE2oJsmO+gy1U39/2cr0+dxb6Zhan9sYdNnusATKlGFtudJNS2UEmfqDVsdNujA x4yPGHdgFFrskZMm+Ai8ZBxtNeq5hIdKpbwO8= Received: by 10.101.5.27 with SMTP id h27mr5990868ani.12.1261633293145; Wed, 23 Dec 2009 21:41:33 -0800 (PST) Received: from icy.localdomain ([118.69.224.251]) by mx.google.com with ESMTPS id 20sm6931529iwn.9.2009.12.23.21.41.31 (version=SSLv3 cipher=RC4-MD5); Wed, 23 Dec 2009 21:41:32 -0800 (PST) Date: Thu, 24 Dec 2009 12:08:05 +0700 From: "Anh Ky Huynh" To: freebsd-questions@freebsd.org Message-ID: <20091224120805.355feac9@icy.localdomain> Organization: Vietnamese TeX Users Group X-Operating-System: Windows 98 X-Mailer: Moveup mail client (windows 98) User-Agent: Moveup mail on Windows 98 X-Face: no-face Face: no-face Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: epair0a routes to lo0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 05:41:34 -0000 Hi all, I created epair devices by using ifconfig $ ifconfig epair1 create $ ifconfig epair1a inet 10.0.4.3 netmask 0xffffff00 broadcast 10.0.4.255 $ ifconfig epair1a inet 10.0.4.1 netmask 0xffffff00 broadcast 10.0.4.255 alias Thing makes me confused is that the routing table $ netstat -rantfinet Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGS 0 0 em0 10.0.4.0/24 link#6 U 0 0 epair1 10.0.4.1 link#6 UHS 0 0 lo0 10.0.4.3 link#6 UHS 0 0 lo0 127.0.0.1 link#5 UH 0 0 lo0 Why are 10.0.4.1 and 10.0.4.3 routed to lo0? (I expected that it would be em0). Thank you for your replies, Regards, -- Anh Ky Huynh