• No results found

CMSI 182 Intro to Computer Science. Week 13 Tuesday B.J. Johnson Doolan :25 10:40

N/A
N/A
Protected

Academic year: 2021

Share "CMSI 182 Intro to Computer Science. Week 13 Tuesday B.J. Johnson Doolan :25 10:40"

Copied!
30
0
0

Loading.... (view fulltext now)

Full text

(1)

CMSI 182

Intro to Computer Science

Week 13

Tuesday B.J. Johnson Doolan 222 09:25 – 10:40

(2)

Where We Are:

I/O Peripherals History Lesson Algorithms Abstractions Programs Languages Architecture RAM/ROM Applications O/S HD Router Internet We’re here!

(3)

This Week’s Agenda

Homework questions

Networking Fundamentals

Thanksgiving

(4)

Network Terms

LAN: Local Area Network

WAN: Wide Area Network

CLAN/CWAN: Classified LAN/WAN

AP: Access Point

TCP: Transfer Control Protocol

IP: Internet Protocol

TCP/IP: you figure it out…

Open network: public domain

(5)

Network Types

Bus

Star

Ring

(6)
(7)
(8)

Token Ring Network

(9)

Network Parts

Hub

 Basically just a miniature bus  Plug in cables from computers  They can all talk to each other

 All messages go to all computers  MINIMAL networking

Switch

 Smarter hub

 Can send messages only to specific

computers

(10)

Network Parts

Router

 Used to join multiple networks together  Example is joining home network to the

internet

• Fed from DSL modem, Cable modem, or FiOS

• Distributes signals to computers, printers, etc.

• Frequently have 4, 6, or more ports

• Have an input connection and fan-out outputs

• Frequently include wireless connectivity

(11)

Network Parts

Repeater

 A smaller version of a hub

 Only has two ports; connects two buses  All traffic is passed

Bridge

 More complex repeater

 Two ports; connects two buses

(12)

Network Parts

Gateway

 Point at which a LAN connects to the

internet

 Provides a passage between the LAN and

the “outside world” of the internet

 May be simply a router

(13)

Network Parts

Ethernet

 Both hardware and protocol technologies  IEEE 802 family

• IEEE 802 - basic standards descriptions

• IEEE 802.11 wireless version

• 802.11 B – 11 Mbps, 2.4 GHz band

• 802.11 G – 54 Mbps, 2.4 GHz band

• 802.11 N – 54 Mbps, either 2.4 or 5 GHz

• Includes multiple input/multiple output

antennas

• “Channelized” transmit bands

(14)

Typical Home Network

Internet connects

to DSL modem

Modem connects

to router

Router connects to

home computers

 Wired (cabled) connections  Wireless over 802.11 b/g

(15)

Network Parts

Security

 Can be set up in your router

 Router login from connected computer  Usually address 192.168.1.1

 Usually factory login • User name “admin”

• No password

• First thing to do is change those!!

 Router can be set to “secure” mode • WAP and WEP

• WAP is more secure; requires a “key”

(16)

7 Deadly Network Layers

Application – file Xfer, email, etc.

Presentation – protocol conversion,

encryption/decryption, etc.

Session – process-to-process comm.;

setup/ending sessions

Transport – msg. delivery btw. hosts

Network – address translation

Data Link – transfer of data using…

Physical – transmit data over cable

(17)

The Internet

Generic name

 Multiple networks

 All connected together

Specific name “THE Internet”

 Started by DARPA and several academic

institutions (UC Berkeley, UCLA, etc.)

 Linked world wide

 Multiple versions of LANs, WANs,

corporate networks, etc. all connected together

(18)

Internet Composition

“Tiered” architecture

You and me and our computers

(19)

Addressing for Access

 Each computer has a network interface card

or “NIC”

 Each card has a specific Media Access

Control (MAC) address

 A set of six hex values

 E.g., “00-13-A9-08-07-49”  Hard-wired onto the NIC

 This is how the computer is identified

 DSL connections are made using this

 May need to set up DSL with one “main”

(20)

Addressing for Access

Each computer is assigned an “IP”

