Update Networking/Docker/Creating a MACVLAN Sub-Interface.md

This commit is contained in:
2025-02-06 17:27:32 -07:00
parent d3e320c82e
commit c08189c8cd

View File

@ -4,7 +4,7 @@ You may find that you only have one network adapter on a server / VM and need to
!!! info "Assumptions"
It is assumed that you are running Rocky Linux (or CentOS / RedHat).
## Create the Permanent Interface
## Create the Permanent Sub-Interface
You will begin with making a new interface, it will have the name `macvlan0`.
``` sh
nmcli connection add type macvlan ifname surveillance dev ens18 mode bridge ipv4.method manual ipv4.addresses 192.168.4.100/24