Merubah IP server di RHEL9
Nama : Nur Cahyo Hutomo
Kelas : XI ACP
Langkah-Langkah Merubah IP server :
1. nmcli connection modify ens18 ipv4.address 192.168.30.210/24
Fungsi : Mengatur alamat IP statis (static IP address) untuk interface ens18.
2. nmcli connection modify ens18 ipv4.gateway 192.168.30.254
Fungsi : Mengatur gateway default untuk koneksi ens18.
3. nmcli connection modify ens18 ipv4.dns 8.8.8.8 192.168.30.210
Fungsi : Mengatur DNS server menjadi dua: 8.8.8.8 (Google DNS) dan 192.168.30.210.
4. nmcli connection modify ens18 ipv4.dns 8.8.8.8
Fungsi : Mengatur hanya satu DNS server yaitu 8.8.8.8.
5. nmcli connection modify ens18 ipv4.dns 192.168.30.254
Fungsi : Mengatur DNS server lokal ke 192.168.30.254.
6. nmcli connection modify ens18 ipv4.method manual
Fungsi : Mengatur metode konfigurasi IP menjadi manual (statis).
Komentar
Posting Komentar