3: Connecting to the Network
description
Transcript of 3: Connecting to the Network
![Page 1: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/1.jpg)
3: Connecting to the NetworkNetworking for Home & Small Business
![Page 2: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/2.jpg)
What’s a Network?• Make a phone call, watching TV, radio,
Internet, Gaming– All depend on a reliable network
• Group of connected devices able to communicate with each other
![Page 3: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/3.jpg)
Networks
![Page 4: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/4.jpg)
Basic Network Components• 4 categories of components
– Hosts– Shared peripherals– Networking devices– Networking media
![Page 5: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/5.jpg)
Hosts– They send & receive data– Have an IP Address
![Page 6: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/6.jpg)
Shared Peripherals– Shared devices that ARE connected to a host
• Rely on their connected hosts to communicate– Print Sharing
![Page 7: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/7.jpg)
Networking devices• Connect hosts
– Hubs, switches, routers• Move & control traffic
![Page 8: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/8.jpg)
Networking media• Connects Devices
![Page 9: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/9.jpg)
Activity
![Page 10: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/10.jpg)
Handout• Complete Handout 1
![Page 11: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/11.jpg)
Client-Server• Hosts have an IP Address
• Hosts can act as a client or server– Depends on software installed
• Server provides services to other hosts– Like providing email or web services
• Clients request & display info from servers
![Page 12: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/12.jpg)
Clients & Servers
![Page 13: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/13.jpg)
Clients & One Server
![Page 14: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/14.jpg)
Popular Client-Server Network• World of Warcraft• Players from all over the world connect &
play
![Page 15: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/15.jpg)
Activity
![Page 16: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/16.jpg)
Peer-to-Peer Networks• One computer can sometimes act as the
server & the client• Simplest: 2 connected devices
– Uses a crossover cable• Multiple PC’s connect with a hub
![Page 17: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/17.jpg)
Peer-to-Peer Networks
• Large businesses have lots of traffic– Dedicated servers to handle requests
![Page 18: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/18.jpg)
Famous Peer-to-Peer• LimeWire
– Exchanging MP3’s with another device
![Page 19: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/19.jpg)
Client, Server, or Both
![Page 20: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/20.jpg)
Physical Topology• Layout/Map of network• Shows where each host is located, wiring,
network devices
![Page 21: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/21.jpg)
Logical Topology• Groups hosts by how they use the network
– Not physical location• Host names, addresses, group info &
applications can be recorded
![Page 22: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/22.jpg)
Lab 3.1.5• Building a Peer-to-Peer Network
![Page 23: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/23.jpg)
End of Part 1
Review• What does SOHO stand for?
– Small office home office• What interconnects hosts & controls traffic?
– Network devices• Which cable connects 2 PC’s together?
– Crossover cable• Hosts are devices that have what?
– IP Addresses• Describe client-server.
![Page 24: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/24.jpg)
Principles of Communication• The Message• Source or
Sender• Destination or
Receiver• Channel or
Pathway• Protocol or
Rules
![Page 25: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/25.jpg)
Human Communication• What are our rules of communication?
![Page 26: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/26.jpg)
Protocols• Rules of Communication over a medium• Protocols define the details of how the
message is transmitted, and delivered. • This includes issues of:
![Page 27: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/27.jpg)
Message Encoding• Encoding
• Converting thoughts into words• Describing the sunset
• Bits are encoded for that medium• Light, electricity, or radio waves
• Destination will decode the message
![Page 28: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/28.jpg)
Message Format Delivery
![Page 29: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/29.jpg)
Encapsulation of Data• Computer messages packed in a FRAME
– Acts like an envelope– Provides the addresses– Must be properly addresses or won’t be
delivered
![Page 30: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/30.jpg)
Handout• Complete Handout 2 & 3• Message Format Ordering
![Page 31: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/31.jpg)
Review• What 4 things do you need for
communication?– Source, destination, channel, protocol
• Describe encoding.– Bits into electricity, light, or radio waves
• A message is encapsulated in what?– Frame
• Which 2 address are in the frame?– Source & destination MAC address
![Page 32: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/32.jpg)
What We Talked About So Far
![Page 33: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/33.jpg)
Message Size• You talk in sentences.
– Length will vary depending on what can be processed or understood by the listener
• Messages sent across networks are broken into smaller pieces– Size of a frame
![Page 34: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/34.jpg)
Message Timing• People use timing to determine when to
speak, how fast or slow to talk, and how long to wait for a response. These are the rules of engagement.
• Access Method• Flow Control• Response Timeout
![Page 35: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/35.jpg)
Message Timing• Access Method
– When to begin sending & how to respond to errors
– Collision if two talk at same time• Flow Control
– Sender can transmit messages faster than the destination can receive & process
– Use flow control to negotiate correct timing for successful communication
• Response Timeout– How long to wait for responses & what to do
![Page 36: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/36.jpg)
Unicast Message Pattern• Unicast
– 1 to 1 single message
![Page 37: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/37.jpg)
Multicast Message Pattern• Multicast
– 1 to a group message
![Page 38: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/38.jpg)
Broadcast Message Pattern• Broadcast
– 1 to all
![Page 39: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/39.jpg)
Activity
![Page 40: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/40.jpg)
Review• What is it called when one message format
is placed in another message format?– Encapsulation
• Bob is talking to Sally. Which type of message pattern is this?– Unicast
• Which address is used in a frame?– MAC address (source & destination)
![Page 41: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/41.jpg)
Review• Which message is one to all?
– Broadcast
![Page 42: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/42.jpg)
Importance of Protocols• Computers need rules to communicate• Local network devices MUST speak same
language• Most common wired protocol is
ETHERNET
![Page 43: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/43.jpg)
Early Days of Computing• Each vendor had their own rules• Standards had to be created
![Page 44: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/44.jpg)
Standardizing• IEEE maintains standards approvals
– Assigned a #– 802.3 is Ethernet– 100Base-T
• 100 megabit Ethernet• Baseband Transmission• Twisted Pair Cabling
![Page 45: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/45.jpg)
Physical Addressing• Remember encapsulating frames?
– Source & destination address needed• Each host on Ethernet has a physical
address (MAC Address)– Burned into NIC
• NIC encapsulates source & dest. MAC• Host that receives frame reads dest. MAC
– If it contains its own MAC, it will process it– If not, it ignores it
![Page 46: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/46.jpg)
Example
![Page 47: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/47.jpg)
Lab 3.3.3• Determine the Mac Address• Ipconfig /all
![Page 48: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/48.jpg)
Ethernet Frame Structure• Frames are also called PDU’s
– Protocol Data Units– 64-1518 bytes each frame
– Preamble for timing– SFD is end of timing, begin frame– FCS- helps check for damaged frames
![Page 49: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/49.jpg)
Activity
![Page 50: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/50.jpg)
MAC & IP- Happy Together!IP MAC
MAC
![Page 51: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/51.jpg)
Hierarchical Design Structure• MAC Address is like your name
– Doesn’t tell where you are on the network– Not efficient by itself– Imagine if all hosts on Internet could only be
identified by a MAC address• Ethernet is a broadcast technology
– Sent to all in a network– Too much traffic & collisions, slows network
• Separate into smaller networks
![Page 52: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/52.jpg)
Hierarchical in Life
![Page 53: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/53.jpg)
Hierarchical Design in Networks• Dividing your network into smaller groups or
layers– Keeps local traffic local– Only data intended for other networks will move on to
other layers• Access Layer
– Provides connections to hosts in a local Ethernet network.
• Distribution Layer– Interconnects the smaller local networks.
• Core Layer– A high-speed connection between distribution layer
devices.
![Page 54: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/54.jpg)
3 Layer Model
![Page 55: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/55.jpg)
Access Layer• Hosts/Clients connect to hubs/switches• Local segmented networks
![Page 56: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/56.jpg)
Distribution Layer• Routers• Routing occurs• Traffic delivered to other local networks• Security (ACL)
![Page 57: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/57.jpg)
Core Layer• High-speed backbone• Redundant paths• Powerful routers/switches
– Just sends the data– No changes here
![Page 58: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/58.jpg)
Goals of 3 Layer Model• Think how you can limit traffic from going to
where it doesn’t need to be– Less collisions– More efficient data paths– Better placement of devices
Radio File Storage Server
Teacher File Server- GCIT
PowerSchool Server
![Page 59: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/59.jpg)
IP Addressing• Your name doesn’t change but where you
live might– MAC stays on NIC– Doesn’t change no matter where you move
• IP Address is like your address– It is logical, not physical
• Needed to go beyond your network– Stay local or go elsewhere???
![Page 60: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/60.jpg)
IP Addressing• 2 parts
– Identify the network– Identify the host
• Network portion is same for all devices on a local network
• 209.120.5.72
![Page 61: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/61.jpg)
IP Network Example
![Page 62: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/62.jpg)
Lab 3.3.6• Determine the IP Address of the Computer• Let’s do this together
• How do we find the IP Address through the command prompt?– Ipconfig /all
• Why is an IP address important?
![Page 63: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/63.jpg)
Handout• 3 Layer Model & Addressing Activity
![Page 64: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/64.jpg)
Review1. What is the process of placing one format
into another (like a letter into an envelope to be sent in the mail)?
– Encapsulation2. Which device is typically at the
Distribution Layer?– Router
3. When a PC receives a message, which address is used to determine if it for that PC?
– Destination MAC
![Page 65: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/65.jpg)
Review1. Which organization creates & maintains
the standards?– IEEE– Why?
2. A frame contains which 2 addresses?– Source & Destination MAC
3. What does FCS stand for & what does it do?
– Frame Check Sequence, checks for errors
![Page 66: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/66.jpg)
Hubs• At Access Layer• Simple Device (DUMB)
– Message in one port, out all others– Does not send to specific device– Sends one message at a time
• Collisions can occur• They wait for silence, & then resend randomly• Too many collisions slow the network• Keep these collision domains SMALL
![Page 67: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/67.jpg)
Pictures of Hubs
![Page 68: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/68.jpg)
Hub Example
![Page 69: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/69.jpg)
Hub & Collision Domain
![Page 70: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/70.jpg)
Handout• Hubs
![Page 71: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/71.jpg)
Switches• Access Layer• Connects multiple hosts like a hub
– Forwards a message to a specific host!– Reads the destination MAC
• Has a MAC address table– Ports & MAC addresses on them
• Creates a virtual circuit to destination• No bandwidth sharing between hosts• No collisions!
![Page 72: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/72.jpg)
How a switch works
![Page 73: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/73.jpg)
More about Switches…• What if destination MAC is NOT in the
table?– Floods message out all ports, except one it
came in on– Compare the destination MAC in frame– Correct one processes the message
![Page 74: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/74.jpg)
Switch Table• How does the switch add the MAC address
to its table?– It examines the source MAC & port it came in
on– When it responds to a message, it adds it
• Updates table for every message
![Page 75: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/75.jpg)
Example• Go to Slide 3.4.3-2
• Look at example
![Page 76: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/76.jpg)
What else about Switches?• Hub attached to switch port scenario • Separate collision domains for each switch port
![Page 77: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/77.jpg)
Switch Handout
![Page 78: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/78.jpg)
Review1. Hubs & Switches are at which design
layer?– Access Layer
2. Which device creates a virtual circuit from the source to destination?
– Switch3. Which device sends data in one port &
out all ports regardless of the destination?– Hub
![Page 79: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/79.jpg)
Review1. Which address does a NIC read when
deciding if the message is for itself?– Destination MAC
2. In 100Base-T, what does the 100 mean?– 100Mbps– How about the T?
• Twisted Pair Cabling
3. If a switch receives a frame & doesn’t have the dest. MAC in its table, what happens?
– Floods it out all ports, except one it came in on
![Page 80: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/80.jpg)
Broadcasts• One host can send messages to all other
LOCAL hosts– Find info from others– Tell others something
• One destination MAC in a frame only– There’s a special MAC address that all hosts
will receive & process– 48 bits, all binary 1’s– In hexadecimal, FF:FF:FF:FF:FF:FF
• Look at 3.4.4
![Page 81: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/81.jpg)
Broadcast Domain• Too many hosts in a domain, causes traffic
backup– This is why you divide into smaller LAN’s
![Page 82: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/82.jpg)
Let’s Practice Together• Slide 3.4.5
![Page 83: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/83.jpg)
MAC & IP• What if you want to send data, but only know their
IP address and not their MAC?– ARP (Address Resolution Protocol)
![Page 84: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/84.jpg)
ARP• Host sends out a broadcast frame w/ the IP
address of the destination host– FF:FF:FF:FF:FF:FF
• Each host receives & compares the IP address to see if it is their own
• Matching host sends its MAC address back to source
• Source then adds it to its ARP table• Then it can send the message
![Page 85: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/85.jpg)
ARP Example
![Page 86: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/86.jpg)
ARP Example
![Page 87: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/87.jpg)
Review1. A broadcast frame contains which MAC
address?– All F’s
2. How many bits is a MAC address?– 48
3. Describe a broadcast4. What separates broadcasts?
![Page 88: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/88.jpg)
Distribution Layer• Separates & connects your small networks
– Connects your Access Layer networks– Can filter traffic & provide security
![Page 89: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/89.jpg)
Routers• Distribution Layer• Connects different local networks• Reads the packet encaps. in frame
– Destination IP Address (network portion)– Subnet Mask
• Finds best path to that destination network
![Page 90: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/90.jpg)
Routers- The Path…• Each port connects a different local
network• Rips open to find destination IP• Looks in Routing Table
– In the table:• Encapsulates in new frame• Sends it out port towards or connected to that
destination• Routers DO NOT forward broadcasts!
![Page 91: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/91.jpg)
Path Example- H1 to H4
![Page 92: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/92.jpg)
Default Gateway• When sending a message on your local
network you use ARP to find dest. MAC• When sending a message on another
network– You encapsulate:
• Source IP • Source MAC• Destination IP• You don’t know the destination MAC!• So you include the MAC of the router port!• Router will receive & process this MAC, BUT NOT
THE ARP MAC broadcast!
![Page 93: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/93.jpg)
Default Gateway• This IP is set in TCP/IP settings• Router port that your host connects to- same local
network– If the host knows the IP, it will use ARP to find out the
MAC address on router port
– Example on next slide
![Page 94: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/94.jpg)
Default Gateway
![Page 95: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/95.jpg)
Default Gateway
![Page 96: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/96.jpg)
Lab• Complete 3.5.3-2
![Page 97: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/97.jpg)
Routing Tables• Networks & best path to reach them• Knows this info by:
– Dynamically learned from other routers– Manually entered by admin
• No route in table?– Drop it OR– Default Route is set by admin
![Page 98: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/98.jpg)
Routing Tables
![Page 99: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/99.jpg)
Where does data go?• Directly to the network destined for• To another router
• When router forwards the frame, it MUST include a destination MAC– If it is connected, it will use the dest MAC from
its ARP table– If not, it will sub MAC address of connected
router’s port• ARP table for each port/local network
![Page 100: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/100.jpg)
Look at…• 3.5.4.2• 3.5.4.3 activity
![Page 101: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/101.jpg)
LAN• Network over a small area
– Under one administration– Router will separate
![Page 102: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/102.jpg)
How many local networks?
![Page 103: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/103.jpg)
Adding hosts to a LAN• Advantages/Disadvantages?
![Page 104: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/104.jpg)
Adding hosts to a LAN• Advantages/Disadvantages?
![Page 105: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/105.jpg)
Planning a Network• Ethernet is most popular• Planning is key!• First, gather this info:
– The number & type of hosts to be connected– The applications to be used– Sharing & Internet connectivity requirements– Security & privacy considerations– Reliability & uptime expectations– Connectivity requirements including, wired and
wireless
![Page 106: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/106.jpg)
Plan & Document• Maps of topology• Physical environment
– Temperature– Power
• Physical configuration– Location of network devices– Length of cables– Hardware config
• Logical Configuration– Broadcast & collision domains– IP & Naming Scheme
![Page 107: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/107.jpg)
Physical Topology• How many broadcast, collision & networks?
![Page 108: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/108.jpg)
Review1. Describe a default gateway.2. Each router port has an _______ table
that hold the MAC addresses of devices connected to each port.
– ARP3. Which one device will separate or
segment a network?– Router
4. Describe a routing table.
![Page 109: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/109.jpg)
Multifunction Devices• Integrated Routers
– Usually for SOHO– Switch/router/access point in one– Single point of failure
• Cisco ISR– Separate components to add/replace
![Page 110: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/110.jpg)
Linksys
![Page 111: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/111.jpg)
Linksys
![Page 112: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/112.jpg)
Connecting the Linksys• All connected to switch ports MUST be in
same IP network to communicate
• Display IP configuration settings– Ipconfig– Ipconfig /all
![Page 113: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/113.jpg)
Lab• 3.6.4
![Page 114: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/114.jpg)
Sharing Resources• XP has simple file sharing
– You can set more specific– Full Control– Modify– Read & Execute– List Folder Contents– Read– Write
• Look at 3.6.5
![Page 115: 3: Connecting to the Network](https://reader035.fdocuments.in/reader035/viewer/2022062400/568168ae550346895ddf664f/html5/thumbnails/115.jpg)
3: Connecting to the NetworkNetworking for Home & Small Business