Update Networking/Docker/Creating a MACVLAN Sub-Interface.md
This commit is contained in:
@ -4,7 +4,7 @@ You may find that you only have one network adapter on a server / VM and need to
|
|||||||
!!! info "Assumptions"
|
!!! info "Assumptions"
|
||||||
It is assumed that you are running Rocky Linux (or CentOS / RedHat).
|
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`.
|
You will begin with making a new interface, it will have the name `macvlan0`.
|
||||||
``` sh
|
``` sh
|
||||||
nmcli connection add type macvlan ifname surveillance dev ens18 mode bridge ipv4.method manual ipv4.addresses 192.168.4.100/24
|
nmcli connection add type macvlan ifname surveillance dev ens18 mode bridge ipv4.method manual ipv4.addresses 192.168.4.100/24
|
||||||
|
Reference in New Issue
Block a user