Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 May 2022 08:13:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 240106] VNET issue with ARP and routing sockets in jails
Message-ID:  <bug-240106-29815-2TwHYrrCKa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240106-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240106-29815@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240106

O. Hartmann <ohartmann@walstatt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ohartmann@walstatt.org

--- Comment #19 from O. Hartmann <ohartmann@walstatt.org> ---
Hello.
We also have an similar issue on FreeBSD 12.3-RELEASE-p2 (XigmaNAS, stuck at
-p2 for the moment) as described. The boxes in question do have two NICs, o=
ne
is supposed for the management (em0) access and the other one is supposed t=
o be
bound to offered services. Additionally, the second NIC (igb0) is accessible
via an IP AND serves as the physical NIC as member of a bridge for vnet jai=
ls,
which do have epair interfaces (in Xigmanas created via the FreeBSD in-tree
tool "jib").
Binding provided services as SAMBA and NFS to the second NIC (igb0) works as
expected, also ping and ssh is no problem.

Base host's IP (both NICs) and those of the jails are within the same netwo=
rk.

When it comes to the vnet jails on the bridge, of which the igb0 NIC is mem=
ber
of, trouble begins.
We use several jails on those boxes. Pinging those jails from outside the
campus network does work sporadically with some IPs, it takes a long time u=
ntil
the jail starts repsonding. Same behaviour is within the LAN.=20

We also already disabled pfil on the bridges as suggested:

device  if_bridge
net.link.bridge.ipfw: 0
net.link.bridge.allow_llz_overlap: 0
net.link.bridge.inherit_mac: 0
net.link.bridge.log_stp: 0
net.link.bridge.pfil_local_phys: 0
net.link.bridge.pfil_member: 0
net.link.bridge.ipfw_arp: 0
net.link.bridge.pfil_bridge: 0
net.link.bridge.pfil_onlyip: 0

A curiosity is that if one can ping one or two out of the five jails on the
host, in another attempt to do so one, at most two different hosts would an=
swer
the ping then and the former working pinged hosts do not anymore. It is like
gambling.

We also run another host with the very same XigmaNAS version, in that case,=
 he
second NIC is configured to be part of another network and attached to anot=
her
switch - not problem there!

In the problematic cases described above, we do not have direct access to t=
he
switches of the backend of the department, so I can't see whether I'm the
culprit (misconfiguration, misunderstanding et cetera of network technology=
).

Hope the problem could be solved anyway within FreeBSD 12.3.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240106-29815-2TwHYrrCKa>