ifconfig: BRDGADD lo1: invalid argument

org.freebsd.security at io7m.com org.freebsd.security at io7m.com
Sat Jun 25 23:21:49 UTC 2016


Hello!

On 2016-06-25T23:46:36 +0200
Marko Zec <zec at fer.hr> wrote:
> 
> if_bridge(4) works only with ethernet interfaces, and lo(4) isn't such a
> thing.

Has this always been the case? I'm almost certain that I set up jails
with extra loopback devices that communicated over bridges back in the
FreeBSD 6 days.

> Assuming you are using vnet jails, take a look at if_epair(4): assign
> one endpoint to the bridge, and the another one to the jail.

I'm not using vnet jails. I'm actually just trying to get filtering of
outbound traffic (see the other mail I sent to this list a few seconds
before you responded).

> If you're not using vnet jails, you should simply add an alias address
> to em0.

Could you explain a little more here?

M


More information about the freebsd-net mailing list