Advertisement

06.05.2008 at 03:01AM PDT, ID: 23459571
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

Question about some basic packet addressing concepts at layer 2 & 3 in an ip network

Asked by j_65_uk in TCP/IP, Networking Protocols, Transport

Just trying to get my head round some low level network concepts - specifically packet addressing at the various OSI layers.

Imagine a simple sample IP network. 1 host machine connected to a layer 2 switch, then to a router, then onto the internet.

Say I want to send an http packet to bbc.co.uk (212.58.224.131) from my host machine.

THREE QUESTIONS:

1.
At the point the packet leaves my host machine, am I correct in thinking that the layer 3 destination address will be: 212.58.224.131 ? What then will be the layer 2 destination address of that packet - will it be the MAC address of the layer 2 switch or the MAC address of the router? In terms of the fundamentals, am I right in thinking the destination IP address of that packet will never change, whereas the MAC address will be updated for each 'hop' along the way?

2.
If I'm right in my asumptions above, what is the first MAC destination address for the packet leaving my host machine in my exampel network - would it be the layer 2 switch or the router? I'm guessing it will the MAc address of the router? And the layer 2 switch will simply forward on the packet on the correct interface? If it was a layer 3 switch however, would this be different?

3.
The other thing I'm trying to get my head round is the default gateway address on the host. Unless a route is specifically specified on the host, all outgoing packets will be 'through' this destination address to reach their final destination. Now am I right in thinking that the http packet that leaves my host machine will not have it's destination IP address as that default gateway IP address, rather the host machine will (through doing an ARP request) find out the MAC (layer 2) address of the device with that default gateway IP (layer 3 address) and structure the resulting packet so that's it's MAC address is the address of the default gateway device (in our example, the router), but it's IP address is still that of bbc.co.uk (212.58.224.131) ?Start Free Trial
 
Keywords: Question about some basic packet add…
 
Loading Advertisement...
 
[+][-]06.05.2008 at 04:52AM PDT, ID: 21718239

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.05.2008 at 05:00AM PDT, ID: 21718293

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.05.2008 at 05:17AM PDT, ID: 21718440

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: TCP/IP, Networking Protocols, Transport
Sign Up Now!
Solution Provided By: kdearing
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.05.2008 at 06:15AM PDT, ID: 21718962

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906