Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Routing/Switching Question

Thread Tools
 
Search this Thread
 
Old 11 June 2003, 10:04 PM
  #1  
ajm
Scooby Regular
Thread Starter
 
ajm's Avatar
 
Join Date: Sep 2002
Location: The biosphere
Posts: 7,824
Likes: 0
Received 0 Likes on 0 Posts
Post

Physically the electrons must pass through both switch and router, because despite there being 2 subnets (one on each port of the router) they are all connected to the same switch.

So you are right. What is your colleague saying?

Edited to add: the routers job is to look at packets on port A and if any are destined for the other subnet deliver them to port B. If no traffic went via the router it wouldn't be doing anything at all!

[Edited by ajm - 11/6/2003 10:13:48 PM]
Old 11 June 2003, 10:20 PM
  #2  
ajm
Scooby Regular
Thread Starter
 
ajm's Avatar
 
Join Date: Sep 2002
Location: The biosphere
Posts: 7,824
Likes: 0
Received 0 Likes on 0 Posts
Post

... furthermore, if you want to get him totally, look at it this way...

from a networking point of view it would make absolutley no difference to the client PC's if that one switch were actually 2 separate switches, one for each subnet. The routers two ports would be plugged into the two switchs and would be the only physical link between the two. Then ask him how the traffic gets from subnet A to B without going through the router!

[Edited by ajm - 11/6/2003 10:22:15 PM]
Old 06 November 2003, 09:51 PM
  #3  
P1Fanatic
Scooby Regular
 
P1Fanatic's Avatar
 
Join Date: Dec 2001
Location: Arborfield, Berkshire
Posts: 12,387
Likes: 0
Received 0 Likes on 0 Posts
Post

Lets say I have a Cisco Router connecting to a switch (say just a bog standard 3com) via ethernet and then 10 machines running on one subnet and 10 on a different subnet. Bearing in mind the routers ethernet has two Ip addresses assigned (one from each subnet).

If I want to communicate from subnet 1 to subnet 2 - does the traffic go via the switch and router or just the switch?

I would say via both switch and router as the router connects the subnets to each other. However a colleague disagrees and I have thought about this way too much so Im just going around in circles.

Cheers,
Simon.
Old 06 November 2003, 10:45 PM
  #4  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Post

The data goes through both switch and router. Else whats the point of subnetting lol.
Old 07 November 2003, 08:19 AM
  #5  
dsmith
Scooby Regular
 
dsmith's Avatar
 
Join Date: Mar 1999
Posts: 4,518
Likes: 0
Received 0 Likes on 0 Posts
Post

Absolutely with a seperate basic router and switch with multiple subnets on the same VLAN - traffic between subnets goes via the router. There is no mechainsm for the end Hosts to send IP traffic directly to each other if their interface addresses are on differnt subnets.

Unless....

You activley configure it differently. High end Cisco Switches and Routers can be configured such that only the first packet goes via the router (and susequent traffic in that conversation is forwared direct from switch ingres port to switch egress port. (Multilayer Switching or MLS)

Deano

Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
slimwiltaz
General Technical
20
09 October 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
06 October 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: Routing/Switching Question



All times are GMT +1. The time now is 11:20 AM.