From owner-freebsd-virtualization@FreeBSD.ORG Wed May 18 18:07:32 2011 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA3031065672 for ; Wed, 18 May 2011 18:07:32 +0000 (UTC) (envelope-from frank@zzattack.org) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3360A8FC14 for ; Wed, 18 May 2011 18:07:31 +0000 (UTC) Received: by ewy1 with SMTP id 1so803273ewy.13 for ; Wed, 18 May 2011 11:07:30 -0700 (PDT) Received: by 10.213.34.12 with SMTP id j12mr837533ebd.80.1305742050612; Wed, 18 May 2011 11:07:30 -0700 (PDT) Received: from [10.31.45.20] (237-89-ftth.onsneteindhoven.nl [88.159.89.237]) by mx.google.com with ESMTPS id y5sm1339755eeh.13.2011.05.18.11.07.29 (version=SSLv3 cipher=OTHER); Wed, 18 May 2011 11:07:29 -0700 (PDT) Message-ID: <4DD40AD2.9000602@zzattack.org> Date: Wed, 18 May 2011 20:07:14 +0200 From: Frank Razenberg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org References: <4DD3F6AF.6070503@zzattack.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: epair not reachable outside host X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 18:07:32 -0000 As requested [root@ /root]# ifconfig -a em0: flags=8943 metric 0 mtu 1500 options=219b ether bc:ae:c5:27:ae:57 media: Ethernet autoselect (1000baseT ) status: active em1: flags=8943 metric 0 mtu 1500 options=219b ether bc:ae:c5:27:ae:57 media: Ethernet autoselect (1000baseT ) status: active usbus0: flags=10001 metric 0 mtu 0 usbus1: flags=10001 metric 0 mtu 0 usbus2: flags=10001 metric 0 mtu 0 usbus3: flags=10001 metric 0 mtu 0 usbus4: flags=10001 metric 0 mtu 0 usbus5: flags=10001 metric 0 mtu 0 usbus6: flags=10001 metric 0 mtu 0 lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 vboxnet0: flags=8802 metric 0 mtu 1500 ether 0a:00:27:00:00:00 lagg0: flags=8943 metric 0 mtu 1500 options=219b ether bc:ae:c5:27:ae:57 inet 10.31.45.11 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.13 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.14 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.15 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.16 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.17 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.54 netmask 0xffffff00 broadcast 10.31.45.255 inet 10.31.45.10 netmask 0xffffff00 broadcast 10.31.45.255 media: Ethernet autoselect status: active laggproto lacp laggport: em1 flags=1c laggport: em0 flags=1c bridge0: flags=8843 metric 0 mtu 1500 ether 32:9f:31:8f:6a:1c id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: lagg0 flags=143 ifmaxaddr 0 port 12 priority 128 path cost 20000 member: epair0a flags=143 ifmaxaddr 0 port 14 priority 128 path cost 2000 epair0a: flags=8943 metric 0 mtu 1500 ether 02:a6:7d:00:0e:0a [root@ /root]# arp -an ? (10.31.45.16) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.17) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.20) at 00:1b:21:7d:70:94 on lagg0 expires in 1196 seconds [ethernet] ? (10.31.45.54) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.10) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.11) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.13) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.14) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.15) at bc:ae:c5:27:ae:57 on lagg0 permanent [ethernet] ? (10.31.45.1) at 00:24:01:2a:37:52 on lagg0 expires in 1200 seconds [ethernet] [root@ /root]# ndp -n -i bridge0 linkmtu=0, maxmtu=0, curhlim=64, basereachable=30s0ms, reachable=36s, retrans=1s0ms Flags: nud accept_rtadv [root@ /root]# ndp -n -i epair0a linkmtu=0, maxmtu=0, curhlim=64, basereachable=30s0ms, reachable=15s, retrans=1s0ms Flags: nud accept_rtadv [root@ /root]# ndp -n -a Neighbor Linklayer Address Netif Expire S Flags [root@ /root]# [root@ /root]# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.31.45.1 UGS 83 625017 lagg0 10.31.45.0/24 link#12 U 11 2393 lagg0 10.31.45.10 link#12 UHS 0 19 lo0 10.31.45.11 link#12 UHS 0 67 lo0 10.31.45.13 link#12 UHS 0 0 lo0 10.31.45.14 link#12 UHS 0 0 lo0 10.31.45.15 link#12 UHS 0 0 lo0 10.31.45.16 link#12 UHS 0 0 lo0 10.31.45.17 link#12 UHS 0 0 lo0 10.31.45.54 link#12 UHS 0 42503 lo0 127.0.0.1 link#10 UH 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%lo0/64 link#10 U lo0 fe80::1%lo0 link#10 UHS lo0 ff01:a::/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 Frank On 5/18/2011 7:10 PM, Bjoern A. Zeeb wrote: > On May 18, 2011, at 4:41 PM, Frank Razenberg wrote: > >> The combination of VirtualBox 4.0.6 + VIMAGE gave me a lot of kernel panics so yesterday I checked out 8.2-STABLE and VirtualBox 4.0.8. The kernel panics are mostly gone. My problem now is that the epair interface is not reachable from any pc other than the freebsd host. Services on the jail can be accessed from the host but inside the jail no network connectivity seems to work. >> I've put epair0a and lagg0 on a bridge. This used to work. Is there anything I am missing or is this a bug? > Someone output of ifconfig -a, arp -an, ndp -n, netstat -rn, ... would > certainly help. I am aware of one bug that epair can stop passing packets > but ETIME currently to look. > > /bz >