Kamis, 08 Desember 2011

Hari Keenam : Lab 9 Dynamic Nat Overload


Konfigurasi R1

Ip nat pool TES 12.12.12.12 12.12.12.2 prefix-length 24
Ip nat inside source list 1 pool TES overload

Hari Keenam : Lab 8 Dynamic Nat Overload

Konfigurasi R1

Int lo0
Ip add 10.10.10.2 255.255.255.0 secondary
Ip add 10.10.10.3 255.255.255.0 secondary
Ip add 10.10.10.4 255.255.255.0 secondary
Ip add 10.10.10.5 255.255.255.0 secondary
Ip add 10.10.10.1 255.255.255.0
Ip nat inside
!
Int f0/0
Ip add 12.12.12.1 255.255.255.0
Ip nat outside
!
Ip route 0.0.0.0 0.0.0.0 12.12.12.2
!
Ip nat inside source list 1 interface s1/0 overload
!
Access-list 1 permit 10.10.10.2
Access-list 1 permit 10.10.10.3
Access-list 1 permit 10.10.10.1
Access-list 1 permit 10.10.10.4
Access-list 1 permit 10.10.10.5

Hari Keenam : Lab 7 Dynamic Nat (Load Balancing)

Pada konfigurasi ini kebalikan dari konfigurasi sebelumnya karena menggunakan ip nat inside destination bukan ip nat inside source. 

pada bagian pool, yang dituliskan adalah ip local/private nya.
pada bagian access-list yang dituliskan adalah ip publik nya.

Konfigurasi R1


Ip nat pool TES 10.10.10.1 10.10.10.5 prefix-length 24 type rotary
Ip nat inside destination list 1 pool TES
!
Access-list 1 permit 20.20.20.1

Hari Keenam : Lab 6 Dynamic NAT (Match Host)



Alokasi bagian host ip local akan sama dengan bagian host ip publik nya

10.10.10.1 - 20.20.20.20.1
10.10.10.2 - 20.20.20.20.2
10.10.10.3 - 20.20.20.20.3
10.10.10.4 - 20.20.20.20.4
10.10.10.5 - 20.20.20.20.5

Konfigurasikan di R1

Conf t

Clear ip nat translation *
Ip nat pool TES 20.20.20.1 20.20.20.5 prefix-length 24 type match-host

Hari Keenam : Lab 5 Dynamic NAT (Sequence)

Konfigurasi R1

Int lo0
Ip add 10.10.10.2 255.255.255.0 secondary
Ip add 10.10.10.3 255.255.255.0 secondary
Ip add 10.10.10.4 255.255.255.0 secondary
Ip add 10.10.10.5 255.255.255.0 secondary
Ip add 10.10.10.1 255.255.255.0
Ip nat inside
!
Int f0/0
Ip add 12.12.12.1 255.255.255.0
Ip nat outside
!
Ip route 0.0.0.0 0.0.0.0 12.12.12.2
!
Ip nat pool TES 20.20.20.1 20.20.20.5 prefix-length 24
Ip nat inside source list 1 pool TES
!
Access-list 1 permit 10.10.10.2
Access-list 1 permit 10.10.10.3
Access-list 1 permit 10.10.10.1
Access-list 1 permit 10.10.10.4
Access-list 1 permit 10.10.10.5

Hari Keenam : Lab 4 NAT Static (Extendable)


Konfigurasi R1
Int lo0
Ip add 10.10.10.1 255.255.255.0
Ip nat inside
!
Int f0/0
Ip add 12.12.12.1 255.255.255.0
Ip nat outside
Int f0/1
Ip add 13.13.13.1 255.255.255.0
Ip nat outside
!
Ip nat inside source static 10.10.10.1 20.20.20.1 extendable
Ip nat inside source static 10.10.10.1 30.30.30.1 extendable

Konfigurasi R2

Int f0/0
Ip add 12.12.12.2 255.255.255.0
!
Ip route 20.20.20.0 255.255.255.0 12.12.12.1
Int f0/0
Ip add 13.13.13.3 255.255.255.0
Ip route 30.30.30.0 255.255.255.0 13.13.13.1

Hari Keenam : Lab 3 NAT Static (Network ke Network)

Hapus dulu konfigurasikan NAT Static sebelumnya
conf t
no ip nat inside source static 10.10.10.1 12.12.12.3


Konfigurasi R1
conf t 
Ip nat inside source static network 10.10.10.0 20.20.20.20.0

Konfigurasi R2
di R2 dikonfigurasikan route ke network 20.20.20.0/24 agar bisa mengembalikan paket ping nya

Conf t
Ip route 20.20.20.20.0 255.255.255.0 12.12.12.1