Skip to content

Instantly share code, notes, and snippets.

@mehmetaydogduu
Created March 25, 2020 16:10
Show Gist options
  • Save mehmetaydogduu/ba18f166872a1e630de584761ee36e9b to your computer and use it in GitHub Desktop.
Save mehmetaydogduu/ba18f166872a1e630de584761ee36e9b to your computer and use it in GitHub Desktop.
lshw -class network
copy ens7 mac 5a:00:02:a2:a7:06
nano /etc/netplan/10-ens7.yaml
paste and change mac and ip address
network:
version: 2
renderer: networkd
ethernets:
ens7:
match:
macaddress: 5a:00:02:a2:a7:0c
mtu: 1450
dhcp4: no
addresses: [10.24.96.6/24]
netplan apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment