Konfigurasi DHCP Server dan DHCP Client pada Router Mikrotik RB 951Ui-2HnD

IT Newbie
21 Jan 202110:37

Summary

TLDRIn this educational YouTube video by Riswan on the Youbi channel, viewers are guided through the process of configuring a DHCP server and client on a MikroTik router. The video begins with a connection setup and a demonstration of resetting the router to default settings using Winbox. Following this, Riswan configures the DHCP client on the router's ether1 interface connected to the internet and sets up the DHCP server on ether2, which is connected to a computer network. The tutorial covers obtaining an IP address automatically through the DHCP client, setting up the DHCP server to assign IP addresses to connected devices, and ensuring internet connectivity for the connected devices by configuring routing and source NAT. The video concludes with a successful demonstration of internet access and a reminder to configure DNS for uninterrupted browsing.

Takeaways

  • πŸ˜€ The video demonstrates how to configure a DHCP server and client on a MikroTik router.
  • πŸ”§ The presenter uses Winbox, a software provided by MikroTik, to access and configure the router.
  • πŸ’» The MikroTik router is reset to factory settings at the beginning of the tutorial.
  • 🌐 The router's interfaces are set up to connect to the internet and a local computer network.
  • πŸ“‘ The DHCP client is configured on the interface connected to the internet (ether1).
  • 🏒 The DHCP server is set up on the interface connected to the local computer network (ether2).
  • πŸ“ The DHCP server is configured with a static IP range, and the router's MAC address is used for identification.
  • πŸ”„ The DHCP client automatically obtains an IP address, gateway, and DNS settings from the DHCP server.
  • 🌐 The video shows how to enable IP forwarding to allow internet access through the router.
  • πŸ› οΈ The tutorial concludes with a demonstration of successful internet browsing, indicating proper configuration.
  • πŸ“ The video ends with a reminder to follow proper Islamic greetings, reflecting the presenter's cultural context.

Q & A

  • What is the purpose of the video?

    -The purpose of the video is to demonstrate how to configure a DHCP server and DHCP client on a MikroTik router.

  • What application is used to connect to the MikroTik router?

    -The application used to connect to the MikroTik router is Winbox, which can be downloaded from mikrotik.com.

  • How does one connect to the MikroTik router using Winbox?

    -To connect to the MikroTik router using Winbox, one must open Winbox, click on 'New' to create a new connection, select the router, enter the IP address, and log in with the username 'admin' and a blank password.

  • What is the first step the presenter takes after connecting to the router?

    -The first step the presenter takes after connecting to the router is to perform a factory reset by checking 'Reset configuration to default' and clicking 'Yes'.

  • How does the presenter configure the DHCP client on the router?

    -The presenter configures the DHCP client by navigating to 'IP' > 'DHCP Client', adding a new client, selecting the interface 'ether1', and applying the settings.

  • What is the IP address obtained by the router after setting up the DHCP client?

    -After setting up the DHCP client, the router obtains an IP address of 192.168.1.10.

  • What does the presenter do to enable the DHCP client?

    -The presenter enables the DHCP client by clicking on the 'Enable' button in the DHCP Client settings.

  • How does the presenter configure the DHCP server on the router?

    -The presenter configures the DHCP server by navigating to 'IP' > 'DHCP Server', clicking on 'Setup', selecting the interface 'ether2', and following the setup wizard steps.

  • What IP address range is used for the DHCP server configuration?

    -The IP address range used for the DHCP server configuration is 10.20.30.1/24.

  • How does the presenter ensure that the computer connected to the router can access the internet?

    -The presenter ensures internet access by configuring IP forwarding and setting up a NAT rule in the router's configuration.

  • What is the final step the presenter takes to demonstrate internet connectivity?

    -The final step the presenter takes is to test internet connectivity by attempting to browse a website like 'detik.com'.

Outlines

00:00

πŸ˜€ Setting Up DHCP Client on MikroTik Router

The speaker begins by greeting the audience and introducing the topic of configuring a DHCP server and client on a MikroTik router. They guide the viewers on how to connect the router to the internet and use the Winbox application for configuration. After connecting, the speaker demonstrates how to log in as an admin and reset the router to default settings. They then proceed to configure the DHCP client on the router's ether1 interface, which is connected to the internet. The speaker explains the steps to add a new DHCP client, select the appropriate interface, and apply the settings. They conclude by showing that the router has successfully obtained an IP address automatically from the DHCP client, highlighting the convenience of not having to manually set the IP address.

05:00

πŸ”§ Configuring DHCP Server and Client on MikroTik

In this segment, the speaker focuses on setting up the DHCP server on the MikroTik router. They explain how to configure the IP address for the ether2 interface, which is connected to the local network, and then proceed to set up the DHCP server on the same interface. The speaker walks through the process of creating a DHCP server, selecting the appropriate interface, and defining the IP range that will be assigned to devices on the network. They also demonstrate how to enable the DHCP server and ensure that the computer connected to the router receives an IP address automatically from the DHCP server. The speaker then shows how to configure the computer's network settings to obtain an IP address from the MikroTik router's DHCP server, verifying that the computer has received an IP address and can access the internet.

10:05

🌐 Finalizing DHCP Setup and Testing Internet Connectivity

The final paragraph covers the completion of the DHCP configuration and testing the internet connectivity. The speaker ensures that the DHCP server is set up correctly on the MikroTik router and that the computer is configured to use the DHCP client. They demonstrate how to configure port forwarding on the router to allow internet access for the connected computer. The speaker also shows how to verify that the computer can access the internet by browsing websites. They conclude the tutorial by summarizing the steps taken to configure the DHCP server and client on the MikroTik router and testing the setup's functionality, ending the video with a farewell greeting.

Mindmap

Keywords

πŸ’‘DHCP Server

A DHCP Server is a network service that automatically assigns IP addresses to devices on a network, so they can communicate with other devices. In the video, the DHCP Server is configured on a MikroTik router, which is a critical step for allowing devices to connect to the internet and communicate within the network. The script mentions setting up the DHCP Server on the MikroTik router's ether2 interface, which is connected to the local network of computers.

πŸ’‘DHCP Client

A DHCP Client is a protocol used by devices to request and obtain an IP address from a DHCP Server. In the context of the video, the DHCP Client is configured on the MikroTik router's ether1 interface, which is connected to the internet. This setup allows the router to automatically receive an IP address from the internet service provider, facilitating internet access for the network.

πŸ’‘Winbox

Winbox is a software application used to configure and manage MikroTik routers. The script describes using Winbox to connect to the MikroTik router, perform a factory reset, and configure both the DHCP Server and Client. It is the primary tool used in the video to interact with the router's settings.

πŸ’‘MAC Address

A MAC Address is a unique identifier assigned to network interfaces for communications on the physical network segment. In the video, the MAC address of the MikroTik router is mentioned as part of the process to reconnect after a factory reset, highlighting its importance in device identification and network configuration.

πŸ’‘Interface

In networking, an interface refers to a network connection point, such as an Ethernet port on a router. The script discusses configuring interfaces on the MikroTik router, specifically ether1 for internet access and ether2 for local network access, to set up the DHCP Client and Server respectively.

πŸ’‘IP Address

An IP Address is a numerical label assigned to devices participating in a computer network that uses the Internet Protocol for communication. The video explains how to configure the IP address on the router's interfaces and how devices receive IP addresses automatically from the DHCP Server, exemplified by the IP address 192.168.1.10 obtained by the router's ether1 interface.

πŸ’‘Gateway

A Gateway is a network node that provides a path to other networks or systems. In the video, the Gateway is set as part of the DHCP Client configuration, allowing devices to access networks beyond their local network. The script mentions the Gateway IP address 192.168.1.1, which is crucial for routing traffic to the internet.

πŸ’‘DNS

DNS stands for Domain Name System, which translates human-friendly domain names (like 'google.com') into IP addresses that computers use to identify each other on the network. The video script includes the configuration of DNS servers, which are necessary for devices to resolve domain names into IP addresses, such as the DNS servers 202.134.0.15 and 8.8.8.8.

πŸ’‘Factory Reset

A Factory Reset is the process of restoring a device to its original settings as manufactured. In the video, the MikroTik router is factory reset to ensure a clean setup for the DHCP Server and Client configuration. This step is demonstrated as part of the initial setup process in the script.

πŸ’‘Ethernet

Ethernet is a family of computer networking technologies commonly used for local area networks (LAN). The script refers to Ethernet when discussing the physical connections on the MikroTik router, specifically ether1 and ether2, which are used to connect to the internet and local network respectively.

πŸ’‘NAT

NAT, or Network Address Translation, is a method of remapping one IP address space into another by modifying network address information in the IP header of packets while they are in transit across a traffic routing device. In the video, the script mentions setting up NAT on the MikroTik router to allow multiple devices to share a single public IP address to access the internet.

Highlights

Introduction to configuring a DHCP server and client on a MikroTik router.

Preparation and connection of the MikroTik router to the internet.

Downloading and using Winbox to connect to the MikroTik router.

Remote login to the MikroTik router as an administrator.

Resetting the MikroTik router to default settings.

Reconnecting to the MikroTik router after the reset.

Configuring the DHCP client on the MikroTik router's ether1 interface.

Enabling the DHCP client to automatically obtain an IP address.

Verification of the automatically obtained IP address from the DHCP client.

Explanation of the DHCP client's function to simplify IP address configuration.

Setting up the DHCP server on the MikroTik router's ether2 interface.

