How Packet Is Sent And Received Through NAT Router

How packet is sent to and received from the destination remote server by PC-1

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Solution

Activities taking place at PC-1

  1. The message will start at the top of the protocol stack at PC-1 and it finds its way downwards.
  2. The packet will go through application and proceed to TCP layer. TCP layer will assign the packet a port number. The assignment is key because a lot of programs are using TCP stack while sending messages, it is important to assign a port number to enable us know which program’s port should be listening to the specified port. For example, an outgoing packet is assigned a port number of 1020
  3. After the packet goes through the TCP layer, it proceeds to IP layer where it is assigned the destination address, for instance a packet leaving PC-1 destine to remote server, will have destination address of the remote server.  Given that our packet has a destination address and a port number, the packet is ready to be sent over internet.  The physical layer turns our packets into electronic signals and transmits them over the WAN link.
  4. On the opposite end of the WAN link has a direct connection to internet. Internet Service Provider’s router examine destination address by determining where to send it.
  5. Finally, the packet arrives at remote server. The packets are received at the bottom of the remote server’s TCP stack and walks through upwards.
  6. While the packet goes up, all the routing information that was added PC-1’s stack is striped off.
  7. Once the packet arrives at the top of TCP stack, it has assembled in the original message, this is explained by Kocharians and Vinson (Kocharians & Vinson, 2014).

How router keeps track of incoming and outgoing traffic

Once a router receives a packet from the switch, it will strip off Layer 2 header information (ie MAC address) present on packet and it will search the destination IP address in from the packet. It will then find the route for the destination prefix, in case it matches, it will attach its exit inter MAC address to appear as source address and connected computing device as MAC address as destination MAC address. The packet will be forwarded to the exit interface. In case no route will be found within the routing table, that packet will be dropped.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Routing table for our example will look as below

IP Address

MAC address

Source

Next hop

Destination

Source

Next hop

Destination

192.168.10.7/24

192.168.10.1/24

Remote server IP address

PC-1 MAC address

Router’s Fa0/0 mac address

Router’s Fa0/0 mac address

 209.165.200.226/27

ISP’s receiving interface

Remote server IP address

 Router’s exit interface MAC address

ISP’s receiving interface MAC address

ISP’s receiving interface MAC address

 ISP’s IP address

 Remote’s server’s default gateway  

Remote server IP address

 ISP’s exit interface MAC address

 Remote server’s interface that has default gateway

Remote server’s MAC address.

  1. PC-1 pings 200.10.4.5.59
  2. Internet Protocol works with ARP to decide which network the ping is targeted by searching the IP address and issue mask of PC-A. Packet is sent to the router to be routed to the correct remote node network.
  3. Since PC-A has send packet to the router, it is required to know MAC address of router’s interface that connects to its network.
  4. Router will identify that IP address, it has to reply. It sends back to PC-A a reply. It costs the ARP some time to dispatch the information and query the device to respond. At times, time to live happens to disappear implying that ping has expired.
  5. The router will respond with its MAC address of the interface that connects to the network segment. PC-A will have the whole thing        it requires so as to transmit a packet exiting native router. Network layer hands over to the datalink layer downwards. A packet is created with ICMP request. The packet will include destination and source Internet Protocol address together with ping ECHO request.
  6. The datalink layer of PC-A will create a frame. The frame contents will be destination and source MAC addresses and type that will be specifying network layer protocol. CRC will be attached at the end of the frame to make sure the remote receiving node will drop out to if the frame is tarnished.
  7. PC-1’s datalink layer hands over to Physical layer. Physical layer encodes the frame to 0s and 1s to a digital signal. Digital signal leaves out of local physical layer.
  8. The router’s receives the frame. It does CRC check and finalizes it with a CRC value PC-A included to that frame to ensure the frame is not corrupted.
  9. Here and now destination MAC address of received frame has been confirmed. Router will disseminate the packet to IP protocol. PC-A is kept in router’s memory buffer.
  10. Internet Protocol searches the packet destination Internet Protocol address to decide if the packet belongs to the router.
  11. Router requires to build a frame and it dispatches it to destination i.e. PC-B.
  12. PC-B will respond with MAC address of its NIC together with ARP reply. The router has all it requires to reply.
  13. PC-B receives the frame. It performs CRC check. Internet Protocol checks destination of Internet Protocol address. In case it ties with PC-B’s, the protocol column of the packet will decide on the course of the packet.
  14. PC-B will generate a new ping echo reply packet. The echo will have destination Internet Protocol of PC-A and its IP address as the source address. The packet protocol begins all again the journey in the opposite direction.
  15. RIP and EIGRP, Ospf
  16. RIPv1 and IGRP
  17. Explanation: rip and eigrp, ospf, uses classless addresses during the configuration of the network address. Classless routing send subnet mask with their updates. Hence, allowing VLSM masks. In our network we have links with class A and B network but however, the mask is /24. In case a classful routing protocol is used these networks will take their default subnet masks i.e. for 172.16.0.0 will automatically pick /16 whereas 10.0.0.0 will pick /8 subnet mask. This implies that wrong information will be routed. When using classful routing protocol, subnet mask should always remain consistent in the entire network.
  18. Network addresses will be 10.10.10.0 for the WAN interfaces and 172.16.10.0 fa0/0 interface on the router on the left and 172.16.20.0 on the router on the right.
  19. Routing tables across the network require to converge in minimum time to avoid traffic loss, in our above mentioned protocols, OSPF converges faster than any other routing protocol. This is attributed to the small sub-divisions whose OSPF is built on.  
  20. exchange of data and acknowledgement

