Diberdayakan oleh Blogger.
Unduh Adobe Flash player

Konfigurasi DHCP di Cisco VS Mikrotik

Dengan asumsi topologi sbb :
jasa instalasi jaringan komputer
Dan asumsi alokasi IP DHCP sbb:
IP FastEthernet : 192.168.1.1
Network : 192.168.1.0
Netmask : 255.255.255.0


Berikut konfigurasi di Cisco router :
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip dhcp pool skynet
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#exit
Router(config)#interface fa0/0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ip address 192.168.1.1 255.255.255.0
dan tara..
Berikut hasilnya, PC Client sudah dapat IP Address dari DHCP Server router Cisco.
jasa instalasi jaringan komputer


Nah, sekarang kalo di Mikrotik gimana ya? Ayo kita ikuti langkah berikut untuk seting DHCP Server di Mikrotik (pakai mode text).



[admin@SkyNet] > ip dhcp-server setup
Select interface to run DHCP server on

dhcp server interface: ether1
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.2-192.168.1.254
Select DNS servers

dns servers:
8.8.8.8
Select lease time

lease time:
00:10:00
[admin@SkyNet] >
Nah, sekarang tinggal kita cek, apakah PC A dan PC B sudah mendapatkan IP atau belum.
[admin@SkyNet]> ip dhcp-server lease print
Flags: X – disabled, R – radius, D – dynamic, B – blocked
 #   ADDRESS                MAC-ADDRESS       HOST-NAME     SERVER      STATUS
 0 D 192.168.1.2         00:26:22:8F:6A:D1 acer-295bf… dhcp1        bound
 1 D 192.168.1.3         00:26:22:1A:6C:4F acer-300bf… dhcp1        bound

Alhamdulillah, sudah mendapatkan IP Address dari DHCP Server Mikrotik.

Semoga membantu. 


Syawal Nugrahanto

0 komentar:

Posting Komentar