Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 14:15:33 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        wishmaster <artemrts@ukr.net>, freebsd-net@freebsd.org
Subject:   Re: Network issues while jails are starting
Message-ID:  <2deee082-1dca-b93f-39f7-33d4c4f5b09d@grosbein.net>
In-Reply-To: <1562134249.868399000.r0je57so@frv50.fwdcdn.com>
References:  <1562134249.868399000.r0je57so@frv50.fwdcdn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2deee082-1dca-b93f-39f7-33d4c4f5b09d>