# 50.012 Lecture 1 # Overview of Internet ## Internet -- "nuts and bolts" view There are billions of computing devices, or known as **hosts**. These are end systems that run **network apps**. In order to facilitate communication between hosts, we need **communication links** (e.g. fiber, copper, radio, satellite). The transmission rate is known as **bandwidth**. **Packet switches** are nodes that function to forward packets. They consist of routers and switches. ![](https://i.imgur.com/clmvMaW.png) The **internet** is a network of networks. There are **protocols** to control the sending and receiving of messages, and **Internet standards** that have to be adhered to. ## Internet -- service view Infrastructure that provides services to applications. It provides programming interface to apps. * hooks that allow sending and receiving app programs to "connect" to Internet. * provides service options, analogous to postal service. ## Packet-switching ![](https://i.imgur.com/djRCipb.png) Each packet is sent through the link, which is received by the router. Most routers work in the store-and-forward manner, meaning that they will store the entirety of each packet when it arrives, before it forwards the packet to the destination. ## Alternative: Circuit-switching ![](https://i.imgur.com/KlCBtjz.png) End-to-end resources are reserved for one communication between source & destination A circuit segment is idle when not used. ![](https://i.imgur.com/YgVFG8Y.png) ![](https://i.imgur.com/siugVCC.png) ![](https://i.imgur.com/zt3bZg4.png) ![](https://i.imgur.com/ojrxy5V.png) ## Internet Protocol Stack * Application: supporting network applications * Transport: data transfer between processes * Network: Routing of datagrams from source to destination * Link: Data transfer between neighbouring network elements. * Physical: bits "on the wire" ![](https://i.imgur.com/JeQnHGB.png) ![](https://i.imgur.com/vxEk57f.png) ![](https://i.imgur.com/jvU0TS9.png) ![](https://i.imgur.com/R2uKETv.png) d~proc~: d~queue~: d~trans~: time taken to send out the packet to the link. d~prop~: time taken to send the packet from source router to destination router.