Cara Configurasi RouterOS DHCP Server dan DHCP Client PC 1.1

Setup DHCP-Server


















[admin@Router] > ip address add address=192.168.1.1/24 interface=ether2
[admin@Router] > ip dhcp-server setup
Select interface to run DHCP server on

dhcp server interface: ether2
Select network for DHCP addresses

dhcp address space: 192.168.1.0/24
Select gateway for given network

gateway for dhcp network: 192.168.1.1
Select pool of ip addresses given out by DHCP server

addresses to give out: 192.168.1.51-192.168.1.100
Select DNS servers

dns servers: 8.8.8.8
Select lease time

lease time: 10m

[admin@Router] > export
/ip pool
add name=dhcp_pool0 ranges=192.168.1.51-192.168.1.100
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=ether2 name=dhcp1
/ip address
add address=192.168.1.1/24 interface=ether2 network=192.168.1.0
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=8.8.8.8 gateway=192.168.1.1

VPC/Laptop
dhcp



[admin@Router] > ip dhcp-server lease print





Semoga Bermanfaat
Penulis : Een Pahlefi,S.Kom

0 Response to "Cara Configurasi RouterOS DHCP Server dan DHCP Client PC 1.1"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel