Prabhankar0HS0

session 2

Aug 14th, 2018
678
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. Lecture 2
  2.  
  3. Introduction to Networks
  4. ------------------------
  5.  
  6. Network: Interconnetion of two or more devices with each other for a common purpose i.e sharing which can be peripheral devices or can either be any information.
  7. Types:
  8. Intranet
  9. Internet
  10.  
  11.  
  12.  
  13.  
  14. How you get connected to the network ?
  15. NIC (Network Interface Card)
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. Network Topologies (Arrangement)
  25. --------------------
  26. o Bus Topology : single transmission channel
  27. o Star Topology : one central node
  28. o Ring Topology : Forming a ring sturcture with no central dependency
  29. o Mesh Topology : Every node is connected to every other node present in a network
  30. o Hybrid Topology : Mixture of the above topologies.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47. ● Network Protocols (Network me kadam rakhne ke liye kch rules follow krne hote ha unko network protocol kehte hai): To implement smooth transfer of data to anfd fro the network one needs to follow these protocols.
  48. -----------------------
  49. o IP : The Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet.
  50.  
  51. o HTTP (HyperText Transfer Protocol ) : Protocol defines how messages are formatted and transmitted, it is the foundation of any data exchange in WWW (80).
  52.  
  53. demo.testfire.net/bank/login.aspx
  54.  
  55.  
  56.  
  57. o FTP: To transfer files over the network.
  58. (In intranet accessed ftp://ip ) [21]
  59.  
  60. o SMTP (Simple Mail Transfer protocol): To transfer mail properly 25,366
  61.  
  62. o VoIP : Voice over Internet Protocol is a category of hardware and software that enables people to use the Internet as the transmission medium for telephone calls by sending voice data in packets using IP (5060 and 5061)
  63.  
  64.  
  65. o DHCP : Automatic assignment of IP
  66. (dynamic host configuration protocol)
  67.  
  68. o TCP : handshaking , connection-oriented, reliable, slow
  69. Transmission control Protocol: examples:
  70.  
  71.  
  72. o UDP (USER DATAGRAM PROTOCOL): no hanshake, connection less, not reliable, fast, video streamng
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92. ipconfig
  93.  
  94. There are two types of address :
  95. Virtual address : your IP address which might change fromm place to place
  96. physical address : Which will remain constant throughout like your MAC address.
  97.  
  98.  
  99.  
  100. o Types of IP
  101. ▪ Internal | Private | Local
  102. --> ipconfig
  103. --> ifconfig
  104. ▪ External | Public | Global
  105. --> myipaddress
  106. --> ipcow.com
  107. --> ipchicken.com
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. IPV4 VS IPV6
  134. ================
  135. IPv4 uses a 32-bit address scheme allowing for a total of 2^32 addresses (just over 4 billion addresses)
  136. IPv6 addresses are 128-bit IP address written in hexadecimal and separated by colons.
  137.  
  138. 172.16.149.1
  139.  
  140. 00000000.00000000.00000000.00000000 = 32 bit
  141.  
  142.  
  143.  
  144. 2^2 2^1 2^0
  145. 0 0 0 0 000
  146. 1 0 0 1 001
  147. 2 0 1 0 010
  148. 3 0 1 1 011
  149. 4 1 0 0 100
  150. 5 1 0 1 101
  151. 6 1 1 0 110
  152. 7 1 1 1 111
  153.  
  154.  
  155.  
  156. 192 = 11000000
  157. 168 = 10101000
  158.  
  159.  
  160. 128 64 32 16 8 4 2 1
  161. 192= 1 1 0 0 0 0 0 0
  162. 168= 1 0 1 0 1 0 0 0
  163.  
  164. Subnetting
  165.  
  166. 192.168.0.1/23
  167.  
  168. 11000000.10101000.00000001.00000001
  169.  
  170.  
  171. IP Classes in decimal notation
  172. Class A addresses range from 1-126 -- 255.0.0.0 126.0.0.0
  173. Class B addresses range from 128-191 --- 255.255.0.0
  174. Class C addresses range from 192-223 --- 255.255.255.0
  175. Class D addresses range from 224-239
  176. Class E addresses range from 240-254
  177.  
  178. 127.0.0.1--> loopback address
  179.  
  180. 00000000.00000000.00000000.00000000 --- 11111111.11111111.11111111.11111111
  181. 0.0.0.0 --- 255.255.255.255
  182.  
  183.  
  184.  
  185. Class A: 255.0.0.0 (2^N-2) HOSTS
  186. --- -----
  187. NI HI
  188. Class B: 255.255.0.0
  189. Class C: 255.255.255.0
  190.  
  191.  
  192.  
  193. 172.16.0.1 - 172.16.0.255 ---->
  194. 172.16.1.0 - 172.16.1.255 ---->
  195. 172.16.2.0 - 172.16.2.255 ---->
  196.  
  197.  
  198. 172.16.0.54
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205. NAT - Network Address Translation
  206. ==================================
  207.  
  208. This is a function which converts my Public IP Address to my Private IP Address and vice versa.
  209.  
  210.  
  211.  
  212.  
  213. 172.168.10.0 - 172.168.10.255
  214. 172.168.11.0 - 172.168.11.255
  215.  
  216. TASKS:
  217. IPV5
  218. What Protocol Dhcp uses
Advertisement
Add Comment
Please, Sign In to add comment