CMSC 100 Networks, the Internet, and Social Networking Professor Marie desJardins Tuesday, October 9, 2012 Some material adapted from instructor slides for Schneider & Gerstung Networks 1 Tue 10/9/12 Introduction Computer networks have had a revolutionary impact on society and technology Electronic commerce Worldwide communications Spread of information and data We take for granted: access to information on any subject immediate contact with people around the world streaming audio and video wired or wireless access from every device Networks 2 2 Tue 10/9/12 Basic Networking Computer network: made up of computing devices, nodes, and interconnections Networks may be wired or wireless; communication links use various technologies Wired: Dial-up Broadband Wireless: WLAN WWAN Networks 3 3 Tue 10/9/12 Dialin Phone Connections Switched, dial-up telephone lines Analog lines Transmit digital data Modem modulates carrier wave Bandwidth = capacity Speeds up to 56k bps Can make a voice call or transmit data – not both! Networks 4 4 Tue 10/9/12 Networks 5 Tue 10/9/12 Broadband Connectivity Broadband: transmission rate > 256k bps Home users: Networks Digital subscriber line (DSL) Uses phone lines, but sends digital signal on different frequencies than voice (can transmit voice and digital signal simultaneously) Down: 5-15 Mbps, Up: 1-2 Mbps Cable modem Uses cable TV lines Down: 10-20 Mbps, Up: 1-3Mbps Asymmetric download/upload times 6 6 Tue 10/9/12 Dedicated Network Connections Commercial/institutional users: Networks Ethernet (1970s) Dedicated coaxial cable Operates at 10 Mbps Fast Ethernet (early 1990s) Dedicated lines (coaxial, fiber-optic, or twisted-pair) Operates at 100 Mbps Gigabit Ethernet Standard (late 1990s) From gigabit networking research project IEEE standard Operates at 1000 Mbps 7 7 Tue 10/9/12 Networks 8 8 Tue 10/9/12 Wireless Connectivity Wireless data communication Radio, microwave, infrared signals to mobile computers Laptops, tablet computers, smartphones, etc. Mobile computing: deliver data regardless of location Bluetooth: Networks Low-power, close range (30-50 feet), connect devices like wireless mice, cameras, video games, phone headsets 9 9 Tue 10/9/12 Wireless Networks Wireless local area network (WLAN) Computers transmit wirelessly to local base station with wired connection Range of 150-300 feet Wi-Fi (Wireless Fidelity) Wireless wide area network (WWAN) Computers transmit wirelessly to remote base station with wired connection Networks Cellular technology: antennas on towers miles apart Example: 4G: voice and data, transmits at 5-20 Mbps Security: wireless signals easy to intercept 10 10 Tue 10/9/12 Local Area Networks Wired connection Computers, printers, and servers in close proximity Examples: same room, office building, campus Privately owned and operated Topology: how computers connected, affects how they communicate Networks 11 11 Tue 10/9/12 Network Topologies Bus topology Shared lines Take turns using line Ring topology Messages circulate until destination is reached Star topology Networks All send to central node, which routes to destination 12 Tue 10/9/12 Ethernet Ethernet LAN with shared cable Bus topology Single cable over short distances Multiple cables over longer distances Repeater amplifies signal Bridge routes messages only when necessary Networks 13 Tue 10/9/12 Wide Area Network Wired connection Computers located at great distances Examples: across state or country Dedicated point-to-point lines Computers connect to other computers on individual lines Store-and-forward, packet-switched Networks Packets go from node to node until they reach their destination 14 14 Tue 10/9/12 Routing Routing algorithms are used to move packets efficiently and balance load across the network Routing of packets determined dynamically (and locally) A-B-C-D or A-B-F-D or A-E-F-D or A-E-F-B-C-D Redundant paths, fault tolerance, responsiveness to traffic load Networks 15 15 Tue 10/9/12 Networks 16 16 Tue 10/9/12 Internet Combination of LANs and WANs Connected by routers that direct message traffic Internet service provider (ISP) provides access to the Internet for private individuals and organizations ISPs exist at multiple levels: local, regional, national, international (tier-1 (“T1”) network or Internet backbone) Networks 17 17 Tue 10/9/12 Networks 18 18 Tue 10/9/12 Networks 19 19 Tue 10/9/12 Networks 20 20 Tue 10/9/12 Basic Networking Concepts (continued) Internet growth has been astonishing: Networks 21 21 Tue 10/9/12 Communication Protocols Protocol: a standard set of rules for communicating Standards evolve over time International agreements make Internet possible Internet Society makes standards and promotes research: www.isoc.org Protocol hierarchy/protocol stack, TCP/IP layers of protocols physical transmission to end application rules and standards Networks 22 22 Tue 10/9/12 HTTP Hypertext Transfer Protocol (HTTP) Web page/service identified by unique URL (Uniform Resource Locator) protocol://host name/page Multiple protocols: http, mailto, news, ftp Web browser uses TCP to send formatted messages to Web server, and vice versa Networks TCP uses network layer (IP), data link layer, and physical layer 23 23 Tue 10/9/12 HTTP (cont.) Process: http://hostname/page Browser reads protocol, extracts host name (and requests IP address from DNS server) Sends a connect message to port 80 on that machine After connection established, sends “Get” message with page information Server responds with message containing page contents, size, and indicates connection closes at end of message Networks 24 24 Tue 10/9/12 Networks 25 Tue 10/9/12 Network Services and Benefits Interpersonal Communications Electronic mail (e-mail) Send message to be read at recipient’s convenience Fast, multimedia, broadcast medium Bulletin board system (BBS) Public forum for shared communications Evolved into Internet forums, chat rooms Instant messaging and texting Social networking Networks Online social groups designed for rich interaction 26 26 Tue 10/9/12 Social Networking How do you social network? Privacy Security Socialization Changes in society Networks 27 Tue 10/9/12 Network Services and Benefits (continued) Resource sharing Print server serves all computers on a LAN File server provides storage to all users Client/server computing Distributed databases and data warehouses Some nodes provide services, other nodes use those services Massive data stored in various sites online Groupware or wiki Networks Support collaborative knowledge/data construction 28 28 Tue 10/9/12 Networks 29 29 Tue 10/9/12 Network Services and Benefits (continued) Electronic commerce (e-commerce) Early applications Automatic paycheck deposit ATMs Checkout scanners and inventory systems Current applications Online stores for everything Electronic bill payment Online payment systems (Paypal) Future? Networks 30 30 Tue 10/9/12 Summary Computing devices can communicate through various wired and wireless media Computer networks vary in size and form, including LANs, WANs, WLANs, and WWANs LANs are configured differently from WANs, and use different communication methods The Internet is a WAN of WANs Protocols are necessary to standardize communications across different media and among different computers The Internet has permitted new kinds of connections among people: e-mail, e-commerce, resource sharing 31 Networks 31 Tue 10/9/12