











CompTIA
Exam Vouchers
Save money on CompTIA exams
| Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
| TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more | * ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i Online practice tests
Certification sites Online university Online college Online education Distance learning Software forum Server administration forum Programming resources
|
|  |
| Author |
Packet Switching Question.
|
Captain_Miller
Junior Member M
Registered: Jan 2002 Location: Country: United States State: Certifications: CCNA, CCNP Working on:
Total Posts: 21
|
|
Packet Switching Question.
While reading Lammle's CCNP Routing Study Guide I came across a section packet switching section that stated when a router reads a packet and recognizes the logical address it discards the frame and puts the packet in the exit port's buffer. Seems logical. In the same section it stated that if a router recognizes the hardware address it discards the frame and forwards the packet to Main memory.
Why does this happen? Is this because the destination may be on the same segment from which it was recieved?
Also, a bit of insight into this would be quite helpful. I'm assuming the router looks at the hardware address first and then the logical. Could someone explain this topic in a bit of depth. Any help will be much appreciated.
Best Regards,
Miller
Report this post to a moderator
|
|
01-22-02 03:08 PM
|
|
Hoon
Senior Member
Registered: Feb 2001 Location: Country: Thailand State: Certifications: CCNA, CCDA, CCNP, CCDP, CSS1 Working on: CCSA, CCSE, CCIE
Total Posts: 112
|
|
Once router receive any packet, it will determine the layer2 address if frame destination layer2 address is router's. It so, then this frame is destined to router. If not, it will discard the frame.
Then, router will remove layer2 header and determine layer3 destination address. For process switch, router will consult its routing table. If there is a match in routing entry, router will know the destination interface to send this packet out. If there is no match, the packet will be dropped and ICMP unreachable will be sent back to the source of the packet.
After router know the outgoing interface, the packet will be sent to interface buffer, waiting for encapsulation with layer2 address according to data-link type of the interface. Once the encapsulation is completed, the frame will be sent through the physical to the next hop.
I would not mention about NAT, access-list, etc since I think your question focus about routing issue.
In case of other switching method e.g. fast switching, silicon switching, CEF switching. The first packet of the flow will follow the same way as process switch. But router will cache the destination address and interface. Router will not consult routing table for next packet in the same flow but this cache. This will increase performace of switching of router.
Hope the help,
Report this post to a moderator
|
|
01-22-02 03:33 PM
|
|
Captain_Miller
Junior Member M
Registered: Jan 2002 Location: Country: United States State: Certifications: CCNA, CCNP Working on:
Total Posts: 21
|
|
|
01-23-02 04:29 PM
|
|
|
Click here for CCNP study guides
Cisco exam notes
Forum Rules: Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON. |
|
ExamNotes forum archive
|