Date: Thu, 24 Dec 2009 12:08:05 +0700 From: "Anh Ky Huynh" <xkyanh@gmail.com> To: freebsd-questions@freebsd.org Subject: epair0a routes to lo0? Message-ID: <20091224120805.355feac9@icy.localdomain>
next in thread | raw e-mail | index | archive | help
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 <snip> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091224120805.355feac9>