Static Network Address Translation

|
Static Network Address Translation
|
bet | 2/4 | Sana | 27.07.2024 | Hajmi | 2,13 Mb. | | #268820 |
Bog'liq tarmoqamaliy31. Static Network Address Translation
Statik NAT - ro'yxatdan o'tmagan IP manzilni ro'yxatdan o'tkazilgan IP manzilga yakka tartibda translatsiya qilishdan iborat, yani bitta hususiy (Private) manzilga bitta ommaviy (Public) manzil to’gri keladi.
Statik NAT bo`yicha ishni bajarish tartibi
Cisco IOS Routerlarida NATni sozlash quyidagi bosqichlarni o'z ichiga oladi
Ichki va tashqi interfeyslarni tayinlang
Translatsiya kim uchun (qaysi IP manzillari) amalga oshirilishini aniqlang.
Qaysi translatsiya ishlatishni tanlang
Translatsiyani tekshiring
Router>en
Router>enable
Router#conf t
Router(config)#h
Router(config)#hostname Jahongir1
Jahongir1(config)#ip
Jahongir1(config)#ip n
Jahongir1(config)#ip na
Jahongir1(config)#ip nat in
Jahongir1(config)#ip nat inside s
Jahongir1(config)#ip nat inside source s
Jahongir1(config)#ip nat inside source static 192.168.1.2 195.158.1.10
Jahongir1(config)#ip
Jahongir1(config)#ip n
Jahongir1(config)#ip nat
Jahongir1(config)#ip nat in
Jahongir1(config)#ip nat inside s
Jahongir1(config)#ip nat inside source s
Jahongir1(config)#ip nat inside source static 192.168.1.3 195.158.1.11
Jahongir1(config)#ip nat i
Jahongir1(config)#ip nat inside s
Jahongir1(config)#ip nat inside source s
Jahongir1(config)#ip nat inside source static 192.168.1.4 195.158.1.12
Jahongir1(config)#
Jahongir1(config)#int fa 0/1
Jahongir1(config-if)#ip n
Jahongir1(config-if)#ip nat o
Jahongir1(config-if)#ip nat outside
Jahongir1(config-if)#ex
Jahongir1(config)#int fa 0/0
Jahongir1(config-if)#ip n
Jahongir1(config-if)#ip nat i
Jahongir1(config-if)#ip nat inside
Jahongir1(config-if)#ex
Jahongir1(config)#ip r
Jahongir1(config)#ip route 0.0.0.0 0.0.0.0 11.11.11.2ex
Jahongir1(config)#ip route 0.0.0.0 0.0.0.0 11.11.11.2
Jahongir1(config)#ex
Jahongir1#
Router(config)#
Router(config)#ip r
Router(config)#ip route
% Incomplete command.
Router(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2
Router(config)#
Router(config)#
Router(config)#
Router(config)#hos
Router(config)#hostname Jahongir
Jahongir(config)#ip n
Jahongir(config)#ip na
Jahongir(config)#ip nat i
Jahongir(config)#ip nat inside s
Jahongir(config)#ip nat inside source s
Jahongir(config)#ip nat inside source static 192.168.1.2 195.158.1.10
Jahongir(config)#ip nat inside source static 192.168.1.3 195.158.1.11
Jahongir(config)#int
Jahongir(config)#interface FA 0/1
Jahongir(config-if)#Ip n
Jahongir(config-if)#Ip nat i
Jahongir(config-if)#Ip nat o
Jahongir(config-if)#Ip nat outside
Jahongir(config-if)#ex
Jahongir(config)#int fa 0/0
Jahongir(config-if)#ip n
Jahongir(config-if)#ip nat i
Jahongir(config-if)#ip nat inside
Jahongir(config-if)#ex
Jahongir(config)#ex
Router(config)#
Router(config)#ho
Router(config)#hostname Jahongir
Jahongir(config)#ip r
Jahongir(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2
%Invalid next hop address (it's this router)
Jahongir(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.1
Jahongir(config)#ip n
Jahongir(config)#ip nat p
Jahongir(config)#ip nat pool TATU
Jahongir(config)#ip nat pool TATU 195.158.1.1 195.158.1.10 ne
Jahongir(config)#ip nat pool TATU 195.158.1.1 195.158.1.10 netmask 255.255.255.240
Jahongir(config)#ac
Jahongir(config)#access-list 10 pe
Jahongir(config)#access-list 10 permit 192.168.1.0 0.0.0.255
Jahongir(config)#ip
Jahongir(config)#ip n
Jahongir(config)#ip nat i
Jahongir(config)#ip nat inside s
Jahongir(config)#ip nat inside source l
Jahongir(config)#ip nat inside source list 10 p
Jahongir(config)#ip nat inside source list 10 pool TATU
Jahongir(config)#ip nat inside source list 10 pool TATU
Jahongir(config)#int fa 0/0
Jahongir(config-if)#ip nat i
Jahongir(config-if)#ip nat inside
Jahongir(config-if)#ex
Jahongir(config)#int fa 0/1
Jahongir(config-if)#ip n
Jahongir(config-if)#ip nat a
Jahongir(config-if)#ip nat au
Jahongir(config-if)#ip nat ou
Jahongir(config-if)#ip nat outside
Jahongir(config-if)#ex
Jahongir(config)#do wr
Building configuration...
[OK]
Jahongir(config)#ex
|
| |