address

 Static IP: assigned for the LAN and set

“forever” in the computer settings

 Dynamic IP: assigned every time the

computer connects to the LAN

IP address is how the computer is

identified for message traffic

Consists of four “octets”

 xxx.xxx.xxx.xxx like 192.168.1.1  Each octet is a byte; total is 32 bits

(21)

Domains, Names, Addresses

 People can’t remember numbers, so we

translate the octets to words

 First we get a top-level domain (TLD), like

.com, .edu, .org, .gov; also country codes like .uk, .au, or .ru

 Then we get “registered domains” which

must be approved by “ICANN”

 Usually assigned to ISPs like AOL, etc  These two make up the “domain” like

google.com or dmv.gov or lmu.edu

 ISPs can then allocated “sub-domains”

which is where the left end comes from; like mail.google.com

(22)

Domain Name Lookup

Names are stored in a Domain Name

Server in the Domain Name System

(DNS)

When a browser points to an “address”

the computer looks up the names on

the DNS server for which it is

configured

You can find all this information for

your computer from a terminal window

 Windows: “ipconfig /all”  Mac: “ifconfig”

(23)

Internet Applications: email

Many types of protocols

Three most common

 SMTP – Simple Mail Transfer Protocol • Oldest

• Primarily text transfer

 POP3 – Post Office Protocol V.3

• User downloads messages to her own host

• User manages message storage locally

 IMAP – Internet Mail Access Protocol • Messages stay on the mail server

• User can manage them on the server

(24)

Internet Applications: ftp

FTP – File Transfer Protocol

 Application program

 Client/server protocol

• Must be an ftp server program on remote

• User starts ftp client on local host

 File transfer in ascii/binary mode

 Also a number of GUI-based clients • fireFTP firefox plugin

• Filezilla

• ftp commander

(25)

Internet Applications: telnet

Not an acronym

Provides a command line interface to

the remote computer

Start from terminal window by typing

“telnet <IP address>”

Often uses “secure shell” or SSH

 Putty – free download secure program  SSH itself can be used

(26)

Internet Applications: streams

VoIP – voice over internet protocol

Radio – pandora, grooveshark

Video – youtube, etc.

Unicasting

 N-unicast – one computer sends a stream

to many other computers

 Multicast – one computer sends messages

(27)

The World Wide Web

Hypertext

Hyperlinks

HyperText Markup Language

HyperText Transfer Protocol

Web page

Web site

Browser / Web Server

URL/URI

(28)

URL Parts

 Uniform Resource Locator (URL)  Uniform Resource Identifier (URI)  Uniform Resource Name (URN)

For internet stuff, we only care about the

URL

 Comprises:

 Protocol like “http://”

 Mnemonic name like “www.lmu.edu”

 The directory path to the file of interest  The file name of the web page file

 Example:

(29)

For Thursday ~

HAPPY TURKEY DAY!

Your assignment is to do whatever you

need to do to get the most enjoyment

of your holiday in whatever fashion

(30)

References

Related documents

The DDR2200 series residential gateway connects to the DSL line in your home and to your home network to deliver data, video, voice, and wired (Ethernet) or wireless

In WISP Client Router mode, the AP wirelessly connects to a WISP (Wireless Internet Service Provider) AP and acts as a router for wired clients on the LAN, to allow the client to

With the DGN2200 create a home network for applications such as online gaming, a fast reliable connection to the Internet and a secure wireless

With the N750 Wireless Dual Band Gigabit DSL Modem Router, create a powerful home network for applications such as streaming HD video and multi-player gaming, fast,

With the AC1750 WiFi Cable Modem Router create a better home network for applications such as online gaming, a fast reliable connection to the Internet and a secure

With the AC1750 WiFi Cable Modem Router create a better home network for applications such as online gaming, a fast reliable connection to the Internet and a secure

With the N600 WiFi Cable Modem Router create a better home network for applications such as online gaming, a fast reliable connection to the Internet and a secure

With the N300 WiFi Cable Modem Router create a better home network for applications such as online gaming, a fast reliable connection to the Internet and a secure