Stop and wait together with Automatic repeat request is a control technique incorporated to stop and wait flow control protocol. In case an error is noticed by recipient, it drops and sends a NAK requesting the sender to resend. If the frame never arrives at the recipient, the sender has a timer. Every time the frame is dispatched, clock timer is set, in case there is no acknowledgement or negative acknowledgement is received by sender during timeout span, the frame is dispatched again by sender.

Of course timeout may introduce a problem. For instance, sender does a retransmission but the recipient really received previous transmission. This implies that the recipient has same copies. In avoidance of this, acknowledgements and frames are categorized as 1 or 0 for ACK1 for frame 0 and ACK0 for frame 1.

What Will You Get?

We provide professional writing services to help you score straight A’s by submitting custom written assignments that mirror your guidelines.

Premium Quality

Get result-oriented writing and never worry about grades anymore. We follow the highest quality standards to make sure that you get perfect assignments.

Experienced Writers

Our writers have experience in dealing with papers of every educational level. You can surely rely on the expertise of our qualified professionals.

On-Time Delivery

Your deadline is our threshold for success and we take it very seriously. We make sure you receive your papers before your predefined time.

24/7 Customer Support

Someone from our customer support team is always here to respond to your questions. So, hit us up if you have got any ambiguity or concern.

Complete Confidentiality

Sit back and relax while we help you out with writing your papers. We have an ultimate policy for keeping your personal and order-related details a secret.

Authentic Sources

We assure you that your document will be thoroughly checked for plagiarism and grammatical errors as we use highly authentic and licit sources.

Moneyback Guarantee

Still reluctant about placing an order? Our 100% Moneyback Guarantee backs you up on rare occasions where you aren’t satisfied with the writing.

Order Tracking

You don’t have to wait for an update for hours; you can track the progress of your order any time you want. We share the status after each step.

image

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

Areas of Expertise

Although you can leverage our expertise for any writing task, we have a knack for creating flawless papers for the following document types.

image

Trusted Partner of 9650+ Students for Writing

From brainstorming your paper's outline to perfecting its grammar, we perform every step carefully to make your paper worthy of A grade.

Preferred Writer

Hire your preferred writer anytime. Simply specify if you want your preferred expert to write your paper and we’ll make that happen.

Grammar Check Report

Get an elaborate and authentic grammar check report with your work to have the grammar goodness sealed in your document.

One Page Summary

You can purchase this feature if you want our writers to sum up your paper in the form of a concise and well-articulated summary.

Plagiarism Report

You don’t have to worry about plagiarism anymore. Get a plagiarism report to certify the uniqueness of your work.

Free Features $66FREE

  • Most Qualified Writer $10FREE
  • Plagiarism Scan Report $10FREE
  • Unlimited Revisions $08FREE
  • Paper Formatting $05FREE
  • Cover Page $05FREE
  • Referencing & Bibliography $10FREE
  • Dedicated User Area $08FREE
  • 24/7 Order Tracking $05FREE
  • Periodic Email Alerts $05FREE
image

Services offered

Join us for the best experience while seeking writing assistance in your college life. A good grade is all you need to boost up your academic excellence and we are all about it.

  • On-time Delivery
  • 24/7 Order Tracking
  • Access to Authentic Sources
Academic Writing

We create perfect papers according to the guidelines.

Professional Editing

We seamlessly edit out errors from your papers.

Thorough Proofreading

We thoroughly read your final draft to identify errors.

image

Delegate Your Challenging Writing Tasks to Experienced Professionals

Work with ultimate peace of mind because we ensure that your academic work is our responsibility and your grades are a top concern for us!

Check Out Our Sample Work

Dedication. Quality. Commitment. Punctuality

Categories
All samples
Essay (any type)
Essay (any type)
The Value of a Nursing Degree
Undergrad. (yrs 3-4)
Nursing
2
View this sample

It May Not Be Much, but It’s Honest Work!

Here is what we have achieved so far. These numbers are evidence that we go the extra mile to make your college journey successful.

0+

Happy Clients

0+

Words Written This Week

0+

Ongoing Orders

0%

Customer Satisfaction Rate
image

Process as Fine as Brewed Coffee

We have the most intuitive and minimalistic process so that you can easily place an order. Just follow a few steps to unlock success.

See How We Helped 9000+ Students Achieve Success

image

We Analyze Your Problem and Offer Customized Writing

We understand your guidelines first before delivering any writing service. You can discuss your writing needs and we will have them evaluated by our dedicated team.

  • Clear elicitation of your requirements.
  • Customized writing as per your needs.

We Mirror Your Guidelines to Deliver Quality Services

We write your papers in a standardized way. We complete your work in such a way that it turns out to be a perfect description of your guidelines.

  • Proactive analysis of your writing.
  • Active communication to understand requirements.
image
image

We Handle Your Writing Tasks to Ensure Excellent Grades

We promise you excellent grades and academic excellence that you always longed for. Our writers stay in touch with you via email.

  • Thorough research and analysis for every order.
  • Deliverance of reliable writing service to improve your grades.
Place an Order Start Chat Now
image

Order your essay today and save 30% with the discount code ESSAYHELP