Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 08:26:30 -0700
From:      Peter Grehan <grehan@freebsd.org>
To:        =?ISO-8859-1?Q?Olivier_Cochard-Labb=E9?= <olivier@cochard.me>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve's VM loose network connectivity after a reboot
Message-ID:  <53F60FA6.8080905@freebsd.org>
In-Reply-To: <CA%2Bq%2BTcqNHub-4Mx3AWyv7spgtOv0j5VwWUUp49Qw8_TS9P5Uwg@mail.gmail.com>
References:  <CA%2Bq%2BTcqNHub-4Mx3AWyv7spgtOv0j5VwWUUp49Qw8_TS9P5Uwg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Olivier,

> I'm using bhyve from a 11.0-CURRENT (r270177) host and I meet a problem
> after a VM (guest using fbsd -current too) is rebooted: This VM loose
> network connectivity once rebooted.
> vtnet interface seems OK from the VM, like the tap interface on the host:
> tap status correctly display the new bhyve PID number in its "Opened by"
> section.
>
> But this VM didn't send packet anymore: a "tcpdump -i tap-interface" from
> the host didn't show any packet after a reboot.
>
> Is there something special to do in the "while [ 1 ]" loop of my script,
> other than simply restarting bhyve for fixing this issue ?

  Do you have the net.link.tap.up_on_open sysctl set to 1 ? (didn't see 
that in the BSDRP-lab-bhyve.sh script, if that's the one you're using)

later,

Peter.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53F60FA6.8080905>