Networking and Internet
by Chuck Easttom
Chapter 2 Networks and the Internet
Chapter 2 Objectives
Describe the OSI model
Explain the use of MAC addresses
Identify each of the major protocols used on
network communication
Understand the various connection methods
and speeds used in networks
Compare and contrast a hub and a switch
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 2
Chapter 2 Objectives (cont.)
Identify what a router is
Understand how data is transmitted
Explain how the Internet works
Use network utilities
Explain the use of firewalls and proxy servers
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 3
OSI Model
Open Systems Interconnect model
Seven-layer model created to enable problem
isolation
Diagnostic and troubleshooting tool
Each layer supports the layer above and
performs a specific function
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 4
Network Basics
A network is two or more connected
computers
Connected via a Network Interface Card
(NIC)
NIC operates on the physical layer
Uses a RJ 45 connector
Allows the host to connect to the network
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 5
Network Basics (cont.)
Media Access Control (MAC) addresses
Physical address, as opposed to the IP
address
Burned on the NIC in hexadecimal
It is the layer 2 address used for identification
within the network
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 6
Network Basics (cont.)
DNS Servers – Domain Name Server
Translates domain name (URL) to IP address
www.explain.com or 198.203.167.9?
URL – Universal Resource Locator
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 7
Network Basics – Cabling
10BASE5 – Thick Ethernet or Thicknet
10BASE2 – Thin Ethernet, Thinnet
10BASE-T
10BASE-F
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 8
Network Basics – Cabling (cont.)
Fast Ethernet 100BASE-T
Gigabit or 1000-Mb Ethernet
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 9
Network Basics (cont.)
RJ 45 connects computer to patch panel
A phone jack uses an RJ 11 connection
RJ 45 looks like a phone jack, but larger
RJ 45 connector
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 10
Network Basics (cont.)
The hub is the simplest connection device
Creates a simple network
Sends traffic out all ports (no routing or switching)
A layer 1 device
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 11
Network Basics (cont.)
The switch is a smart hub
Sends packets only to the intended host
A layer 2 device
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 12
Network Basics (cont.)
The router is more sophisticated
Limits traffic to the intended network
A layer 3 device
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 13
Network Basics (cont.)
The Internet connection
Uses transmission media such as
DSO
ISDN
T1 and T3
OC3, OC12, and OC48
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 14
Network Basics (cont.)
How is data actually transmitted?
A packet is sent.
The packet, or datagram, consists of bytes.
Packet is divided into header and body.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 15
Network Basics (cont.)
Packet headers tell where the packet is
going.
Network devices read the headers to
determine where the packet should be sent.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 16
Network Basics (cont.)
Protocols
Rules that control network and Internet
communication.
Internet Engineering Task Force (IETF)
controls these rules.
Different rules for different purposes.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 17
Network Basics (cont.)
Protocols
Transmission Control Protocol (TCP) is
connection-oriented.
Internet Protocol (IP) is connectionless.
Together, they guarantee a successful delivery
across the Internet.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 18
Network Basics (cont.)
Protocols
User Datagram Protocol (UDP) is
connectionless.
Internet Control Message Protocol (ICMP) is
used to notify devices of trouble on the
network.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 19
Network Basics (cont.)
Port
A connection point
Not physical ports on a computer
Used by protocols to communicate
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 20
Internet
To connect to the Internet, you log on to your
Internet Service Provider (ISP).
The ISP connects to another ISP or a
backbone provider.
One backbone provider connects to another
at a Network Access Point (NAP).
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 21
Internet (cont.)
IP (Internet Protocol) Addresses
Necessary to navigate the Internet
It is a unique identifier, like a Social Security
number
Usually in binary form
Consists of four octets separated by decimals
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 22
Internet (cont.)
Public versus Private IP Addresses
Public addresses are routable on the
Internet.
Must be leased from an ISP.
Private addresses are not routable on the
Internet.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 23
Internet (cont.)
Network Classes
Each octet in an IP address means something
specific.
The first octet defines the class to which the IP
belongs.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 24
Internet (cont.)
Availability of IP addresses
IP addresses are not infinite.
IPv4 will be replaced by IPv6.
A subnet is a portion of a network that shares the
same subnet address.
Subnet masks describe what subnet the address
belongs to.
Classless Inter Domain Routing (CIDR) is a way
to describe the subnet with the IP address.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 25
Internet (cont.)
IP V6
128-bit address
Supports DHCP
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 26
Internet (cont.)
Uniform Resource Locators (URLs)
The easy way to remember a Web site
Translated by the Domain Name Server (DNS)
Error messages can be sent by the web server
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 27
Internet (cont.)
Error Messages
100 series messages are informational.
200s are not seen because they indicate
success.
300s are redirects.
400s are client errors.
500s are server errors.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 28
Basic Network Utilities
IPConfig
Ping
Tracert
Netstat
NSLookup
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 29
Basic Network Utilities (cont.)
IPConfig can give you information about
your system.
Open the Start menu.
Select Run.
Enter cmd and click OK.
At the CLI prompt, enter ipconfig.
The output looks like Figure 2.4 (next slide).
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 30
Basic Network Utilities (cont.)
IPConfig results
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 31
Basic Network Utilities (cont.)
IPConfig shows your system’s
IP address
Subnet mask
Default gateway
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 32
Basic Network Utilities (cont.)
IPConfig
Other commands to use
Type ipconfig -?
Other options appear.
The most common is ipconfig/all.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 33
Basic Network Utilities (cont.)
Ping tells if a system is connected to the
network.
It also tells how long it takes for an “echo
request” packet to arrive at the destination
host.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 34
Basic Network Utilities (cont.)
Tracert
“Ping deluxe.”
Uses the same syntax as ping.
Shows every “hop” between host and
destination address.
Useful tool for technicians and hackers alike.
See Figure 2.8 on the next slide.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 35
Basic Network Utilities (cont.)
Tracert
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 36
Basic Network Utilities (cont.)
Netstat
Network status
Shows active connections
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 37
Basic Network Utilities (cont.)
netstat
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 38
Basic Network Utilities (cont.)
NsLookup
Connect to NSServer
Execute dns related commands
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 39
Basic Network Utilities (cont.)
nslookup
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 40
Other Network Devices
Firewalls
Hardware or software
Filter packets as they enter the network
Deny unacceptable packets
Proxy servers
Disguise the network
Substitute their IP address for that of hosts
accessing the Internet
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 41
Summary
You should now understand
The structure of networks and the Internet
How networks work
The uses of some network utilities and devices
This chapter is a basic tour of networks;
review it before continuing if the material is
new to you.
© 2016 Pearson, Inc. Chapter 2 Networks and the Internet 42