Network issues while jails are starting
Eugene Grosbein
eugen at grosbein.net
Wed Jul 3 07:15:56 UTC 2019
03.07.2019 14:08, wishmaster wrote:
>
> Hi,
>
> the office's server has 6 jails and 2 bhyve virtual servers.
> The problem is when I restart server, jails start for a long time (about 6 minutes). All this time the server does not acts as router, that is no packets between interfaces. From within the server packets are transmitted and received (ping works correctly), but from LAN - no.
>
> I do not remember either this issue has appeared after upgrading to 12.0 or switching from STABLE to RELEASE branch, but this issue has been appearing for about half of year or little more.
>
> Toggle sysctl net.inet.ip.forwarding while jails are starting don't help.
>
> root at e-server: uname -a
> FreeBSD e-server 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC amd64
>
> jail_enable="YES"
> jail_parallel_start="NO"
> jail_list="basejail jdb jphp jwww jmail jdns"
> jail_reverse_stop="YES"
> Any advices?
Does your LAN use NAT service of the router and/or its DNS resolver?
You should uncomment /var/log/console.log in the /etc/syslog.conf,
create this file and reboot then read the file carefully and check whether
you NAT/DNS services start before jails.
More information about the freebsd-net
mailing list