Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2020 11:58:34 -0600
From:      "Kurt Buff - GSEC, GCIH" <kurt.buff@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Command to create multiple virtual NIC
Message-ID:  <CADy1Ce4dNe=f_KcAR3_SsRS_3rKvC86Z%2BVTLPR6ZDYQzFZPiQQ@mail.gmail.com>
In-Reply-To: <5F0C83B0.1060004@gmail.com>
References:  <5F0BABA9.9090105@gmail.com> <CADy1Ce6tiZxri5x-4Q9bxC_DD7y5qJB=4AYm-0H0BeoWHv1=Bg@mail.gmail.com> <5F0C83B0.1060004@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Generally speaking, that's not the way it works.

It's possible that you actually do need multiple virtual NICS, but I'm
betting you don't.

I believe what you want are what are often called in the networking
world "subinterfaces". This link should steer you in the right
direction:
https://www.freebsd.org/doc/handbook/network-vlan.html

Kurt

On Mon, Jul 13, 2020 at 9:54 AM Ernie Luzar <luzar722@gmail.com> wrote:
>
> Kurt Buff - GSEC, GCIH wrote:
> > What are you trying to accomplish?
> >
> > On Sun, Jul 12, 2020 at 6:33 PM Ernie Luzar <luzar722@gmail.com> wrote:
> >> Hello List;
> >> I have hardware interface em0 and want to create em1 and em2.
> >> What is command to do that?
> >>
> >> Thanks
> >
>
> Looking for command to create multiple virtual NICs to hand vlans off of.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADy1Ce4dNe=f_KcAR3_SsRS_3rKvC86Z%2BVTLPR6ZDYQzFZPiQQ>