Date: Wed, 27 Jan 2021 20:54:49 -0500 From: petru garstea <peter.garshtja@ambient-md.com> To: Kristof Provost <kp@FreeBSD.org> Cc: freebsd-jail@freebsd.org Subject: Re: Jails - vnet- netgraph Message-ID: <1ea707ea-0d0e-3f10-b544-77b1bccdddca@ambient-md.com> In-Reply-To: <4F2D1547-7B59-427E-850D-8BC0AB26ED78@FreeBSD.org> References: <5eebbbcf-9912-d980-21e3-c5628005421b@ambient-md.com> <60105725.3010703@gmail.com> <1cdee0f4-a684-0c7d-f4b7-377d5a29d722@ambient-md.com> <4F2D1547-7B59-427E-850D-8BC0AB26ED78@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Greetings, Finally, I sorted out. I have copied an example from the following path /usr/share/examples/netgraph/ether.bridge and found out that I needed to load modules into the kernel ng_socket.ko ng_bridge.ko ng_ether.ko ng_eiface.ko and jng script start working, I spawned a jail and confirmed that vnet netgraph interface was properly configured However I have another question, if I run ifconfig on the host I dont see in the list the netgraph bridge interface and the jails ether interface, I can see these interfaces only if run ngctl list Name: ng0_vnetjail Type: eiface ID: 00000010 Num hooks: 1 Name: re0 Type: ether ID: 00000005 Num hooks: 2 Name: ngctl1544 Type: socket ID: 00000017 Num hooks: 0 Name: re0bridge Type: bridge ID: 0000000b Num hooks: 3 Please advise Cheers, Petru Garstea On 1/27/21 5:36 AM, Kristof Provost wrote: > On 27 Jan 2021, at 3:59, petru garstea wrote: >> In the recent FreeBSD magazines it was mentioned that "bridging" was >> refactored and I would like to know if that might be impacted the >> netgraph bridge. >> > No, the if_bridge changes do not affect the netgraph code. > > Best regards, > Kristof
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ea707ea-0d0e-3f10-b544-77b1bccdddca>