Lecture 3: CSCI E-1 Spring 2013

Lecture 3: CSCI E-1 Spring 2013

9e4d3e53f8525fdff00691a8b843e66b?s=128

Tommy MacWilliam

February 25, 2013
Tweet

Transcript

  1. 8.
  2. 9.
  3. 10.
  4. 11.
  5. 12.
  6. 14.
  7. 15.

    LAN

  8. 16.

    WAN

  9. 17.
  10. 23.
  11. 24.
  12. 32.

    NAT

  13. 33.

    Device Private IP Public IP Source Port Macbook 10.0.0.1 74.125.26.228

    1000 iPhone 10.0.0.2 74.125.26.228 1001 iPad 10.0.0.3 74.125.26.228 1002
  14. 36.

    NAT Request • request from 10.0.0.1 reaches router • router

    looks up source port for 10.0.0.1 • router changes source IP to 74.125.26.228, adds source port 1000
  15. 37.

    NAT Request • request from 10.0.0.1 reaches router • router

    looks up source port for 10.0.0.1 • router changes source IP to 74.125.26.228, adds source port 1000 • router sends modified request to destination
  16. 39.

    NAT Response • router receives response to 74.125.26.228 with source

    port 1000 • router looks up IP address for source port 1000
  17. 40.

    NAT Response • router receives response to 74.125.26.228 with source

    port 1000 • router looks up IP address for source port 1000 • router forwards response to original client
  18. 42.
  19. 44.
  20. 45.

    DHCP • Client broadcasts “I would like to join” •

    Server responds “I can help” • Client requests an IP address
  21. 46.

    DHCP • Client broadcasts “I would like to join” •

    Server responds “I can help” • Client requests an IP address • Server offers client an IP address
  22. 47.

    DHCP • Client broadcasts “I would like to join” •

    Server responds “I can help” • Client requests an IP address • Server offers client an IP address • Client confirms IP address
  23. 48.
  24. 50.
  25. 53.
  26. 54.
  27. 55.
  28. 56.

    VPN

  29. 57.
  30. 58.

    DNS

  31. 59.
  32. 68.
  33. 69.

    Domain Resolution • hosts file? • cache DNS server? •

    root DNS server • TLD DNS server • authoritative name server
  34. 71.
  35. 73.
  36. 76.
  37. 77.

    DNS Records • NS: name servers • MX: email •

    A: IPv4 address • AAAA: IPv6 address • CNAME: domain alias
  38. 78.
  39. 79.

    TLD Usage .com Companies .edu Education .gov US Government .info

    Information .mil US Military .net Networks .org Organizations
  40. 80.
  41. 84.

    URL

  42. 94.

    query=cse1&page=3 • client • the query I want is cse1

    • the page I want is 3 • server • what query and page should I look for?
  43. 95.
  44. 98.

    URI

  45. 101.

    API

  46. 105.
  47. 106.

    Networking • router • IP address • ISP • network

    • WAN, LAN • IPv6 • private IP address • NAT • DHCP • 802.11n • 3G, 4G • mbps • firewall • VPN
  48. 107.

    Domain Name System • DNS • domains • hosts file

    • root DNS server • TLD DNS server • authoritative name server • net neutrality • A record • CNAME record • TLD, ccTLD • registrar • URL • URI • API