- Posts: 230
- Thank you received: 1
Routing vs Switching
15 years 7 months ago #30319
by Alans
always Face your Fears...
Routing vs Switching was created by Alans
Hi (Firewall.cx)ers
What I'm asking looks very simple but it's not when digging more, ready?
what are basics behind using Routing or Switching?
What is the difference between Routing a packet than Switching a packet?
And finally why there is Routing since there is Switching? :roll:
What I'm asking looks very simple but it's not when digging more, ready?
what are basics behind using Routing or Switching?
What is the difference between Routing a packet than Switching a packet?
And finally why there is Routing since there is Switching? :roll:
always Face your Fears...
15 years 7 months ago #30320
by S0lo
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Replied by S0lo on topic Re: Routing vs Switching
Briefly, switching is done on the layer 2 level while routing is done on the layer 3 level. i.e. switches forward Ethernet frames using the destination MAC address written in the frame according to a CAM table. While routers forward IP packets using the destination IP written in the packet according to a routing table.
Reading it again, this is too brief!! :roll:. The following two articles can help
www.firewall.cx/switches.php
www.firewall.cx/ip_routing.php
Reading it again, this is too brief!! :roll:. The following two articles can help
www.firewall.cx/switches.php
www.firewall.cx/ip_routing.php
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
15 years 7 months ago #30321
by sose
sose
Network Engineer
analysethis.co/index.php/forum/index
Replied by sose on topic Re: Routing vs Switching
switching is a space within routing . in addition to sending the data routing sellects the best path to destination based on some routing protocols. If you like you can use the terms routers and switches if you like.
basically routers operate at layer 3 and switches at layer 2, but you can also have switching at layer three that to some extend can replace routers and routers operating at layer 2.
take care
basically routers operate at layer 3 and switches at layer 2, but you can also have switching at layer three that to some extend can replace routers and routers operating at layer 2.
take care
sose
Network Engineer
analysethis.co/index.php/forum/index
15 years 7 months ago #30323
by Alans
always Face your Fears...
Replied by Alans on topic Re: Routing vs Switching
S0lo, it makes a lot of sence when if there is only layer 2 switching and layer 3 routing
But there is also layer 3 switching (as sose mentioned)!!
So we can't say that switching based on IP is routing or based on MAC is Switching.
I understood that switching is to switch packets within same network while routing is to switch packets form different networks, but I I don't know if this is true or no!
But there is also layer 3 switching (as sose mentioned)!!
So we can't say that switching based on IP is routing or based on MAC is Switching.
I understood that switching is to switch packets within same network while routing is to switch packets form different networks, but I I don't know if this is true or no!
always Face your Fears...
15 years 7 months ago #30325
by sose
sose
Network Engineer
analysethis.co/index.php/forum/index
Replied by sose on topic Re: Routing vs Switching
routing and switching technologies were integrated in a layer 3 switch. but a layer 3 switch has its limitations compared to high powered routers, it is mostly used within an intranet and relatively cost less than routers
sose
sose
sose
Network Engineer
analysethis.co/index.php/forum/index
15 years 7 months ago #30327
by S0lo
Yes, as sose noted there exists layer 3 switches. These switches can do both routing and switching at the same time. Imagine it like a router and switch all built into one device. The configuration you define decides what the switch is going to do. In other words, you tell it when to route and when to switch.
In Cisco terms, this is done by defining different VLANs (different networks) on different ports and then using the ip routing command to enable routing (i.e layer 3 switching).
Thats absolutely correct , but for switching (layer 2) the packets are called frames. Only in routing (layer 3) they are called packets.
This thread is related www.firewall.cx/ftopic-6355-previous.html
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Replied by S0lo on topic Re: Routing vs Switching
S0lo, it makes a lot of sence when if there is only layer 2 switching and layer 3 routing
But there is also layer 3 switching (as sose mentioned)!!
So we can't say that switching based on IP is routing or based on MAC is Switching.
Yes, as sose noted there exists layer 3 switches. These switches can do both routing and switching at the same time. Imagine it like a router and switch all built into one device. The configuration you define decides what the switch is going to do. In other words, you tell it when to route and when to switch.
In Cisco terms, this is done by defining different VLANs (different networks) on different ports and then using the ip routing command to enable routing (i.e layer 3 switching).
I understood that switching is to switch packets within same network while routing is to switch packets form different networks, but I I don't know if this is true or no!
Thats absolutely correct , but for switching (layer 2) the packets are called frames. Only in routing (layer 3) they are called packets.
This thread is related www.firewall.cx/ftopic-6355-previous.html
Studying CCNP...
Ammar Muqaddas
Forum Moderator
www.firewall.cx
Time to create page: 0.135 seconds