epair0a routes to lo0?
Anh Ky Huynh
xkyanh at gmail.com
Thu Dec 24 05:41:34 UTC 2009
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
More information about the freebsd-questions
mailing list