Archive

Posts Tagged ‘Fedora Core’

Konfigurasi DHCP Server di Fedora Core

January 25th, 2007 3 comments

Konfigurasi DHCP Server di Red Hat, Fedora Core dan turunannya

Komputer A

  • Cek apakah hdcp telah terinstall dengan menggunakan perintah:
    #rpm –qa |grep dhcp
  • Yang diinstall untuk komputer server :
    dhcp-3.0.3-26
    dhcp-devel-3.0.3-26
  • Untuk komputer client:
    dhcpv6-client-0.10-16.1
  • Copykan file /usr/share/doc/dhcp-3.0/dhcp.conf.sample /etc/dhcp.conf
    #cp /usr/share/doc/dhcp-3.0/dhcp.conf.sample /etc/dhcpd.conf
  • Kalau sudah terinstall, edit file /etc/dhcpd.conf
    Edit file dhcpd.conf
    ——————————————————
    edit subnet 192.168.10.0
    option routers 192.168.10.8
    option nis_domain “wiwin.web.id”;
    option domain_name_servers 192.168.10.8;
    option dynamic_bootp 192.168.10.1 192.168.10.254
    ——————————————————
  • Jalankan service httpd : #service dhcpd start
  • Lihat statusnya : #service dhcpd status

Komputer B

  • Untuk konfigurasi client jalankan netconfig :
    #netconfig
  • Lihat file /etc/sysconfig/network-scripts/ifcfg-eth0
    ——————————————————
    DEVICE = eth0
    ONBOOT = yes
    BOOTPROTO = dhcp
    ——————————————————
  • Jalankan (restart) service network
    #service network restart
  • Sekarang lihat Ipnya pada bagian
    inet addr:192.168.10.253
Categories: Linux, Networking Tags: , ,

Bad Behavior has blocked 79 access attempts in the last 7 days.