由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Internet版 - question on the interconnections of switches
相关主题
ask a question about connection between two computersNetwork question, THanks
Can we use router as switch?防火墙的缺省IP地址可以改吗?
请教高手belkin router配置无线网问题问个安全问题.(使用天网)
Re: [转载] Dual NIC to build a network?A can ping B, B cannot ping A
怎样用Crossover Cable连接两台电脑Help wanted for Home Network
VPN connection problem? (转载) 请教怎样建home network
how could web server with subnet ip be visited from internet?? thx!着急: 无线上网的问题,信号很强,但是无法连接。
Re: how could web server with subnet ip be visited from internet?? thx请教wireless router问题
相关话题的讨论汇总
话题: switches话题: routing话题: layer话题: question
进入Internet版参与讨论
1 (共1页)
d**i
发帖数: 23
1
When multiple switches are connected, how could they realize the routing when
the source and destination requires multihop? simply by MAC address?
If the system is not connected to Internet, say, a cluster system, is router
required in this case? If there is some routing algorithm within the switch,
can I modify it to realize my own routing algorithm?
Thanks!
a***t
发帖数: 39
2

when
Clarifying some concepts first:
1. Switch operats on the layer 2, data link layer (of course, the regular
switch, not the layer-3 or layer-4 switch)
2. Router operates on the IP layer, layer 3
So, to answer you question:
Switches don't know the routing. If they are connected to the same subnet,
nothing needs to be done. If they are connected to the different subnet, you
need to put a router between them. Switch isn't counted as a hop, router is.
Same applies to the second question, if no s

【在 d**i 的大作中提到】
: When multiple switches are connected, how could they realize the routing when
: the source and destination requires multihop? simply by MAC address?
: If the system is not connected to Internet, say, a cluster system, is router
: required in this case? If there is some routing algorithm within the switch,
: can I modify it to realize my own routing algorithm?
: Thanks!

r*****e
发帖数: 52
3
big deal. all just terminalogy differences. bottom line is: both
routing and bridging are just multi-hop forwarding.
stp and any routing protocol all build some forwrading topologies.
stp builds a tree, routing protocol builds a mesh. then individual
route is the shortest path (or whatever path) within corresponding
topology. one real difference is that routing supports route (or
path) aggregation while all routes (or paths) in stp are per-host.
there are people selling layer 3 switches (o

【在 a***t 的大作中提到】
:
: when
: Clarifying some concepts first:
: 1. Switch operats on the layer 2, data link layer (of course, the regular
: switch, not the layer-3 or layer-4 switch)
: 2. Router operates on the IP layer, layer 3
: So, to answer you question:
: Switches don't know the routing. If they are connected to the same subnet,
: nothing needs to be done. If they are connected to the different subnet, you
: need to put a router between them. Switch isn't counted as a hop, router is.

a***t
发帖数: 39
4

Therotically, you are partically right. STP and routing protocols are for the
different purposes... (We don't want to discuss the detail, do we?) But in the
real world implementation, and if you look at the majority of the products in
the market palce, layer 2 protocol wouldn't talk to layer 3 protocol. They
have different address space, MAC and IP address (take IP as example, of
course there are IPX and others); IP packet is the payload of the ethernet
frame, layer 2 switch wouldn't see the IP

【在 r*****e 的大作中提到】
: big deal. all just terminalogy differences. bottom line is: both
: routing and bridging are just multi-hop forwarding.
: stp and any routing protocol all build some forwrading topologies.
: stp builds a tree, routing protocol builds a mesh. then individual
: route is the shortest path (or whatever path) within corresponding
: topology. one real difference is that routing supports route (or
: path) aggregation while all routes (or paths) in stp are per-host.
: there are people selling layer 3 switches (o

1 (共1页)
进入Internet版参与讨论
相关主题
请教wireless router问题怎样用Crossover Cable连接两台电脑
有信号,也分配了IP,为啥还是不能上网VPN connection problem? (转载)
菜鸟求助,同一个局域网内,一台机器能上网,另外一台不能上网how could web server with subnet ip be visited from internet?? thx!
4台设备连接到router,但仅有一台没有internet access?Re: how could web server with subnet ip be visited from internet?? thx
ask a question about connection between two computersNetwork question, THanks
Can we use router as switch?防火墙的缺省IP地址可以改吗?
请教高手belkin router配置无线网问题问个安全问题.(使用天网)
Re: [转载] Dual NIC to build a network?A can ping B, B cannot ping A
相关话题的讨论汇总
话题: switches话题: routing话题: layer话题: question