1 / 6

Switch vs. Router

Switch vs. Router. Switch: Def. 1: A network node that forwards packets from inputs to outputs based on header information in each packet. It differs from a router mainly in that it typically does not interconnect networks of different types . (Peterson)

jewell
Télécharger la présentation

Switch vs. Router

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Switch vs. Router • Switch: • Def. 1: A network node thatforwards packets from inputs to outputs based on header information in each packet. It differs from a router mainly in that it typically does not interconnect networks of different types. (Peterson) • Switch fabric: The component of a switch that directs packets from their inputs to the correct outputs. (Peterson) • Router: • Def. 1: A network node connected to two or more networks that forwards packets form on network to another. (Peterson) • Def. 2: An internetworking device that connects two computer networks. It makes use of an internet protocol and assumes that all of the attached devices on the networks use the same communications architecture and protocols. Arouter operates at OSI layer 3. (Stallings) Spring 2004

  2. (a) (b) A A A A Trunk group B B B MUX DMUX B C C C C Cost-Effective Resource Sharing • Must share (multiplex) network resources (nodes and links) among multiple users Spring 2004

  3. Conventional Multiplexing Strategies • Frequency-Division Multiplexing (FDM) • With FDM, each channel continuously gets a fraction of the bandwidth • Synchronous Time-Division Multiplexing (STDM) • With TDM, each channel gets all of the bandwidth periodically during brief intervals of time. Spring 2004

  4. (a) router PPP Ethernet (b) PC HTTP HTTP TCP Router TCP IP IP IP Net Interface Net Interface Net Interface Ethernet PPP Spring 2004

  5. socket interface socket interface Application 1 Application 2 user user kernel kernel Socket Socket Underlying communication Protocols Underlying communication Protocols Communications network Socket API Spring 2004

  6. Server socket() bind() listen() Client accept() socket() blocks until server receives a connect request from client connect negotiation connect() data write() read() data write() read() close() close() Socket API Spring 2004

More Related