♾ī¸DHCP Server


Introduction

DHCP is the abbreviation of Dynamic Host Configuration Protocol. DHCP is a protocol used for dynamic distribution of IP addresses on computer networks. By using DHCP you can configure the IP address on each device on the computer network automatically. On computer networks that do not implement DHCP, the network administrator must manually configure the IP address on each device, this will of course take more time and is inefficient. Especially on large-scale computer networks.

Configuration Router

Add IP Address

Router>en
Router#conf term
Router(config)#
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.100.1 255.255.255.0
Router(config-if)#no shut

Configure DHCP Server

Router(config)#service dhcp
Router(config)#ip dhcp pool pool1
Router(dhcp-config)#network 192.168.100.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.100.1
Router(dhcp-config)#dns-server 192.168.100.10
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 192.168.100.11 192.168.100.254

Configure Server

Domain Name System

HTTP Website

<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Website Rizwan</title>
</head>
<body>
    <h1>Welcome To My Website</h1>
    <p>Hi! Iam <b>Rizwan Fairuz Mamduh</b>, I like movie, music, and snack..</p>
</body>
</html>

Last updated