Re: rp_filter equivalent?

Mason Loring Bliss <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
On Sun, Jun 29, 2025 at 09:48:58PM -0400, Paul Procacci wrote:

> The "fix" your problem ......
> You need to create a bridge.
> Add your main interface to the bridge.
> You can assign your .10 to the bridge.
> Then, you can create your epair.
> Assign the a side the bridge and the b side to your jail.
> Add your .50 the the 'b' side, and add the default route of .1.

Hrm, hrm. That's what I was doing first. I was basing it off what I use
here:

    https://wiki.freebsd.org/MasonLoringBliss/JailsEpair

In fact... I... am pretty sure I did exactly what you're suggesting, but
the system told me I couldn't set a default route in the jail because it
wasn't a legal address.

So: NIC, epair0a in bridge0; epair0b in vnet jail. If epair0b had the
correct (floating) address I couldn't set the default route, because the
default route was in an unrelated /24. I had to set epair0a to something in
the same /24 for me to get a default route set for epair0b, and I had to
break epair0a out of the bridge.

I'll mess with it again sometime soon because I feel like it really ought
to have worked the way I set it up first. I'll report back here with more
details. It's working now, but I really don't like *how* it's working.

-- 
Mason Loring Bliss  ((   If I have not seen as far as others, it is because
 [email protected]   ))   giants were standing on my shoulders. - Hal Abelson
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEEXtBZz1axB5rEDCEnrJXcHbvJVUFAmhh9OUACgkQnrJXcHbv
JVWtEg//bEtFlEaUyWfV6NuBukZCSVkPwooGjlpczR8GbWQhs9OPKqnr1BauJ9PC
2Uns6FZQEEBNgv7rR9dnznQc4/AJ6Z/ok2V6OVGPLHG6jAdTGtGPx2jStqrW2S/U
rkkSy7aCBfRDZE9in0WmFvt0ShZedXuYw03KbWvl19qTY4xidySSxNKGrMF+/2nc
CjxGlH4Dw2jBAjp7gL2/glKyowJ18C443FGPy3RJyftIHI6VI+0trj/SV/h8PLjl
gIdOzFgzZxNJryy41TajwzwuUrTRlFphgvExnLTJNivU3Ewijfqg2HYdGt6fhaob
IFCCXze/+/gusDEkFaLLVgUtjcpPCv9ki0VETS4w0+IQ4/OFVlw5LH6Y2tnQxVtb
lsHCBV7IQ/J79WIknNhZfyInfThT87c6OvKWN5xlF6fi3Gfga2X04DcMk4xCbj5s
Aglbu5HP9XtC290vm/YpSr1PxPmwUBh6xThY79hXt7lFr41sCG0BhxQLzrq6mKLj
X3CLiOhX1ioOxQLKsJfWAZskqwjclXhwCJnFpX8dxQRaskEbXfVT0hrrFUXPf8AT
ZQ2jpyt598+uD7pyTYTsYEvPbrAuuQEK33XpInk6DaB1JyBun3Cr5JShLB3Jzvai
p7b8e4Y+gvciL0jJDWBqhWFG2/vD55UBq4dYvo7goskcVP4zDVo=
=/Thv
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.