1 / 23

Internet

Internet. COMP 101 Spring Semester, 2006 ( Last Modified: 2006/02/09 ). Local area network (LAN). A computer may be connected to a number of expensive devices: e.g., color laser printer, large disk of useful data, etc.

jaden
Download Presentation

Internet

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. Internet COMP 101 Spring Semester, 2006 (Last Modified: 2006/02/09)

  2. Local area network (LAN) • A computer may be connected to a number of expensive devices: e.g., color laser printer, large disk of useful data, etc. • A LAN is used to connect a number of computers so that these devices can be shared by these computers. • LAN operates over a limited distance.

  3. Wide Area Network (WAN) • It is desirable to enable sharing among computers over a wide geographic area. • Each LAN in a WAN has a dedicated computer attached to the transmission line (the “gateway” or “router”). • This computer delivers incoming messages to the designated computers on the LAN and collects outgoing messages to send off.

  4. The objective • Make the network transparent to the user

  5. Communication protocols • For a computer to send a message to another, they must at least agree on: • Cable connector design • Voltage of electrical signals • Frequency of signal modulation • Interpretation of data being transmitted

  6. The Internet • An “open” network using the TCP/IP protocol to “interconnect” existing networks • Initial development funded by US Defense Department around 1969 • Mature technology being used in private networks as well

  7. Internet protocol (IP) • Messages on the Internet are transmitted in “packets”. • All computers on the network are uniquely identified by an IP address. • Identical IP software on the computers can interpret the address on each packet to decide which computer to send the packet on.

  8. Routers • Routers are dedicated computers on the Internet that run identical IP software. • A router interprets the IP address on an incoming packet and uses an internal routing table to forward the packet to another router connected to it.

  9. Transmission control protocol (TCP) • A message may be divided into a number of segments before transmission. • Each segment is “wrapped” inside an IP packet. • Packets may be lost due to equipment/network failure or congestion. • TCP software checks for lost packets and requests retransmission, and removes duplicate packets. • TCP software assembles packets in the original order at destination.

  10. Other protocols discussed in COMP101

  11. Domain name system (DNS) • Service to translate the understandable addresses into IP addresses • Not case-sensitive • Examples of top-level domains: .com, .edu, .gov, .org, .hk, .cn • To find domain information from IP addresses: use http://www.geektools.com/whois.php

  12. International domain names • You may register with CNNIC: • 香港工程師.中國 • 香港工程師學會.網絡 • 香港工程師學會.中國 • 香港工程師學會.公司 • 香港總彩公司.com • 香港長江實業.com • 香港匯豐銀行.com • 香港民意網.com • No live website yet 

  13. Intranet • A private network using TCP/IP

  14. Firewall • A software filter to prevent harmful messages from reaching an Intranet

  15. Internet under stress on 9-11 • No disruption outside of the attack zones • Websites of major news services not reachable due to overload • E-mails remain effective communication channel after phones failed

  16. Future Internet stress • Lack of unique IP addresses • Solution: moving to IPv6 • Viruses and worms bring down connected computers • Solution: more effective firewall/filter • SPAM messages clog up bandwidth • Solution: more effective SPAM filter

  17. IP header format

  18. 0 15 16 31 TCP segment format source port number destination port number sequence number acknowledgement number header length reserved (6 bit) URG ACK PSH RST SYN FIN advertised receive window size TCP checksum urgent pointer options (if any) <variable length> data (if any) <variable length>

  19. IP addresses • 4-byte unique identification of computer • The address for the computer “ust.hk” was 143.89.13.21 • The address for the computer “cs.ust.hk” was 143.89.41.157 • Running “ping” in “cmd” window can find the latest IP address

  20. Finding the IP address of a computer • Run cmd on Windows machines

More Related