Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2016 23:32:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 208001] After turning off the jail does not remove network routes
Message-ID:  <bug-208001-6-MbKLgr3cIG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208001-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208001-6@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=3D208001

Jamie Gritton <jamie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie@FreeBSD.org
             Status|New                         |Closed
         Resolution|---                         |Works As Intended

--- Comment #3 from Jamie Gritton <jamie@FreeBSD.org> ---
I suspect the problem lies in the "/24" of "re0|10.0.0.22/24".  Jail aliases
are almost always going to use the /32 netmask, which is the default if one
isn't specified.  From what I see of your netstat output, your primary addr=
ess
is on the 10.0.0.0/24 subnet.  The only time you'd want a non-/32 subnet on=
 a
jail is if your set aside a separate subnet used only for that jail.

Note this instruction from the "alias" section of ifconfig(8):
"If the address is on the same subnet as the first network address for this
interface, a non-conflicting netmask must be given.  Usually 0xffffffff is =
most
appropriate."

In any case, I was unable to reproduce this behavior.  I don't know all the
parameters of your setup, but it looks like you should just remove those
netmasks.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208001-6-MbKLgr3cIG>