logo

Network Assignment: NAT, ARP, Routing Protocols and TCP

Explain how packet is sent to and received from the destination remote server by PC-1 through the steps: 1. source and destination addresses in outgoing packets from PC-1; 2. how router keeps track of incoming packet from remote server and forwards to correct sources with private IP inside the company host by using router’s entries.

8 Pages1411 Words461 Views
   

Added on  2023-06-07

About This Document

This assignment covers topics like NAT, ARP, Routing Protocols and TCP. It explains the working of NAT, ARP and Routing Protocols like RIP, OSPF and BGP. It also covers the concept of selective acknowledgement in TCP.

Network Assignment: NAT, ARP, Routing Protocols and TCP

Explain how packet is sent to and received from the destination remote server by PC-1 through the steps: 1. source and destination addresses in outgoing packets from PC-1; 2. how router keeps track of incoming packet from remote server and forwards to correct sources with private IP inside the company host by using router’s entries.

   Added on 2023-06-07

ShareRelated Documents
NETWORK ASSIGNMENT
Name :
Course Code :
Date of Submission :
Network Assignment: NAT, ARP, Routing Protocols and TCP_1
QUESTION 1:
Overall Explanation
NAT is a property in a router which allow clients to access services through public IP address in
a network. This eliminates the need of having a separate domain name for a network
If a packet is sent from PC-1 (192.168.10.7/24) connected to the switch through port 1020, the
packet will be routed to the default gateway (192.168.10.1/24) of the router. A router with a
NAT loopback feature detects the incoming packet as 209.165.200.226/27 and is the interface of
its WAN network. It determines the destination of the packet depending on the port forwarding
rule. Data is then directed to the host address remote server that receives the packets. If the
DNAT rule is not applicable the router will drop the packet. An ICMP destination unreachable is
replied. If the rule is still there then the router rewrites the source IP address. The client
(192.168.10.7/24) sends the packets as incoming from (192.168.10.1/24) then the server receives
the packet as incoming from 209.165.200.226/27. When the request is replied by the server the
process is repeated. This process is identical for external senders. Thus this is a two way
communication.
Router entries
Network
destination
Net mask Gateway Interface Metric
192.168.10.7 255.255.255.0 192.168.10.1 209.165.200.226 10
192.168.10.9 255.255.255.0 192.168.10.1 209.165.200.226 10
Source and destination addresses
Source address: 192.168.10.7/24
Destination address: 209.165.200.226/27
Question 2:
Network Assignment: NAT, ARP, Routing Protocols and TCP_2
1:
First PC-A (200.10.5.70/28) initiates the session by sending a broadcast ARP packet. The
address resolution packet is used in discovering the layer two address that is linked to layer three
addresses in the router. The broadcast then instructs the router to send the packet to all ports that
are connected to it. Computer PC-B (200.10.4.59/27) within layer three then responds with a
unicast ARP reply. The results are captured so that they can be looked up later. This makes the
ARP not to be sent frequently. This creates an ICMP request that is crafted. The source PC-A
(200.10.5.70/28) address will be originating computers’ ether address. The destination addresses
in the router and PC-B (200.10.4.59/27) will then be revealed from ARP. The packet is then sent
to the router through a cable Fa0/0 (200.10.5.70/28). The router then examines the destination
address of PC-B (200.10.4.59/27) and looks for it from the CAM table, this specifies the physical
port in the ether address. The packet is then transmitted through the wire to the correct physical
ports. When PC-B (200.10.4.59/27) computer receives the packet, it first examines the address
and makes sure that it is similar as that one in the physical interface. If the address is similar it
then checks if PC-B (200.10.4.59/27) matches with the address in layer 3 of the router as
assigned in the physical interface. If the packet matches, it is handled by upper layer protocols
(Pigeon, 2014) and if there is no match the packet is then dropped. For the ICMP reply, things
work in the same way, except that the responding computer doesn't need to send an ARP request.
The source computer receives reply from the connected computer if the pinging process is
successful.
2:
When PC-A (200.10.5.70/28) sends packet with the local network, PC-B (200.10.4.59/27) listens
to the incoming signal MAC address. If there is no answer within the network then the packet is
directed to the default gateway and configured in IP stack of the sending host. If the destination
address has not found any MAC address then the network is remote. If an address exits then the
network is local.
Network Assignment: NAT, ARP, Routing Protocols and TCP_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Network and Communications Assignment
|15
|3633
|111

Computer Networks: Routing Protocols, ICMP Packet Encapsulation, and Convergence Properties
|12
|2290
|406

Understanding Network Topology and Routing Protocols
|9
|2234
|143

COIT20261 Network Routing and Switching Term 1, 2019
|7
|2019
|65

COIT20261 Network Routing and Switching Term 1, 2019
|6
|1446
|51

Research and Analysis of Networks
|23
|1613
|478