Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 12:17:18 +0200
From:      Ronald Klop <ronald@FreeBSD.org>
To:        Benoit Chesneau <benoitc@enki-multimedia.eu>, "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   Re: macvlan like interface ?
Message-ID:  <28910362-3c77-d03c-f974-a6eb269e1dd7@FreeBSD.org>
In-Reply-To: <3jWu3NaiKsoJqSGVoBnHlFDl-4aA2KYN1DVBHlccIeqfpCFZ5WZv4MXLPreAjuToXkyGaW4lAQae8STdEzEDfyeXoVb3888W4rSqwyqnUPg=@enki-multimedia.eu>
References:  <3jWu3NaiKsoJqSGVoBnHlFDl-4aA2KYN1DVBHlccIeqfpCFZ5WZv4MXLPreAjuToXkyGaW4lAQae8STdEzEDfyeXoVb3888W4rSqwyqnUPg=@enki-multimedia.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/2/23 23:54, Benoit Chesneau wrote:
> I read this old post :
> https://forums.freebsd.org/threads/second-mac-address-to-a-network-adapter.32176/#post-612587 <https://forums.freebsd.org/threads/second-mac-address-to-a-network-adapter.32176/#post-612587>;
> 
> Would ng_eiface + ng_bridge really replace a macvlan [1] [2] interface ? What would be the other way to have such interface?
> 
> 
> BenoƮt
> 
> [1] https://developers.redhat.com/blog/2018/10/22/introduction-to-linux-interfaces-for-virtual-networking#macvtap_ipvtap <https://developers.redhat.com/blog/2018/10/22/introduction-to-linux-interfaces-for-virtual-networking#macvtap_ipvtap>;
> [2] https://sreeninet.wordpress.com/2016/05/29/macvlan-and-ipvlan/ <https://sreeninet.wordpress.com/2016/05/29/macvlan-and-ipvlan/>;


I just read some articles about macvlan. It looks like a simplified bridge setup without showing the bridge details to the user.
https://i1.wp.com/ipwithease.com/wp-content/uploads/2021/09/MACVLAN-DP.jpg

The use of if_bridge + if_epair is a common way to create such a setup in FreeBSD.
NB: if_bridge + if_epair != ng_eiface + ng_bridge although functionality might look similar.

NB2: What are you trying to accomplish?

Regards,
Ronald.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28910362-3c77-d03c-f974-a6eb269e1dd7>