1. Buat skema jaringan terlebih dahulu
Ip pada komputer 0
Ip pada komputer 1
Ip pada server
3. Konfigurasi pada setiap router
Konfigurasi router 1 :
Router>en
Router#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
fa0/0
Router(config-if)#ip
address 24.24.24.1 255.255.255.0
Router(config-if)#no
shutdown
Router(config-if)#
%LINK-5-CHANGED:
Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int
fa1/0
Router(config-if)#ip
address 8.8.8.1 255.255.255.0
Router(config-if)#no
shutdown
Router(config-if)#
%LINK-5-CHANGED:
Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet1/0, changed state to up
Konfigurasi Router 2 :
Router>en
Router#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
fa0/0
Router(config-if)#ip
address 24.24.24.2 255.255.255.0
Router(config-if)#no
shutdown
Router(config-if)#
%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)#exit
Router(config)#int
fa1/0
Router(config-if)#ip
address 192.168.5.1 255.255.255.0
Router(config-if)#no
shutdown
Router(config-if)#
%LINK-5-CHANGED:
Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet1/0, changed state to up
Router(config-if)#exit
Router(config)#ip
nat inside source static 192.168.5.2 24.24.24.50
Router(config)#ip
nat inside source static 192.168.5.10 24.24.24.100
Router(config)#int
fa0/0
Router(config-if)#ip
nat outside
Router(config-if)#exit
Router(config)#int
fa1/0
Router(config-if)#ip
nat inside
Router(config-if)#exit
Router(config)#ip
route 0.0.0.0 0.0.0.0 24.24.24.1
Router(config)#4. Terakhir mengecek jaringannya apakah sudah tersambung
Tonton video di bawah ini agar mudah memahaminya
Tidak ada komentar:
Posting Komentar