+Static NAT.
+Dinamic NAT: have 2 :Dinamic NAT Pool ,Dinamic NAT Overload.
+NAT overload.
Cisco packet tracer 6.3
download File :
+ Static nat mean: private IP 1 use public IP 1 access to Internet.
Ex: #ip access_list standard To_Internet
#permit 192.168.2.0 0.0.0.255
#permit 192.168.3.0 0.0.0.255
#ip nat inside source static 192.168.2.10 117.1.1.1
មានតែ ip 192.168.2.10 ទេ can access internet.
Ex: #ip access_list standard To_Internet
#permit 192.168.2.0 0.0.0.255
#permit 192.168.3.0 0.0.0.255
#ip nat inside source static 192.168.2.10 117.1.1.1
មានតែ ip 192.168.2.10 ទេ can access internet.
+ Danamic NAT have 2:
- dinamic NAT use pool mean: limit client can access internet use limit public IP .
EX:
#ip nate pool To_Internet 172.1.1.1 172.1.1.10 net musk 255.255.255.0
#ip nat inside source list To_Internet pool To_Internet
- dinamic NAT use pool mean: limit client can access internet use limit public IP .
EX:
#ip nate pool To_Internet 172.1.1.1 172.1.1.10 net musk 255.255.255.0
#ip nat inside source list To_Internet pool To_Internet
មានតែ 10 ip public ទេ can to
access Internet ចឹងមានតែ
clients 10 អ្នកទេអាច use internet បានបើ មាន client
ម្នាក់មកក្រោយគេប្រើ Internet មិនបានទេ.
- Dinamic NAT Overload mean : ឲ្យតែ clients នៅក្នុង vlan ជាមួយគ្នាអាច access ទៅកាន់ Internet បានហើយ use តែ1 public IP ទេ.
EX: #ip access-list standard IT_To_Internet
#Permit 192.168.10.0 0.0.0.255
#Deny any
#ip access-list standard HR_To_Internet
#Permit 192.168.20.0 0.0.0.255
#Deny any
- Dinamic NAT Overload mean : ឲ្យតែ clients នៅក្នុង vlan ជាមួយគ្នាអាច access ទៅកាន់ Internet បានហើយ use តែ1 public IP ទេ.
EX: #ip access-list standard IT_To_Internet
#Permit 192.168.10.0 0.0.0.255
#Deny any
#ip access-list standard HR_To_Internet
#Permit 192.168.20.0 0.0.0.255
#Deny any
#ip nat
pool IT_To_Internet 172.1.1.1 172.1.1.1 netmask 255.255.255.0
#ip nat
pool HR_To_Internet 172.1.1.2 172.1.1.2 netmask 255.255.255.0
#ip nat
inside source list IT_To_Internet pool IT_To_Internet overload
#ip nat
inside source list HR_To_Internet pool HR_To_Internet overload
+ NAT
overload mean : all clients can access to internet use តែ 1 public
IP ទេ.
EX: #ip access_list standard To_Internet
#permit 192.168.10.0 0.0.0.255
#permit 192.168.20.0 0.0.0.255
#permit 192.168.30.0 0.0.0.255
#permit 192.168.40.0 0.0.0.255
#permit 192.168.50.0 0.0.0.255
#ip nat inside source list To_Internet interface fastethernet 0/0 overload
EX: #ip access_list standard To_Internet
#permit 192.168.10.0 0.0.0.255
#permit 192.168.20.0 0.0.0.255
#permit 192.168.30.0 0.0.0.255
#permit 192.168.40.0 0.0.0.255
#permit 192.168.50.0 0.0.0.255
#ip nat inside source list To_Internet interface fastethernet 0/0 overload
-------------------The
End--------------------
EmoticonEmoticon