VLANs for use with jails

Patrick M. Hausen hausen at punkt.de
Fri May 17 09:06:15 UTC 2019


Hi!

> Am 17.05.2019 um 10:58 schrieb Christian Baer <chris at debilux.org>:
> 
> Hi,
> i still can’t get it to work.

Two problems that I see:

> ifconfig_igb0="inet 10.0.3.11/24 -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
> ifconfig_vlan30="inet 10.0.3.12/24 vlan 30 vlandev igb1 description LAN“

One does not simply use addresses in the same broadcast domain on two interfaces.

> # iocage create -n "vlantest" -r LATEST defaultrouter="10.0.6.1"  vnet="on" allow_raw_sockets="1" boot="on" interfaces="vnet0:vlan60" ip4_addr="vnet0|10.0.6.13/24"
> 
> vlantest successfully created!
> * Starting vlantest
>   + Started OK
>   + Using devfs_ruleset: 5
>   + Configuring VNET FAILED

Did you compile a custom kernel? This is mandatory to use VNET at least on RELENG_11.
Not sure about RELENG_12 and I’m quite busy now. Sorry - please check yourself.

Kind regards,
Patrick
-- 
punkt.de GmbH			Internet - Dienstleistungen - Beratung
Kaiserallee 13a			Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe			info at punkt.de	http://punkt.de
AG Mannheim 108285		Gf: Juergen Egeling



More information about the freebsd-net mailing list