• [FAQ] Cara Konfigurasi IP Static di Linux

    Cara yang saya gunakan ini adalah yang lewat console, berbeda jika anda menggunakan GUI. Cara setting IP static adalah sebagai berikut:

    1. Buka file /etc/network/interfaces

    nano /etc/network/interfaces

    2. Masukkan konfigurasi dibawah ini dan sesuaikan dengan kebutuhan anda

    auto eth0
    iface eth0 inet static
        address 172.16.128.130
        network 172.16.128.0
        netmask 255.255.255.0
        broadcast 172.16.128.255
        gateway 172.16.128.2
        nameserver 172.16.128.2

    3. Restart service networking

    /etc/init.d/networking restart

    4. Selesai

    Comments

    Add new comment

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.
    Type the characters you see in this picture. (verify using audio)
    Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.