install tftp, dhcp on fedora feat docsis cm


install paket via yum :  dhcpd xinetd
create dir /tftpboot


konfigurasi tftp server :

[root@batam-center ~]# cat /etc/xinetd.d//tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        disable = no
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             =  -s /tftpboot
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}


 konfigurasi dhcp server

[root@batam-center ~]# cat /etc/dhcpd.conf
#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#   see dhcpd.conf(5) man page
#

authoritative;
ddns-update-style none;
option time-servers 202.169.22.16;
log-facility local7;
default-lease-time 604800;
max-lease-time 777600;
option domain-name-servers 192.168.1.107;
option domain-name "batammedianet.com";
Shared-network hfc_batam {

subnet 192.168.1.0 netmask 255.255.255.0 {
        }

subnet 192.168.200.0 netmask 255.255.255.252 {
        }

subnet 172.16.0.0 netmask 255.255.0.0 {
        option routers 172.16.0.1;
        next-server 172.16.0.1;
        }
}

group {filename "config64.bin"; host cm-172.16.0.77 {hardware ethernet 00:1a:66:72:73:88; fixed-address 172.16.0.77;}}
group {filename "docsis1.1_simple.bin"; host cm-172.16.0.200 {hardware ethernet 00:1e:46:bf:35:20; fixed-address 172.16.0.200;}}

{ 0 komentar... read them below or add one }

Posting Komentar