Configuring the IP address for the ether2 interface connected to the computer.

Creating a DHCP server pool and assigning IP addresses to connected devices.

Enabling the DHCP server to start assigning IP addresses.

Adjusting the computer's network settings to use the DHCP client.

Obtaining an IP address from the MikroTik DHCP server by the connected computer.

Configuring NAT and firewall rules to allow internet access through the MikroTik router.

Testing internet connectivity after the DHCP server and client configuration.

Conclusion and closing remarks on configuring DHCP on MikroTik routers.

Transcripts

play00:00

Halo assalamualaikum warahmatullahi

play00:04

wabarokatuh jumpa lagi dengan saya

play00:05

Riswan di channel YouTube Youbi pada

play00:08

video kali ini saya akan mempraktekkan

play00:10

cara konfigurasi DHCP server dan DHCP

play00:13

client pada router mikrotik eh sudah

play00:18

saya siapkan perutnya dan sudah saya

play00:20

sambungkan kepekaan dan ke internet coba

play00:26

kita buka dengan menggunakan aplikasi

play00:28

Winbox ke yang belum memperoleh aplikasi

play00:31

Winbox bisa didownload melalui

play00:35

mikrotik.com Oke kita buka Winbox ya eh

play00:41

di sini sudah saya sambungkan mikrotik

play00:49

ke komputer ya dimana terlihat di sini

play00:54

method inilah rb951ui 2hnd Coba kita

play00:57

remote terlebih dahulu login sebagai

play01:00

admin

play01:00

halo passwordnya kosong kemudian

play01:02

kognitif

play01:05

hai oke sekarang sudah kita remote

play01:08

mikrotik nya sekarang saya coba reset

play01:11

dulu masuk ke sistem kemudian reset

play01:16

configuration di ceklis nol default

play01:20

configuration dan do not backup Keh

play01:23

kemudian reset Yes kita tunggu sebentar

play01:29

oke sedang melakukan reset jadi

play01:36

mikrotiknya akan rystad jadi ini kita

play01:40

matikan terlebih dahulu oke nanti kita

play01:44

coba remote kembali

play01:47

okeh sudah bisa dirimu ada muncul enggak

play01:51

oke sudah muncul Oh kita harimau kembali

play01:58

mikrotiknya dengan menggunakan MAC

play01:59

address ke ini adalah Mac addressnya

play02:01

jadi sama ya dengan MAC address yang ada

play02:03

di sini login sebagai admin passwordnya

play02:06

kosong langsung klik connect oke

play02:09

sekarang sudah masuk ke interface

play02:12

mikrotik yang kita remote Nah kita

play02:15

disini akan mengkonfigurasi DHCP server

play02:18

dan DHCP client oke oke di interfacenya

play02:24

ya oke yang terhubung ke ether1 ini

play02:28

sudah running ini kita buat terhubung ke

play02:32

jaringan internet oke Apple Oke kemudian

play02:38

ether2 ini terhubung ke jaringan

play02:41

komputer

play02:43

hai oke Apple oke nah yang ke internet

play02:47

kita buat DHCP client dan yang ke

play02:50

komputer kita buat DHCP server Keh

play02:53

caranya adalah masuk ke IP kemudian

play02:59

dhcp-client kek jadi cara setting DHCP

play03:03

client adalah langsung diklik ID

play03:07

kemudian di AJB klien Oke Langsung

play03:12

ditambahkan ini ada tempat tambah

play03:15

kemudian pilih interfacenya ether1

play03:19

internet jadi yang kece satu internet

play03:21

yang kita buat dcp klien selanjutnya

play03:24

apply kemudian Ok dia akan terlipat

play03:29

[Musik]

play03:35

akhir-akhir ini masih posisi stop ya

play03:38

kita enable kan dulu oke dia akan

play03:42

searching sudah Bond kita lihat IP

play03:45

address-nya Berapa IP address-nya adalah

play03:48

1921681.1 puluh Oke Eh itu untuk IP

play03:53

addressnya Keh jadi kita sudah

play03:58

memperoleh aib secara otomatis karena

play04:02

kita menggunakan DHCP client itu

play04:04

sebenarnya fungsi dari DHCP client jadi

play04:07

kita tidak repot-repot setting IP

play04:10

address Coba kita lihat yay IP address

play04:12

dari ether1 ini sudah langsung nampak

play04:16

disini 1.10 ini ada huruf d artinya a

play04:22

dynamic jadi otomatis diperoleh dari

play04:26

server ke dari server jadi ada di sana

play04:30

server dibuat di internetnya yaitu

play04:33

dcp server makanya dia bisa memperoleh

play04:36

ID dari DJP server.key ip-nya sudah ada

play04:43

tentu DNS juga sudah ada kayak ginilah

play04:48

DNS nya 202.134 titik 0.15 dan 8.8.8

