Question

How does a computer know when to send packets to the default gateway?

How does a computer know when to send packets to the default gateway?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Dear Studen,

Here is the answer...

When you turn on your computer. It will first detect the network available as WiFi Network or Ethernet connection( or Wired Network).An a protocol called DHCP(Dynamic Host Control Protocol) is used to assigned the IP address to your Compuet/Laptop.

So first you must know some terms...

--------------------------------------------------------------------------------------------------------------------------------------

What is the working of default gateway..?

A default gateway acts as an intermediate device that connects your computer to the Internet or a default gateway in computer networking is the node that is assumed to know how to forward packets on to other networks.

How does a computer know when to send the packets to the default gateway...?

In Computer Networking How do computers decide to where to send the packets to? Should they send them directly to the target computers, the gateway, or both?

So here is the answer...

If the Destination IP packet points to a network different than your network, then it sent the packets to the default gateway rather than to the computer directly.

If the destination IP is from another network, the host Computer checks its routing table to find the gateway for that network. In most cases, this will be a default router. Once the host computer knows the router that is the gateway for the destination network, it sends an ARP(address resolution protocol) for the router's MAC address. After receiving this, it will then send the traffic needed to the router's mac address and the router will furtehr sends the packets to destination address.

I hope this might be helpful for you..

---------------------------------------------------------------------------------------------------------------------------------------

Kindly Check and Verify Thanks....!!!

--------------------------------------------------------------------------------------------------------------------------------------

Add a comment
Know the answer?
Add Answer to:
How does a computer know when to send packets to the default gateway?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT