Course Overview Internet Technology 1
Course Objectives Develop an understanding of how web pages work. Become familiar with SSH, SFTP, HTML, CSS/JavaScript. Gain hands-on experience in web authoring. Construct a website Internet Technology 2
Course Requirements Grading Homework Assignments (40%) Midterm Project (20%) Final Projects (40%) Participation (Extra Credit) Prerequisites Basic computer skills (e.g., know how to use PC and Web browser) Technical background is not required. Internet Technology 3
Course Policy Students are encouraged to work together in all aspects of the course (e.g., homework and group projects). This class advocates an open book policy of allowing students to consult textbooks, Internet resources, and classmates when working on assignments to facilitate learning and promote collaboration. Internet Technology 4
Course Resources Homepage http://widit.knu.ac.kr/~kiyang/teaching/it/ Required Readings Lecture material and online contents Supplemental Readings Creating Web Pages for Dummies (9th Edition, 2008) by Bud E Smith, November The Wiley Publishing The Internet for Dummies (13th Edition, November 2011) by John R. Levine, Margaret Levine Young The Wiley Publishing Internet Technology 5
Internet Overview Introduction to Internet Technology Overview of Web Authoring Internet Technology 6
What is the Internet? An internet is a set of computer networks that are connected to each other (e.g. intranet). The Internet is a world-wide set of networks that interoperate using TCP/IP protocols. Think of communication software or standards when you see protocol more on TCP/IP and other protocols later A global channel for digital communication and data exchange. Internet Technology 7
What is the Internet? google.com 74.125.232.230 widit.knu.ac.kr 155.230.194.245 www.whitehouse.gov 104.118.93.61 Internet Technology 8
How does the Internet work? Postal Analogy Common language e.g., Korean, English A letter An envelope stamped & addressed Physical delivery via the postal stream Internet Application protocols HTTP, SMTP, SSH, SFTP Digitized data Communication protocols TCP/IP Connection to the Internet NIC, wire/wireless, routers Internet Technology 9
How does the Internet work? Key Components Need homogeneous communications between heterogeneous hardware and software. Communication Protocols Transmission Control Protocol / Internet Protocol Addressing System Domain Name System (Service) Networking Structure Four Layer Model Need efficient method of data exchange for a distributed and decentralized system Application Structure Client Server Architecture/Model Internet Technology 10
Networking Basics: Circuit and Packet Switching Circuit Switched Communication - Dedicated line Hello Who s calling? Sender Packet Switched Communication - Data is broken up into packets Receiver A B C A C B A B C Internet Technology 11
Networking Structure: Four Layer Model Applications Transport Network Applications Interface e.g., HTTP, SMTP, SSH Reliable Delivery i.e., TCP Source to Destination i.e., IP Physical Hosts, routers, wires, etc. Internet Technology 12
Communication Protocols Transport & Network Layers TCP (Transmission Control Protocol) Responsible for ensuring reliable & accurate delivery of data e.g., error-checking, end-to-end acknowledgement, etc. Breaks up a file to transmit into a set of TCP segments. TCP header contains sequence #, ACK, checksum IP (Internet Protocol) Method for Routing Data Defines how packets reach specified destination Best-effort delivery (i.e. connectionless, unreliable) data corruption, lost packets can occur Encapsulates a TCP segment in an IP packet IP header contains the source/destination IP address Internet Technology 13
Communication Protocols Applications Layer Ensure that the sender and receiver are speaking the same language, and that the letter can be interpreted HTTP, FTP, SMTP, Telnet/SSH HyperText Transfer Protocol File Transfer Protocol Simple Mail Transfer Protocol Telnet Protocol Transmission Control Protocol Internet Protocol IP Packet Internet Technology 14
Communication on the Internet Application (e.g. Chrome) Application (e.g. Web server) Data Data Network Interface (i.e. TCP/IP) Network Interface (i.e. TCP/IP) Packet Packet Packet Packet Packet Packet Physical (wire, router, hosts) Internet Technology 15
Internet Addressing IP address An unique number assigned to a host Assigned by IANA e.g. 155.230.194.245 Hostname A human-readable name assigned to a host Named by organizations e.g. widit.knu.ac.kr Domain name A name assigned to an entity. e.g. knu.ac.kr Internet Technology 16
Internet Addressing: Domain Name System (DNS) Hostname to IP Address mapping system DNS servers store the name-address pair. Applications use resolvers to query DNS servers. Main Characteristics Hierarchical Sub-domains on the left (e.g. lis.knu.ac.kr) Distributed Authoritative name servers for each domain & sub-domains When a DNS server is missing an entry, next server is checked A client (resolver) must know at least 1 DNS server Internet Technology 17
Internet Addressing: DNS is Hierarchical.edu ncsu.edu unc.edu duke.edu cs.unc.edu med.unc.edu ils.unc.edu Internet Technology 18
Internet Addressing: Hostname vs. IP Address widit.knu.ac.kr Most Specificity Least Top Level Domain IANA assigned 155.230.194.245 Assigned locally Least Specificity Most Internet Technology 19
Internet Addressing: Anatomy of a URL URL stands for Universal Resource Locator a.k.a. Uniform Resource Locator Protocol Hostname Domain Item requested http:// widit. knu.ac.kr/~kiyang/teaching/it/w16/schedule.htm Fully qualified resource name Certain protocols assume certain ports (e.g., http port 80) When non-standard port is use, it can be specified in the URL http://widit.knu.ac.kr:8800/ Internet Technology 20
Client-Server Model Client Initiates a Connection Server Waits & Responds to Incoming Connections 155.230.194.233 155.230.194.245 Client Application program running on the client machine (e.g., Internet Explorer) Application Protocol (e.g., HTTP) Server Application program running on the server machine (e.g., Apache Web Server) Internet Technology 21
Client-Server Model: Overview Servers Can refer to hardware (computers) or software (programs) One computer can run many server applications. e.g., http (web), ftp, email, telnet, etc. Server Address = IP address + port number Each server application listens on a different port e.g., http 80, SMTP 25, telnet 23, ssh 22, ftp 21 Clients http server SMTP server SSH server There can be many clients for a server application People interface with them directly HTTP Clients: Internet Explorer, Firefox, Chrome http client SMTP client http client http client SMTP client SSH client Email Clients: Outlook, Pine, Lotus Notes Telnet/SSH Clients: Putty, SSH Secure Shell Internet Technology 22
Web Authoring Internet Technology 23
Publishing HTML Content Creation Mode #1 Create HTML pages on the local PC using Notepad, Dreamweaver, etc. Upload the files to the server to be displayed on the Web Content Creation Mode #2 Create HTML pages directly on the server using pico, vi, etc. Edit Display Publish upload Edit Display Publish Internet Tecnology 24
Q&A What is the Internet? How does it work? Describe Domain Name System Client-Server Model 4-Layer Model TCP/IP How can you publish content on the Web? Internet Technology 25
An Opte Project visualization of routing paths through a portion of the Internet Internet Technology 26
Internet Technology 27