Konfigurasi Static NAT dan Dinamic NAT

TUGAS PERTEMUAN 11
ADMINISTRASI JARINGAN

  1. STATIC NAT
  • PERTAMA, kita buat skema jaringan dan masukan IP server, dan PC

IP SERVER

IP PC0

IP PC1
  • KEDUA, konfigurasi Router0

Router>enable
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 26.26.26.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)#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

Router(config-if)#exit
Router(config)#

  • KETIGA, konfigurasi Router1
Router>enable
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 26.26.26.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.10.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.10.5 26.26.26.50
Router(config)#ip nat inside source static 192.168.10.6 26.26.26.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 26.26.26.1
Router(config)#

  • TEST PING, pada server
  • SELESAI

2. DINAMIC NAT

  • PERTAMA, buatlah skema jaringan lalu isikan alamat IP pada server dan PC.
SKEMA JARINGAN

IP PC 2

IP SERVER

IP PC 3

  • KEDUA, Konfigurasi Router0
Router>ena
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 26.26.26.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

Router(config-if)#exit

  • KETIGA, Konfigurasi Router1
Router>ENA
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip address 26.26.26.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.10.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 pool FILTER 26.26.26.50 26.26.26.100 netmask 255.255.255.0
Router(config)#ip nat inside source list 1 pool FILTER
Router(config)#access-list 1 permit 192.168.10.0 0.0.0.255
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 26.26.26.1

  • KEMUDIAN, test PING pada server melalui PC client
test PING


REFERENSI

https://youtu.be/bc2t-UlL8Do
https://youtu.be/5csIbZmW1Vo

Komentar

Postingan populer dari blog ini

Configure RPVST+ | Administrasi Jaringan Komputer

Praktikum Routing

MEMBUAT JARINGAN LEGACY INTER-VLAN ROUTING