0% found this document useful (0 votes)
63 views13 pages

Dep30083 PW4 Configure Static Nat in Router 2023-1-13

Uploaded by

Farizman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views13 pages

Dep30083 PW4 Configure Static Nat in Router 2023-1-13

Uploaded by

Farizman
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

DEP30083- TELECOMMUNICATION NETWORK | PW4

PRACTICAL WORK 4: Configure Static NAT in Router

COURSE LEARNING OUTCOME (CLO):


CLO2 - Assemble the related telecommunication equipment in performing the measurement of
appropriate signal parameter (P4, PLO5)

OUTCOMES:
Upon completion the experiment, students should be able to:
1. To configure static NAT in Router.
2. To map addresses between inside local address, outside local address, inside global
address, and outside global address

3. To configure static NAT in Router.


4. To map addresses between inside local address, outside local address, inside global
address, and outside global address

EQUIPMENT:
No Component Quantity
1 Computer @ Laptop installed with Cisco Packet 1 unit
Tracer software

THEORY:
NAT (Network Address Translation)
NAT is a process of changing the source and destination IP addresses and ports. Address
translation reduces the need for IPv4 public addresses and hides private network address ranges.
The process is usually done by routers or firewalls.

NAT changes the Source IP address (from private to public/global) for all outgoing packets from
the private network to the public Internet. NAT changes the Destination IP address (from
public/global to private) for all incoming IP packets from public Internet to hosts in the private
network.

1
DEP30083- TELECOMMUNICATION NETWORK | PW4

Inside Local Address, Outside Local Address, Inside Global Address and Outside Global
Address
Inside local address: The IP address assigned to a host on the inside network. This is the address
configured as a parameter of the computer OS or received via dynamic address allocation protocols
such as DHCP. The address is likely not a legitimate IP address assigned by the Network
Information Center (NIC) or service provider.
Inside global address: A legitimate IP address assigned by the NIC or service provider that
represents one or more inside local IP addresses to the outside world.
Outside local address: The IP address of an outside host as it appears to the inside network. Not
necessarily a legitimate address, it is allocated from an address space routable on the inside.
Outside global address: The IP address assigned to a host on the outside network by the host
owner. The address is allocated from a globally routable address or network space.

SA = Source Address
DA = Destination Address

Define Inside Local and Inside Global Addresses


In this configuration, when the NAT router receives a packet on its inside interface with a source
address of 10.10.10.1, the source address is translated to 171.16.68.5. This also means that when
the NAT router receives a packet on its outside interface with a destination address of 171.16.68.5,
the destination address is translated to 10.10.10.1.

Inside host is known by the outside host as 171.16.68.5.

Define Outside Local and Outside Global Addresses


In this configuration, when the NAT router receives a packet on its outside interface with a source
address of 171.16.68.1, the source address is translated to 10.10.10.5. This also means that if the
NAT router receives a packet on its inside interface with a destination address of 10.10.10.5, the
destination address is translated to 171.16.68.1.
Outside host is known to the inside host as 10.10.10.5.

2
DEP30083- TELECOMMUNICATION NETWORK | PW4

PROCEDURES:

A) Set Up a Network Topology

1. Set up a network topology as shown below.

Figure 1: Network topology

Table 1: Initial IP Configuration

Device / Interface IP Address Connected With Gateway


Laptop0 10.0.0.10/8 Fa0/0 10.0.0.1
Laptop1 10.0.0.20/8 Fa0/0 10.0.0.1
Laptop2 10.0.0.30/8 Fa0/0 10.0.0.1
Server0 192.168.1.10/24 Fa0/0 of R1 192.168.1.1
Serial 0/0/0 of R1 100.0.0.1/8 Serial 0/0/0 of R2
Serial 0/0/0 of R2 100.0.0.2/8 Serial 0/0/0 of R2

3
DEP30083- TELECOMMUNICATION NETWORK | PW4

