Network ids and subnet mask router configurations configure address the subnet
CIT 247: Lab 13 - NAT
Router Configurations
R1Q2. What IP address did you configure for the interface?
R2
1.Configure both routers remaining interfaces to be in the same subnet as R2.
a.R1 is in the same subnet as R2’s fa0/0
b.R3 is in the same subnet as R2’s fa0/1
2.Configure both routers to be able to send and receive OSPF advertisements from the different subnets a.Hint: All 3 routers should have 2 routes learned via OSPF
3.On R1 configure a default route so that all packets within the 192.168.1.0 subnet will reach R2’s fa0/0 interfaceQ4. What command did you enter on R3?
Verify connectivity between subnets by issuing the following connectivity tests
R1 fa0/0 R3 fa0/0 | |
R2 fa0/0 R3 fa0/0 | |
R3 fa0/1 R1 fa0/1 |
Network Address Translation - NAT
In order to use static NAT, a single inside local address is mapped to a
single inside global address. For every inside local address there must
be a unique inside global address to use for translation. Static NAT is
useful when you have a limited number of inside global addresses.
Dynamic NAT offers a little more flexibility and allows for the mapping
of many IP addresses but in a dynamic matter making administration
easier.
For the remaining portion of the lab, Dynamic NAT will be configured. As the textbooks states, “Dynamic NAT sets up a pool of possible inside global addresses and defines matching criteria to determine which inside local IP addresses should be translated..” In some instances NAT translation and NAT overload use addresses from a DHCP pool of IP addresses. We will configure R2 to use a pool of IP addresses to perform translations on packets leaving the 192.168.1.0/24 subnet.
Q7. Explain what the command is doing?
CIT 247: Lab 13 - NAT
3.Apply the ACL in the appropriate direction of interface that will “see” the packets from R1
R2(config)# int fa0/#
R2(config-if)# ip access-group 20 in
R2(config-if)# end5.Configure the interfaces of R2 to NAT
R2(config)# int fa0/#
R2(config-if)# ip nat outside
R2(config-if)#exit
R2(config)# int fa0/#
R2(config-if)# ip nat insideTesting NAT
Run the following pings and describe what happens when the packets leave from one part of the network towards the other. Be sure to include the IP address and use appropriate terminology where necessary. For the best results, have all the console windows for R1 and R2 open at the same time.
R1 fa0/0 to R2 fa0/0 | |
---|---|
R1 fa0/0 to R2 fa0/1 |
|
Q20. Why or Why not?
Q24. Use the ‘show ip nat statistics’ command to explain what is happening in Q21 – Q23.
Submission
1.Copy the running config file on each router to the startup config
file.