Kaskus

Tech

codearm2Avatar border
TS
codearm2
[Reborn] Ubuntu Community - Part 1
ACHTUNG! READ INDEX BEFORE YOU ASK!
BAGI YANG MERASA NEWCOMER, WAJIB BACA GUIDE!!
DIHIMBAU UNTUK TIDAK MENGGUNAKAN TINYPIC BAGI YANG SHARE TUTOR, CEPET HILANG PIC NYA



[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1[Reborn] Ubuntu Community - Part 1
[Reborn] Ubuntu Community - Part 1

Upcoming:
(not)daily updated index emoticon-Stick Out Tongue
Some fixes emoticon-Big Grin
0
372.3K
10K
Thread Digembok
Mari bergabung, dapatkan informasi dan teman baru!
Linux dan OS Selain Microsoft & Mac
Linux dan OS Selain Microsoft & Mac
KASKUS Official
4.4KThread2.4KAnggota
Tampilkan semua post
duhaiAvatar border
duhai
#5025
Quote:

  1. Buka terminal.
  2. Backup file /etc/network/interfaces, /etc/default/dhcp3-server, /etc/dhcp3/dhcpd.conf dengan menggunakan command:
    Code:
    sudo cp /etc/network/interfaces /etc/network/interfaces.original
    sudo chmod -w /etc/network/interfaces.original
    sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server.original
    sudo chmod -w /etc/default/dhcp3-server.original
    sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf.original
    sudo chmod -w /etc/dhcp3/dhcpd.conf.original

  3. Pastikan eth0dan eth1 memakai static ip.
    1. Tampilkan isi /etc/network/interfaces dengan menggunakan command:
      Code:
      cat /etc/network/interfaces

    2. Pastikan ada kata staticuntuk setiap interface, contoh:
      Code:
      auto eth0
      iface eth0 inet [B]static[/B]
      address [COLOR="Red"]192.168.10.1[/COLOR]
      netmask [COLOR="Red"]255.255.255.0[/COLOR]

      auto eth1
      iface eth1 inet [B]static[/B]
      address [COLOR="DarkOrange"]10.100.100.1[/COLOR]
      netmask [COLOR="DarkOrange"]255.255.255.0[/COLOR]

      NOTE:nilai dari address dan netmask setiap interface belum tentu sama seperti di atas, set sesuai dengan keperluan.


  4. Masukan eth0 dan eth1 ke /etc/default/dhcp3-server
    1. Edit /etc/default/dhcp3-server dengan menggunakan command:
      Code:
      sudo nano /etc/default/dhcp3-server

    2. Pastikan ada entry sebagai berikut:
      Code:
      INTERFACES="[B]eth0 eth1[/B]"


  5. Set /etc/dhcp3/dhcpd.conf
    1. Edit /etc/dhcp3/dhcpd.confdengan menggunakan command:
      Code:
      sudo nano /etc/dhcp3/dhcpd.conf

    2. Masukan konfigurasi sesuai dengan kebutuhan, contoh:
      Code:
      subnet [COLOR="Red"]192.168.10.0[/COLOR] netmask [COLOR="Red"]255.255.255.0[/COLOR] {
      range 192.168.10.100 192.168.10.200;
      #option lainnya sesuai dengan kebutuhan
      }

      subnet [COLOR="DarkOrange"]10.100.100.0[/COLOR] netmask [COLOR="DarkOrange"]255.255.255.0[/COLOR] {
      range 10.100.100.5 10.100.100.200;
      #option lainnya sesuai dengan kebutuhan
      }

      NOTE:Nilai yang berwarna merah dan orange berhubungan dengan step 3b.



Sumber:
0
Ikuti KASKUS di
© 2024 KASKUS, PT Darta Media Indonesia. All rights reserved.