Advertisement
pexea12

Chapter 1 - Network

Apr 5th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.79 KB | None | 0 0
  1. Chapter 1:
  2.  
  3. Internet:
  4. hosts = end systems, running network apps
  5. communication links: fiber, copper, radio
  6. transmission rate = bandwidth
  7. packet switch
  8.  
  9. routers, link-layer switch -> route, path
  10.  
  11. protocol
  12.  
  13. Internet: network of networks
  14. loosely hierarchical
  15.  
  16. communication infrastructure: distrubute applications
  17. communcation services provided to apps:
  18. reliable data transfer
  19. best effort (unreliable)
  20.  
  21. an infrastructure that provides services to applications
  22.  
  23. Protocol: format, order of message sent and received among network entities,
  24. and actions taken on message transmission, receipt
  25. TCP/IP
  26.  
  27.  
  28. Network structure
  29. Network edge: applications and hosts
  30. Access networks, physical media: wired, wireless communcation links
  31. Network core: interconnected routers, network of networks
  32.  
  33. Network egdge: end systems (host),
  34. client/server model
  35. peer-peer model
  36.  
  37. Connect end systems to edge router:
  38. residential access nets
  39. institutional access network
  40. mobile access networks
  41.  
  42. Dial-up Modem:
  43. Existing telephony infrastructure
  44. Home is connected to central office
  45. up to 56Kbps direct access to router
  46. Cant surf and phone at the same time
  47.  
  48. DSL (Digital Subscriber Line)
  49. Existing telephony infrastructure
  50. up to 1Mbps upstream, 8Mbps downstream
  51. dedicated physical line to telephone central office
  52.  
  53. Residential access: cable modems:
  54. Does not use telephony infrastructure
  55. Use cable TV infrastructure
  56. HFC (hybrid fiber coax) 30Mbps down, 2Mbps up
  57. 13Mbps down for cable access network
  58. network of cable and fiber attaches homes to ISP router
  59. home shares access to router (not dedicated access)
  60.  
  61. FTTH (Fiber to the Home)
  62. Optical links from central office to the home
  63. 2 competing optical technologies:
  64. PON: Passive Optical network
  65. PAN: Active Optical Network
  66. Much higher Internet rates: fiber also carries TV and phone
  67. 20Mbps down
  68.  
  69. Ethernet:
  70. companies, universities
  71. 10 Mbps, 100Mbps, 1Gbps, 10Gbps Ethernet
  72. end systems connect into Ethernet switch
  73.  
  74. Wireless access network:
  75. shared wireless access network connects end system to router
  76. (via access point)
  77. wireless LANs: 11 or 54 Mbps
  78.  
  79. wider-area wireless access: provided by telco operator (3G, LTE)
  80.  
  81. Home networkss:
  82. DSL or cable modems
  83. router/firewall/NAT
  84. Ethernet
  85. wireless access point
  86.  
  87. Physical Media:
  88. Bit: propagates between transmitter/receiver pairs - Physical medium
  89. Physical link: lies between transmitter and receiver
  90. Guided media: signals propagate in solid media (copper, fiber, coax)
  91. Unguided media (propagate freely: radio)
  92. Twisted pair (TP): 2 insulated copper wires
  93.  
  94. Coaxical cable (bidirectional, baseband): shared medium
  95. Fiber optic cable (high speed, low error rate)
  96.  
  97. Radio:
  98. no wire,
  99. bidirectional,
  100. propagation environment effects
  101. signal carried in electromagnetic spectrum
  102.  
  103. terrestrial microwave
  104. LAN (wifi)
  105. wide-area (cellular (3G))
  106. satellite
  107.  
  108. Network core:
  109. circuit switching: dedicated circuit per call
  110. packet switching: data sent through net in discrete chunks
  111.  
  112. Circuit switching:
  113. end-end resources reserved for "call"
  114. link bandwidth, switch capacity
  115. dedicated resources: no sharing
  116. circuit-like performance
  117. call setup required
  118.  
  119. network resources divided into pieces
  120. pieces allocated to calls
  121. resource piece idle if not used by owning call (no sharing)
  122. dividing like bandwidth into bandwidth:
  123. Frequency division: FDM
  124. Time division: TDM
  125.  
  126. Packet switching:
  127. store and forward transmission
  128. each end-end data stream divided into packets
  129. full link bandwidth
  130. share network resources
  131. resources used as needed
  132. resource contention
  133. aggregate resource demand can exceed amount available
  134. congestion: packets queue, wait for link use
  135. store and forward: packets move one hop at a time
  136.  
  137. statistical multiplexing:
  138. A, B have no fixed pattern, bandwidth shared on demand
  139.  
  140. allow more users to use network
  141.  
  142. Packet switching vs. Circuit switching:
  143. packet switching great for bursty data:
  144. resource sharing
  145. simpler, no call setup
  146. excessive congestion: packet delay and loss
  147. protocols needed for rdt, congestion control
  148.  
  149. Internet structure: network of networks:
  150. roughly hierarchical
  151. Tier-1 ISP: center - provider
  152. Tier-2 ISP: smaller, regional - customer
  153. Tier-3 ISP and local ISP - customer
  154.  
  155. a packet passes through many networks
  156.  
  157. Delay:
  158. packets queue in router buffers:
  159. packet arrival rate to link exceeds output link capacity
  160. packets queue, wait for turn
  161.  
  162. nodal processing:
  163. check bits error, determine output link
  164. queueing delay:
  165. time waiting at output link for transmission
  166. depends on congestion level of router
  167. Transmission delay:
  168. L / R (time to send bits into link)
  169. R = link bandwidth (bps)
  170. L = packet length
  171. Propagation delay:
  172. d = length of physical link
  173. s = propagation speed in medium
  174. propagation delay = d/s
  175.  
  176. d(nodal) = d(processing delay) + d(queueing delay)
  177. + d(transmission delay) + d(propagation delay)
  178.  
  179. Queueing delay:
  180. R = link bandwidth (bps)
  181. L = packet length (bits)
  182. a = average packet arrival late
  183.  
  184. traffic intensity = La / R
  185. La/R ~ 0: average queueing delay smaller
  186. La/R -> 1: delays become large
  187. La/R > 1: more work arriving than can be services,
  188. average delay infinite
  189.  
  190. Traceroute: provide delay measurement from source to router
  191.  
  192. Packet loss:
  193. queue (buffer) has finite capacity
  194. packet arriving to full queue dropped
  195. lost packet may be retransmitted by previous node
  196.  
  197. Throughput:
  198. rate (bits/time unit) and which bits transferred between sender/receiver
  199. instantaneous
  200. average
  201. bottleneck
  202.  
  203. Protocol "Layers"
  204. dealing with complex systems
  205. layered reference model for discussion
  206. ease maintenance, updating system
  207.  
  208. Internet protocol stack:
  209. application: network applications (FTP, SMTP, HTTP) - message
  210. transport: process-process data transfer (TCP, UDP) - segment
  211. network: routing of datagrams from source to destination (IP) - datagram
  212. link: data transfer between neighboring network elements (PPP, Ethernet) - frame
  213. physical (bits on the wire)
  214.  
  215. ISO/OSI reference model
  216. application
  217. presentation: allow apps to interpret meaning of data
  218. encryption, compression
  219. session: synchronization, checkpointing, recovery of data
  220. transport
  221. network
  222. link
  223. physical
  224.  
  225. Encapsulation
  226.  
  227. Network security:
  228. not originally designed with much security in mind
  229. virus, worm, trojan, spyware, malware, botnet, self-replicating
  230. packet sniffing
  231. IP spoofing
  232. recored and playback
  233.  
  234. Internet history:
  235. 61-72: Early packet switching principles
  236. 72-80: Internetworking, new and proprietary nets
  237. 80-90: new protocols, a proliferation of networks
  238. 90, 2000: commercialization, the Web, new apps
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement