1. Buat topologi seperti
diatas
2. Isi ip terlebih dahulu
dan jangan lupa hidupkan interface
Di router 1 :
Router(config)#int gig0/0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
Router(config-if)#ip add 10.10.10.1 255.255.255.0
Router(config-if)#int gig0/1
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state
to up
Router(config-if)#ip ad 11.11.11.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#e
Di router 2 :
Router(config)#int gig0/0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
Router(config-if)#ip add 11.11.11.2 255.255.255.0
Router(config-if)#int gi0/1
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state
to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/1, changed state to up
Router(config-if)#ip add 12.12.12.1 255.255.255.0
Router(config-if)#e
3. lalu konfigurasi dhcp
di 2 router
Di router 1:
Router(config)#ip dhcp pool
terserahkalian
Router(dhcp-config)#net 10.10.10.0
255.255.255.0
Router(dhcp-config)#def 10.10.10.1
Router(dhcp-config)#ex
Router(config)#
Di router 2:
Router(config)#ip dhcp pool
terserah2
Router(dhcp-config)#net 12.12.12.0
255.255.255.0
Router(dhcp-config)#def 12.12.12.1
Router(dhcp-config)#ex
Router(config)#
4. Setelah itu request dhcp di
komputer masing masing dan hasilnya akan seperti di gambar
5. Maka konfigurasi telah selesai
0 Comments