Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

difference b/w Routing and Switching ???

Status
Not open for further replies.

sawaak

Full Member level 2
Joined
May 20, 2003
Messages
146
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Activity points
1,069
Hi
can anyone tell me the difference b/w Routing and Switching ??
its urgent, i have a interview tomorow :(

thanks
sawaak
 

hi

if u mean in networks:

Routing is based on layer 3 (network layer) which means that the ip address is used to forward packets to it is destination while in switching u are using the MAC address (based on layer 2 datalink layer)



but there are some types of switches which are based also in layer 3 (Can support routing)

swicth is like the old telephone system : hey i wanna connect to person2 then an operator connects u to your destination by connecting wires (make a bus connection between 2 hosts)


if u need other info i wish i can help
 

Hi
thanks for quick reply.
yes i mean in networks.
yup i know that routing is done on n/w layer and switching on datalink layer, also there are switches,called smart switches, which can work in n/w layer.

can u tell me more abt the difference.

can i assume that switching is performed in physical circuits, while routing is done in virtual circuits?? also switching is done directly b/w two hosts(telephone example) while routing is done through various paths(multiple packets through different routes) to connect two hosts??

thanks
sawaak
 

In a telecommunications network a switch is a device that channels incoming data from any of multiple input ports to the specific output port. Generally a switch is used for a dedicated but temporary connection between two or more users.
As for a router it is connected to at least two networks and decides which way to send each information packet based on its current protocol.So with a router there is more than one possible route but depending on its protocol it picks a particular route.

This may be helpful
**broken link removed**
 

    sawaak

    Points: 2
    Helpful Answer Positive Rating
hi

can i assume that switching is performed in physical circuits, while routing is done in virtual circuits?? also switching is done directly b/w two hosts(telephone example) while routing is done through various paths(multiple packets through different routes) to connect two hosts??

will i think all what u said is right ,but note that switches also may be connected together (a switch connected to another switch) not only for hosts

may be the most important thing that u must take care of that switches may increase the bandwidth by dividing the collision domains but they donnot prevent broadcasting and that may cause" looping "

this is not happeneing in routers as they prevent the broadcasting for all the conneceted networks and make broadcast in specific domain

and to overcome this problem in switches an algorithm called "spanning tree algorith " is used

take care of the topic of collision domains and broadcast domain

wish this helps u and that u have lucky in your interview
 

    sawaak

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top