Download link for Practical of NAT_Configuration via Static:
IP Configuration on R-1:
---------------------------
Router>enable
Router#conf terminal
Router(config)#hostname R-1
R-1(config)#interface serial 1/0
R-1(config-if)#ip address 121.10.10.10 255.0.0.0
R-1(config-if)#clock rate 72000
R-1(config-if)#no shu
R-1(config-if)#exit
R-1(config)#interface fastEthernet 0/0
R-1(config-if)#ip address 10.0.0.1 255.0.0.0
R-1(config-if)#no shu
R-1(config-if)#exit
RIPv1 Routing Configuration on R-1:-
------------------------------------
R-1(config)#router rip
R-1(config-router)#network 121.10.10.0
R-1(config-router)#network 10.0.0.0
IP Configuration on R-2:-
--------------------------
Router(config)#hostname R-2
R-2(config)#interface serial 1/0
R-2(config-if)#ip address 121.10.10.11 255.0.0.0
R-2(config-if)#no sh
R-2(config-if)#exit
R-2(config)#interface serial 1/1
R-2(config-if)#ip address 5.0.0.1 255.0.0.0
R-2(config-if)#clock rate 72000
R-2(config-if)#no shutdown
R-2(config-if)#exit
RIP Configuration on R-2:-
---------------------------
R-2(config)#router rip
R-2(config-router)#network 5.0.0.0
R-2(config-router)#network 121.10.10.0
IP Configuration on R-3:-
--------------------------
Router(config)#hostname R-3
R-3(config)#interface serial 1/0
R-3(config-if)#ip address 5.0.0.2 255.0.0.0
R-3(config-if)#no shutdown
R-3(config)#interface fastEthernet 0/0
R-3(config-if)#ip add
R-3(config-if)#ip address 50.0.0.1 255.0.0.0.
R-3(config-if)#exit
RIP Configuration on R-3:-
---------------------------
R-3(config)#router rip
R-3(config-router)#network 50.0.0.0
R-3(config-router)#network 5.0.0.0
NAT Configuration on R-1:-
---------------------------
R-1(config)#ip nat inside source static 10.0.0.2 121.10.10.5
R-1(config)#ip nat inside source static 10.0.0.3 121.10.10.6
R-1(config)#interface fastEthernet 0/0
R-1(config-if)#ip nat inside
R-1(config-if)#exit
R-1(config)#interface serial 1/0
R-1(config-if)#ip nat outside
R-1(config-if)#exit
Note:- Check the status of NAT via "show ip nat translation" command.
Note:- Now ping the PC-1(10.0.0.2) to PC-2(50.0.0.2).
Note:- Again Check the status of NAT via "show ip nat translation" command.
Note:- Ping PC-1(10.0.0.2) from Web browser in packet tracer.
No comments:
Post a Comment