LAB 2.2 DHCP SERVER CONFIGURATION (AUTOMATIC & STATIC)

No Comments

Hello guys! In this section we will discuss how to configure DHCP - Client on Mikrotik . The purpose of this discussion is that we are able to do DHCP Server configuration to make work easier and more efficient. First, we must know about DHCP Server. Check this out !

DHCP Server 

DCHP Server is a network server that automatically provides and assigns IP address, default gateways and other network parameters to client devices. Well the router will distribute the IP address it belongs to the request by the DHCP Client. By doing this configuration, the job will be easier and more efficient.

TOPOLOGI :

Automatic DHCP Server Configuration

1. Check the DHCP Server that we used on interface print

2. Then we create an IP address for DHCP Server by using the command ip address add address= 11.11.11.11/24 interface=ether2 In this situation i use ether2 cause ether2 directly connected to the PC, PC as client and router as DHCP Server. Check the configuration by using the command ip address print.

3. Lets do the DHCP Server Configuration setup, click the command ip dhcp-server setup.

  • DHCP Server Interface means that we are told to choose which interface to use for DHCP server.
  • DHCP Address Space means network assigned by default is ....
  • Gateways for DHCP Network , the function is for distribution to Client PC. Gateway that 
  • Addresses to give out IP address range is given for the client is
  • DNS Servers in this situation i use DNS configuration, that is 
  • Last time the function is time limitation for the client. Here is given 10 minutes where every 10 minutes the IP address will be change.
4. Check DHCP server by use the command ip dhcp-server print we can see that we succesfull do the configuration.

5. Before we test the configuration , make sure the ethernet desktot client is in a state like the picture above.

6. Next we can see that we success get the IP address, according to the configuration that has been done before.

7. Check which mikrotik client is connected to the DHCP Server by use the command ip dhcp-server lease print . We can see the hostname User-PC connected with status D dynamic, that means automatic.

Static DHCP Server Configuration

1. we will create IP DHCP Server Static for client, thats means this IP is the IP that we have determined to be obtainded by the client. First we can edit with the command ip dhcp-server lease make-static numbers=0  to create the static. Check the configuration by the command ip dhcp-server lease print we can see the status of IP address is no longer D dynamic

2. Then we set the IP address what we want with the command ip dhcp-server lease set numbers=0 address=11.11.11.20

3. Chech by type and see on the desktop, we can see that the client managed to get IP Static

Next PostPosting Lebih Baru Previous PostPosting Lama Beranda

0 komentar

Posting Komentar