Exam 2 Flashcards
Chapters: 5, 7, 8, 9
LIst the steps in the Internet Model.
What layer is the Transport layer found in?
What does the Transport layer link?
What is the responsibility of the Transport Layer?
What does the Transport Layer manage?
- layer 4
- links application and network layers
- responsible:
- for the segmentation and reassembly
- for end-to-end delivery of messages
- sesssion management
What layer is the Network Layer found in the Internet Model?
What is the Network Layer responsible for?
- layer 3
- responsible for:
- addressing messages
- routing messages
Who developed TCP/IP?
What is TCP/IP?
What is the big difference between the beginning of TCP/IP and now?
- Originally developed as a single internetworking protocol by Vint Cerf and Bob Kahn in 1974
- Most common protocols of the Internet and in LANs, WANs, and backbone networks
- Later divided into the TCP and IP protocols
What is the abbreviation TCP?
What is special about TCP?
What is it used for?
What is PDU called in TCP?
How many bits are used in TCP?
- Transmission Control Protocol
- Most common transport layer protocol
- Used for reliable transmission of data
- called a segment
- 160-192 bits
What is UDP stand for?
Where does it exist?
What is a PDU called?
When do you use UDP?
How many bits are used?
- User Datagram Protocol
- Operates at the transport layer
- segment
- Used :
- in time-sensitive situations,
- for control messages,
- when reliability is handled by the application layer
- 32-64 bits
What does IP stand for?
What are the two versions of IP?
- Internet Protocol
- two kinds:
- IPv4
- IPv6
What does IPv4 stand for?
Why is it special?
What keeps it around?
How many possible addresses can it create?
- Internet Protocol Version 4
- Most common version of IP used
- Exhaustion of address space
- 32-bit addresses (232 or ~4.29 billion possible)
What does IPv6 stand for?
What keeps it from becoming the most common?
How many possible addresses can it create?
- Internet Protocol version 6
- Slowly being adopted due to IPv4 exhaustion
- 128-bit addresses (2128 or ~3.4 × 1038 possible)
How many bits used in a IPv4 Packet?
How often is the options field used?
- 160-192 bits (20-24 bytes) of overhead
- rarely
How many bits used in a IPv6 Packet?
How often is the options field used?
What kind of header is used?
- 320 bits (40 bytes) of overhead
- Lots
- Fixed Header
List some Optional Headers.
- Optional Headers
- Hop-by hop options
- Destination options (with routing options)
- Routing
- Fragment
- Authentication
- Encapsulation Security Payload
- Destination options
- Mobility
What are the functions of Transport Layer?
- Linking to the application layer
- Segmenting
- Session management
What is going on with TCP and UDP as Transport Layer conducts its linking function?
- TCP/UDP may serve multiple application layer protocols
How are Ports used in the Transport Layer as it conducts its linking to the application layer function?
What controls ports?
- Ports used to identify application (2-byte numbers)
- Many source/destination ports follow standards
Name common port standards.
- HTTP: TCP port 80
- HTTPS: TCP port 443
- FTP: TCP ports 20 and 21
- SMTP: TCP port 25
- IMAP: TCP port 143
- POP3: TCP port 110 (more commonly TCP port 995 secure version)
- DNS: TCP or UDP port 53 (most commonly UDP)
What is this showing?
- Linking to application layer services
One function of Transport Layer is segmenting. What is it?
How are segments passed?
- Breaking up large files into smaller segments (and putting them back together)
- Segments may be passed individually to application layer or after reassembly
How large are segments?
What determines the size of segments?
- Size depends on the network and data link layer protocols
- Maximum Segment Size (MSS) is negotiated during TCP handshake
What formula shows you the maxium segment size?
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 1
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 2
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 3
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 4
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 5
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 6
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 7
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 8
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 9
When data moves from sender to receiver what happens to the data as it moves to the receiver?
step 10
Transport Layer functions as a session management. What is a session?
What is connection oriented messaging? What uses it?
What is connectionless messaging? What uses it?
What allows a TCP connection to open?
What is the value of sessions?
- A session can be thought of as a conversation between two computers or creating a virtual circuit
- answers:
- Using a session to send data is also called connection-oriented messaging
- TCP
- answers:
- Sending messages without establishing a session is connectionless messaging
- UDP
What allows a TCP connection to open?
What is the value of sessions?
- TCP connections are opened using a three-way handshake
- Sessions provide reliable end-to-end connections
In TCP connections, what is the process for the 3 way handshake?
- SYN
- SYN-ACK
- ACK
In the Network Layer, what are its two major functions?
- addressing
- routing
In addressing, how many bits are IPv4 addresses?
How do you write the addresses?
- IPv4 addresses are 32 bits
- Most common way to write is using dot-decimal notation
Why is dot-decimal notation used to write addresses?
What does it do to the address?
Give example.
- Easier for people to read and remember
- Breaks the address into four bytes and writes each byte in decimal notation instead of binary
- Example: 129.79.78.193
Give me the binary version of the address: 129.79.78.193
What makes up an address?
What are the two types of addresses?
- A portion of an IP address represents the network and the rest identifies the host
- types:
- Classful addressing
- Classless Inter-Domain Routing (CIDR)
What is classful addressing?
What is unique about it?
- Uses the first bits to determine number of hosts
- Discontinued, but nomenclature still used
What does CIDR stand for?
What is the advantageof the CIDR?
Give example of subnet Mask.
- –Classless Inter-Domain Routing (CIDR)
- Uses subnet masks to more flexibly divide address space into subnets
- example:
- –IP address: 129.79.78.193
–Subnet Mask: 255.255.255.0
What is the major problemd with addressing?
- Configuring each device manually is time consuming
- Assigning addresses permanently can be inefficient when devices are not connected to network
how can a server fix the problems with addressing?
- A server can supply IP addresses automatically
What is it called when a server supplies IP addresses automatically?
- Dynamic Host Configuration Protocol (DHCP)
what is unique about DHCP?
What is the process for DHCP?
What is going on with addresses with DHCP?
- Most common protocol for dynamic addressing
- process:
- Device sends out broadcast message
- DHCP responds with IP setting
- Addresses are “leased” for a length of time
What are the two components of address resolution?
- two components:
- host (server)
- MAC address resolution
What happens in host (server) address resolution?
What is the name of the service that provides this?
Give an example of host server address resolution.
- Translate host name to IP address
- Domain Name Service (DNS)
- e.g., www.indiana.edu → 129.79.78.193
What happens in MAC address resolution?
What is the name of the service that provides this?
- Identify MAC address of the next device in the circuit
- Address Resolution Protocol (ARP)
Describe steps in the DNS system
A function of Network Layer is involved in routing. What is routing
- Process of identifying what path to have a packet take through a network from sender to receiver
What are routing tables used in?
What do they show?
Where are they kept?
- Used to make routing decisions
- Shows which path to send packets on to reach a given destination
- Kept by computers making routing decisions
What are routers?
What do they do with routing tables?
- •Special purpose devices used to handle routing decisions on the Internet
- •Maintain their own routing tables
Give an example of a routing table.
What are the possible paths from A to G?
What are the 4 types of routing?
- centralized
- decentralized
- static
- dynamic
What happens in centralized routing?
What is unique about it?
- Routing decisions made by one computer
- Not common anymore
What happens in decentralized routing?
What needs to be done with information in decentralized routing?
What uses decentralized routing?
- Decisions made by each node independently of one another
- Information needs to be exchanged to prepare routing tables
- Used by the Internet
What goes on with static routing and routing tables?
What must network managers do?
What needs to happen when computers are added or removed?
- Fixed routing tables
- Manually configured by network managers
- Local adjustments when computers added or removed
How are routing tables handled under dynamic routing?
What enables the exchange of information with dynamic routing?
- Routing tables updated periodically
- Routers exchange information using protocols to update tables
What are necessary for dynamic routing to work?
- dynamic routing algorithms
What are the components of dynamic routing algorithms?
- distance vector
- link state
What is distance vector?
What is link state?
Which is more reliable (distance vector or link state)?
- –based on the number of “hops” between two devices
- –based on the number of hops, circuit speed, and traffic congestion
- Link state
Why is link state more reliable for dynamic routing algorithms?
- Provides more reliable
- Up to date paths to destinations
Name the protocols used by routing.
- Routing Information Protocol (RIP)
- Open Shortest Path First (OSPF)
- Enhanced Interior Gateway Routing Protocol (EIGRP)
- Border Gateway Protocol (BGP)
Where is Routing Information Protocol (RIP) used?
Where is RIP used?
- Dynamic distance vector protocol used for interior routing
- Useful in smaller, less complex networks
Who builds the routing table in RIP?
What is going on with the routing tables in RIP?
What happens when new computers are added in RIP?
- Network manager builds the routing table
- Routing tables broadcast periodically (e.g., every minute or so)
- When new computers are added, router counts “hops” and selects the shortest route
What type of link is used in Open Shortest Path First (OSPF)?
Where is it used?
What are the advantages?
- Dynamic link state protocol used for interior routing
- Most widely used interior routing protocol on large enterprise networks
- advantages:
- More reliable paths
- Less burdensome to the network because only updates sent
What is Enhanced Interior Gateway Routing Protocol (EIGRP)?
Who developed it?
What does it do?
- A dynamic link state protocol
- Cisco
- does:
- Keeps the routing tables for its neighbors
- uses neighbors routing tables information in its routing decisions
If each network uses a different protocol internally, how are they able to communicate?
- Border Gateway Protocol (BGP)
What is Border Gateway Protocol (BGP)?
How would you describe it in terms of complexity?
What type of information does BGP provide?
- Dynamic distance vector protocol used for exterior routing
- Far more complex than interior routing protocols
- Provide routing info only on selected routes (e.g., preferred or best route)
Describe what is going on here.
- Routing on the internet using:
- Border Gateway Protocol (BGP)
- Open Shortest Path First (OSPF)
- Routing Information Protocol (RIP)
What are the types of multicasting?
- unicast
- broadcast
- multicast
What is unicast?
- sending data from one computer to another computer
What is broadcast?
- send data from one computer to all computers in the network
What is multicast?
Example?
- send information from one computer to a group of computers
- videoconferencing
What must happen for multicasting to work?
Why is multicasting useful?
- Same data needs to reach multiple receivers and avoid transmitting it once for each receiver
- Particularly useful if access link has bandwidth limitations
What happens in IP multicast?
- In IP multicast, hosts dynamically join and leave multicast groups using Internet Group Management Protocol (IGMP)
What information is needed for TCP/IP to work?
Where is this information going to be found?
- info:
- Device’s own IP addres
- Subnet mask
- IP address of default gateway (most commonly the router
- IP address of at least one DNS server
- Obtained from a configuration file or DHCP
What are major trends for TCP/IP?
- Organizations standardizing on TCP/IP
- Slow transition to IPv6
What are the consequences of standardization for TCP/IP?
–Decreases costs of equipment and training
–Network providers are also moving towards standardization
What happens to packets in TCP/IP and layers?
What happens to packets when they move through gateways and routers?
- Packets move through all layers
- Packet moves from Physical layer to Data Link Layer through the network Layer
What happens to packets at each stop while they move through TCP/IP and layers?
Does a packet change in transit?
When does a packet get created?
When does a packet get destroyed?
- –Ethernet packets is removed and a new one is created for the next node
- No
- Created by originial sender
- destroyed by final receiver
Why usa a LAN?
- •Information sharing
- •Resource sharing
- •Software sharing
- •Device Management
When information sharing is done what are the benefits?
–Improved decision making
–May reduce data duplication and inconsistency
When resource sharing is done what are the benefits?
–Devices such as printers can be shared by many clients
When software sharing is done what are the benefits?
–Some software can be purchased on a per-seat basis and resides on server
–Reduces costs, simplifies maintenance and upgrades
When device management is done on a network what are the benefits?
- Software updates and configuration are easier
What re the components in a LAN?
What are clients?
What are servers?
- –Devices on the network that request information from servers
- –Devices on the network that deliver information or provide services to clients
What does NIC stand for?
What are other names for NIC?
Where do they operate in terms of layers?
Where are they built?
What do Ethernet NICs contain?
- Network interface cards (NIC)
- Also called network cards and network adapters
- Operate at layers 1 and 2
- Commonly built into motherboards
- Ethernet NICs contain unique MAC address
Name some network cables.
What do hubs and switches do?
–Link cables from different devices, sometimes more than one type of cabling
–Act as repeaters, reconstructing and strengthening incoming signals
What does APs stand for?
What do APs do?
What do APs replace?
How do they get electricity?
What other devices use APs?
- Access points (APs)
- use radio waves to connect wireless clients to the wired network
- (instead of connecting using hubs/switches)
- Many APs use power over Ethernet (PoE) for electricity
- Also used by some IP cameras and phones
What type of software is used for networks?
What are examples of network software?
Where is network software usually found?
What does network software supply?
- Network Operating System (NOS)
- Novel NetWare, Microsoft Windows Server, Linux
- Clients devices typically have network software components included with OS installation
- \Provides directory services about LAN resources