先决条件 – 网络拓扑
星形拓扑:
在星型拓扑中,节点连接到中央集线器或路由器,其中信息从中央集线器或路由器传播到所有节点。如果有n个节点,则星型拓扑中有n条链路。节点之间完全通过专用链路相互连接,其中信息从节点到节点传输。新电缆添加到中央集线器以在星形拓扑中添加新节点。
环形拓扑:
在环形拓扑中,每个节点都连接到它的左侧和右侧节点,其中信息在一个方向上以环形方式从节点传播到节点。如果存在 n 个节点,则在星形拓扑中也有 n 个链接.在环形拓扑中,要添加新节点,必须断开整个连接。
星形和环形拓扑的区别:
S.NO | Star topology | Ring Topology |
---|---|---|
1. | In star topology, the nodes are connected to the central hub or router. | In ring topology, every node is connected to it’s left and right side nodes. |
2. | In star topology, only hub is failure point. | In ring topology, every nodes are failure point. |
3. | The cost of star topology is high. | The cost of ring topology is low. |
4. | In star topology, the information is travel from central hub or router to all the nodes. | In ring topology, the information is travel from nodes to nodes in ring manner in one direction. |
5. | The cables are required in star topology more than the ring topology. | The cables are required in ring topology less than the star topology. |
6. | There are n links in Star topology, if there are n nodes. | There are also n links in ring topology, if there are n nodes present. |
7. | A new cable is added to the central hub to add a new node. | Whereas to add a new node in ring topology, the connection must be broken. |
8. | In Star topology, addition and removal of new nodes is moderately difficult. | In ring topology, addition and removal of new nodes is difficult. |