B) Configuration for Router

i. To configure IP address in Router1 (R1) click Router1 and select CLI (Two interfaces of
Router1 are used in topology; FastEthernet0/0 and Serial 0/0/0.)

Router>enable
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#

ii. Name the router


Router(config)#hostname R1
R1#

iii. Set IP address in FastEthernet0/0 interface.

R1(config)#interface FastEthernet0/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit

Serial interface needs two additional parameters clock rate and bandwidth. Every serial cable has
two ends DTE and DCE. These parameters are always configured at DCE end.

We can use show controllers interface command from privilege mode to check the cable’s end.
R1(config)#exit
R1#show controllers serial0/0/0
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 2000000
[Output omitted]

Fourth line of output confirms that DCE end of serial cable is attached.

iv. Set IP address to serial interface.


R1#configure terminal
R1(config)#interface Serial0/0/0
R1(config-if)#ip address 100.0.0.1 255.0.0.0
R1(config-if)#clock rate 64000
R1(config-if)#bandwidth 64
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#

4
DEP30083- TELECOMMUNICATION NETWORK | PW4

v. Set IP address in Router2 (R2)

Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#interface FastEthernet0/0
R2(config-if)#ip address 192.168.1.1 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface Serial0/0/0
R2(config-if)#ip address 100.0.0.2 255.0.0.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#

C) CONFIGURE STATIC NAT IN ROUTER

i. Router R1 Static NAT Configuration


ii.
R1(config)#ip nat inside source static 10.0.0.10 50.0.0.10
R1(config)#interface FastEthernet0/0
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#
R1(config)#interface Serial0/0/0
R1(config-if)#ip nat outside
R1(config-if)#exit

ii. Router R2 Static NAT Configuration


R2(config)#ip nat inside source static 192.168.1.10 200.0.0.10
R2(config)#interface FastEthernet0/0
R2(config-if)#ip nat inside
R2(config-if)#exit
R2(config)#
R2(config)#interface Serial0/0/0
R2(config-if)#ip nat outside
R2(config-if)#exit
5
DEP30083- TELECOMMUNICATION NETWORK | PW4

iii. Configure static routing in Router R1

R1(config)#ip route 200.0.0.0 255.255.255.0 100.0.0.2

iv. Configure static routing in Router R2

R2(config)#ip route 50.0.0.0 255.0.0.0 100.0.0.1

Note: Static NAT on R1 and R2. On R1 we mapped inside local IP address 10.0.0.10 with inside
global address 50.0.0.10 while on R2 we mapped inside local IP address 192.168.1.10 with
inside global IP address 200.0.0.10.

Device Inside Local IP Address Inside Global IP Address


Laptop0 10.0.0.10 50.0.0.10
Server 192.168.1.10 200.0.0.10

v. Test the configuration by click Laptop0 and Desktop and click Command Prompt.

a. Run ipconfig command. Record the result.

Result Explanation

6
DEP30083- TELECOMMUNICATION NETWORK | PW4

b. Run ping 200.0.0.10 command. Record the result.

Result Explanation

c. Run ping 192.168.1.10 command. Record the result.

Result Explanation

7
DEP30083- TELECOMMUNICATION NETWORK | PW4

vi. Test the configuration by click Laptop0 and Desktop and click Web Browser. On
URL, type 200.0.0.10 and click Go. Record the result.

Result Explanation

vii. Test the configuration by click Laptop1 and Desktop and click Command Prompt.

a. Run ping 200.0.0.10 command. Record the result.

Result Explanation

8
DEP30083- TELECOMMUNICATION NETWORK | PW4

D) VERIFY IP ADDRESS TRANSLATION ON ROUTER

i. To verify IP address translation on Router R1. click router R1 and select CLI.
R1#show ip nat translations

Record the result.

Result Explanation translation

ii. To verify IP address translation on Router R2. click router R2 and select CLI.

R2#show ip nat translations