play04:56

tilapan Oke kemudian otomatis juga kita

play05:00

peroleh gituin keyp root kemudian ada

play05:05

sini Klik di sini begitu ini adalah ini

play05:09

ada Gateway 192.1 68.1.1 oke nah eh

play05:18

kemudian Sekarang kita coba untuk

play05:21

setting DHCP server

play05:25

Hai Oke kita buat like server pada

play05:27

komputer ether2 ether2 komputer sehingga

play05:32

nanti komputer yang saya gunakan ini

play05:35

memperoleh IP secara otomatis dari

play05:39

ether2 router mikrotik Oke caranya masuk

play05:44

ke IP kemudian DHCP server tadi dcv

play05:49

kliennya sekarang kita masuk ke DHCP

play05:50

server eh sebentar sebelum ke mari kita

play05:56

buat dulu aib address masuk dulu ya

play06:00

untuk konfigurasi DHCP server kita

play06:04

konfigurasi dulu ip-nya terlebih dahulu

play06:06

ip pada ether2 komputer kayak masuk ke

play06:09

aib kemudian address kita tambahkan kita

play06:15

masukkan misalnya ipnya 10.20.30 titik

play06:20

satu selesai 24 interfacenya adalah

play06:25

header2 kek

play06:31

Ayo kita masukkan dulu HIV pada ether2

play06:34

kemudian apply kemudian klik ok ip pada

play06:39

ether2 sudah dibuat sekarang kita

play06:42

setting DHCP server pada ether2 ke

play06:46

caranya masuk ke ID kemudian dia CP

play06:50

server eh untuk konfigurasinya langsung

play06:55

di setup yaitu klik DCT setup disini

play07:00

Tentukan DHCP servernya yang mana

play07:04

interfacenya saya buat disini adalah

play07:06

ether2 komputer Oke kemudian next

play07:10

kemudian next next saja Oke next

play07:16

Kya gampang next next aja Oke next

play07:20

kemudian oke nah sekarang dia CV server

play07:24

pada router mikrotik sudah kita buat

play07:28

tapi laptop belum di setting ya komputer

play07:34

belum disetting masuk ke Open Network in

play07:37

internet setting kita lihat internetnya

play07:40

kemudian change adapter absen masuk ke

play07:44

ethernet yang digunakan komputer saya

play07:49

gunakan ethernet ya properties kita

play07:54

lihat dengan turun ip-nya di sini dia

play07:57

paint oke di sini aku time kemudian

play08:00

disini juga ada Time I

play08:03

Hai kemudian Oke jadi kalau mau setting

play08:07

secara manual pakai ini use the

play08:10

following IP address Oke Jadi ketikan

play08:12

disini fans-nya jadi kalau mau

play08:15

menggunakan DHCP client atau otomatis

play08:19

pilih yang abstain kayak jadi ini enggak

play08:22

bisa jadi enggak usah diketik lagi nanti

play08:25

oke kan oke kita lihat ya Airnya sudah

play08:29

dapat ya pilih yes di sini kita lihat ya

play08:37

caranya klik dua kali disini kemudian

play08:40

klik detail ip-nya adalah 10 20 30 titik

play08:46

254 jadi Sudah diperoleh ip-nya dari

play08:49

DHCP server tadi yang ada pada router

play08:52

mikrotik eh eh

play08:56

Hai ip-nya yang ini kemudian default

play09:00

gatewaynya 1020 30.1 DNS nya 202.134

play09:05

00.15 dan 8.8.8 titik 8 oke nah supaya

play09:13

komputer bisa terhubung ke internet kita

play09:15

harus seting Ahnaf ya supaya internet

play09:21

bisa dibagi oleh mikrotik ke komputer

play09:24

karena kalau bengkak dibuat Misalnya ini

play09:28

jadi belum bisa browsing deh misalnya

play09:33

YouTube Oke belum bisa jadi kita buat

play09:39

disini not masuk eigrp file word not

play09:44

Kemudian ditambahkan Kenya src-nat out

play09:49

interfacenya adalah ether1 dari

play09:51

internetnya asal internetnya itu untuk

play09:55

out

play09:56

Hai interface actionnya jangan lupa

play09:59

dibuat meski uret Oke apply kemudian Ok

play10:04

Sekarang kita coba untuk browsing

play10:08

internet sudah bisa detik.com Oke sudah

play10:14

bisa juga kayak kira-kira seperti itu

play10:16

cara konfigurasi IP eh sorry cara

play10:24

konfigurasi DHCP server dan DHCP client

play10:28

pada router mikrotik eh saya akhiri

play10:32

Assalamualaikum warahmatullahi

play10:35

wabarakatuh ya

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
MikroTikDHCP ConfigurationNetworkingRouter SetupWinboxIP AddressInternet SetupRemote AccessNetwork ClientServer Management