Created
March 25, 2020 16:10
-
-
Save mehmetaydogduu/ba18f166872a1e630de584761ee36e9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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