Skip to content

How To Configure Nat

Our Score
Click to rate this post!
[Total: 0 Average: 0]
In This Tutorial We Gona Learn How To Configure Nating
What Is NAT ?
NAT-Network Address Translation

Firstly We Have To Take 2 Router 2 Switch 2 Pc’s And 1 HTTP Server And Connect With Each Other
This Type Of Cennerio We Have To Draw

                               
 Private IP
Class A-10.0.0.0-10.255.255.255
Class B-172.16.0.0-172.31.2555.2555
Class C-192.168.0.0-192.168.255.255

Step 1-Firstly We Have To Assign Ip To The Router

We Have Assumed
192.168.0.1 Is 19.0.0.1
192.168.0.3 Is 19.0.0.3
192.168.0.2 Is 19.0.0.2

We Have Assumed 19.0.0.1 or 19.0.0.0 or 19.0.0.3 Because 192.168.0.1 Or 192.168.0.2 Or 192.168.0.3 Is A Private Ip We Have To Give Public Ip To The Routers Or Pc’s

Now Go In Router1

R1
Enable
#Config Turminal
(Config)# Hostname R1
R1(config)# Int fa0/0
R1(Config if)# Ip Add 192.168.0.1 255.255.255.0
R1(Config if)# No Shut
R1(Config if)# exit
R1(Config)# Int Se0/1/1
R1(Config if)# Clock Rate 64000
R1(Config if)# Ip Add 2.0.0.2 255.0.0.0
R1(Config if)# No shut
R1(Config)# exit

Now Go In Router 2

R2
Enable
#Config Turminal
(Config)#Hostname R2
R2(Config)#Int fa0/0
R2(Config If)#Ip Add 1.0.0.1 255.0.0.0
R2(Config If)#No Shut
R2(Config If)#Exit
R2(Config)#Int Se0/1/1
R2(Config If)#Ip Add 2.0.0.1 255.0.0.0
R2(Config If)#No Shut
R2(Config)#Exit

No We have To Do Routing IN R1 & R2

Router 1
R1(Config)#Ip Route 1.0.0.0 255.0.0.0 2.0.0.1
R1(Config)#Exit
R1(config)#ip nat inside source static 192.168.0.102 19.0.0.2
R1(config)#ip nat inside source static 192.168.0.103 19.0.0.3
R1(config)#ip nat inside source static 192.168.0.1 19.0.0.1
R1(config)#int f0/0
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#int s0/1/0
R1(config-if)#ip nat outside

Router 2
R2(Config)#Ip Route 19.0.0.0 255.0.0.0 2.0.0.2
R2(Config)#Exit

Leave a Reply

Discount Offer

Now Get 67% Discount

On Cyber Security Training                                                       Notes  

Click here  To Purchase

%d bloggers like this: