![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Networking Support General Networking Support Forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 6
OS: xp pro sp3
|
routing & switching
Can anyone explain to me the principles of routing & switching & their key differences? I am confused over these two aspects.
Also what steps does a switch take in building a forwarding database or switching table & how is that used to forward packets? This is really driving me nuts. Any help appreciated. Thanks in advance. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: Jan 2007
Posts: 134
OS: Win2K, WinXP, Win Vista, Win2K3, Win2K8, IOS
|
Re: routing & switching
Put simply:
Hope this helps. If you feel your question has been answered, don't forget to mark it as SOLVEd.
__________________
Scintillate, scintillate, asteroid minific; Feign do I fathom your nature's specific Exaltedly set on the aether capacious A reasonable facsimile of a gem carbonaceous. Last edited by Prometheus_Fire; 07-06-2009 at 04:00 PM. Reason: Typo |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 6
OS: xp pro sp3
|
Re: routing & switching
Thanks prometheus fire for your reply.
I understand that a router is layer 3 & works on the ip address & that a switch is layer 2 & works using MAC addresses. What i was concerned with is how the router bases its forwarding decisions compared to how a switch works. You say a switch is concerned with flooding, I thought it was a hub that flooded data out all ports. If a switch can flood, forward or filter data frames how does it make the decision to do either & how does it decide on the exit port? |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Jan 2007
Posts: 134
OS: Win2K, WinXP, Win Vista, Win2K3, Win2K8, IOS
|
Re: routing & switching
That's only partially correct.
Switching:
Routing As for how a router makes forwarding decisions, it depends in part on the routing protocol you use. Basically though where switching only cares about host based hardware addressing routing only cares about the network portion of IP addressing. For instance: If you have 2 routers and they share a common network segment on 192.168.0.0/30. Router1 serial 0/0 will have an external IP address of 192.168.0.1 and Router2 serial 0/0 will have an external IP address of 192.168.0.2. This way they can communicate with each other. On top of this Router1 has a directly connected network of 172.16.1.0/24 (It's Ethernet 0/1 internal IP address is 172.16.1.254) and Router2 has a directly connected network of 10.2.2.0/24 (It's Ethernet 0/1 internal IP address is 10.2.2.254). The routers only advertise the network portions of the IP addressing scheme to each other via their routing updates across their serial interfaces. Neither of them care about the last octet. This is a messy explanation, but using the information above network traffic will basically be passed like so:
NB: During this process while the source and destination IP addresses don't change, the source and destination MAC addresses are altered to reflect the sending and next devices. Clear as mud?
__________________
Scintillate, scintillate, asteroid minific; Feign do I fathom your nature's specific Exaltedly set on the aether capacious A reasonable facsimile of a gem carbonaceous. Last edited by Prometheus_Fire; 07-07-2009 at 02:50 AM. Reason: Addendum |
|
|
|
![]() |
| Thread Tools | |
|
|