CS101 Lectures 18&19 - Sonoma State University

Download Report

Transcript CS101 Lectures 18&19 - Sonoma State University

CS101 Lecture 9

Network Basics

Computers love bytes and a factor of ____ Up to now we have been using bytes as our main unit of measurement with a factor of ____ For instance storage measured in bytes –

1 bit = 0 or 1

1 bit * 8 = 8 bits = one byte

1 byte * 1024 = 1024 bytes = 1 Kilobyte

1 byte * 1024 * 1024 = 1,048,576 bytes = 1 Megabyte

1 byte * 1024 * 1024 * 1024 = 1,073,741,824 bytes = 1 Gigabyte

1 byte * 1024 * 1024 * 1024 * 1024 = 1,099,511,627,776 bytes = 1 Terabyte

Networks Love Bits and a Factor of 1000

Movement measured in: ____ ___ _____ (bps) – bps = How many bits go by a point in one second – Also called Data Transmission Rate • • • • •

1 bps = 1 ___ per second 1bps*1000 = 1000bps = 1 ___ bit per second = 1 kbps 1bps*1000*1000 = 1,000,000bps = 1 ___ bit per second = 1 Mbps 1bps*1000 *1000*1000 = 1,000,000,000bps = 1 ___ bit per second = 1 Gbps etc

What is a ______?

• ________ = Devices connected together so that they can exchange information

A network needs 3 things

• ________ ________ – Instructions to move information between devices • Standalone software or built into most operating systems • ___________ – Agree upon way to do things • TCP/IP = Transmission Control Protocol/Internet Protocol • __________ – Way to move information between devices • Wired or Wireless

Home Network Software

• Built into the operating system since everyone wants to network related things with their computer – Windows = Control Panels > Network and Internet – Macintosh = Apple menu > System Preferences > Network

Home Network Protocols

• Handled by the networking software • Since everyone wants their computer to be able to communicate with everyone else's computer we all want to use the same protocols • ___/__ = ________ _______ ________/ ________ _______ – Suite of communication protocols • Example = http = Hyper Text Transfer Protocol to move web pages around in an agreed upon way

To have a connection you need a NIC

• NIC = ________ _________ _____ • A ___ allows a device like a computer, printer, scanner, etc, to connect to a network • A ____ has a ___ address – Media Access Control address – Unique address for each item on a network • Can be found in System Information under Network Adapter

Home network connection options

• Wired – ________ cables • Fast ______ 10Mbps/100Mbps • Gigabit ______ 10Mbps/100Mbps/1000Mbps – _______ _____ Networking (electrical system) – ______ _____ Networking (phone system)

Home network connection options

• Wireless – ______ either _, _, _, _, _ • A wireless router radios the information to devices on the network. • Each device on the wireless network needs a wireless NIC card to receive and send signals.

If you go wireless…

• _________ usually is off by default • Password Protect _______ – Change default password of router • Turn on wireless ________ and create very long password • WEP = Not quite as bad as nothing • WPA = Better • WPA2 = Best • Think about ___ address filtering and other options.

– Ready wireless router manual