Record the result.

Result Explanation translation

9
DEP30083- TELECOMMUNICATION NETWORK | PW4

RESULT AND DISCUSSION:


Note: results must be interpreted and discuss indicating understanding of the results.

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

10
DEP30083- TELECOMMUNICATION NETWORK | PW4

CONCLUSION:

______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

11
DEP30083- TELECOMMUNICATION NETWORK | PW4

PRACTICAL SKILL RUBRIC [CLO2, PLO5]

PRACTICAL WORK 4: CONFIGURE STATIC NAT IN ROUTER PROGRAM: DEP3A GROUP: ____________
Course Learning Student
Outcome (CLO) DT Very Good Good Fair Weak
Weightage
Skill/Aspect 4 3 2 1 S1 S2 S3
P3 Set up the network Able to set up the Able to set up the Able to set up the Has great
topology network topology network topology network topology difficulties to set up
without any with minimum with some the network X3
assistance assistance from assistance from topology despite [12m]
lecturer. lecturer. assistance given by
lecturer
CLO2, CLS3a: P4 Perform Able to configure Able to configure Able to configure Has great
configuration of router settings router settings router settings difficulties to
Assemble the router using CLI accurately without accurately with with some configure router X4
related any assistance minimum assistance from settings despite [16m]
telecommunication assistance from lecturer. assistance given by
equipment in lecturer. lecturer
performing the P4 Perform Able to NAT in Able to NAT in Able to NAT in Has great
measurement of configuration of NAT router using CLI router using CLI router using CLI difficulties to NAT X3
appropriate signal in router using CLI accurately without accurately with accurately with in router using CLI [12m]
parameter any assistance minimum some assistance despite assistance
assistance from from lecturer. given by lecturer
lecturer.
P4 Perform Able to configure Able to configure Able to configure Has great
configuration of static static routing in static routing in static routing in difficulties to
routing in Router Router accurately Router accurately Router with some configure static X3
without any with minimum assistance from routing in Router [12m]
assistance assistance from lecturer. despite assistance
lecturer. given by lecturer
P4 Perform verification Able to verify Able to verify Able to verify Has great
of network network network network difficulties to verify
connectivity connectivity connectivity connectivity network
X3
accurately without accurately with accurately with connectivity
[12m]
any assistance minimum some assistance despite assistance
assistance from from lecturer. given by lecturer
lecturer.
P4 Perform verification Able to verify IP Able to verify IP Able to verify IP Has great
of IP Address Address Translation Address Address difficulties to verify
Translation on Router accurately without Translation Translation IP Address
X4
any assistance accurately with accurately with Translation despite
[16m]
minimum some assistance assistance given by
assistance from from lecturer. lecturer
lecturer.

12
DEP30083- TELECOMMUNICATION NETWORK | PW4

Course Learning Student


Outcome (CLO) DT Very Good Good Fair Weak
Weightage
Skill/Aspect 4 3 2 1 S1 S2 S3
P2 Result and Discussion All the results have Almost of the Partial of the Very incomplete or
been correctly results have been results have been incorrect
CLO2, CLS3a: interpreted and correctly correctly interpretation of
discussed indicating interpreted and interpreted and idea indicating a
X3
Assemble the understanding of discussed, only discussed lack of
[12m]
related result. minor indicating understanding of
telecommunication improvements are incomplete results.
equipment in needed understanding of
performing the results.
measurement of P2 Conclusion Very good in Good in Fair in summarizes Weak or incorrect
appropriate signal summarizes the summarizes the the result with summarization of
parameter result and learning result with concern of result with concern X2
outcomes of concern of learning outcomes of learning [8m]
laboratory. learning outcomes of laboratory. outcomes of
of laboratory. laboratory.

100
TOTAL (100)
* If the student absents without reason OR did not perform/demonstrate/complete the task given, ZERO (0) mark will be given to the student

13

You might also like