2. Protocols and Models Flashcards
What can network vary of ? ( 2 )
- Size
- Complexity
- Device must agree on “how” to communicate regard of having a connection
List out the 3 elements to any communication
- There will be a Source ( Sender )
- There will be a Destination ( Receiver )
- There will be a Channel ( Media ) that provides for a path of communications to occur
What communications are governed by ?
- Protocols
What is protocol?
- Rules that communications will follow
- Rules will vary depending on the protocol
List out the requirements for protocols ( 4 )
- An identified sender and receiver
- Common language and grammar
- Speed and timing of delivery
- Confirmation or acknowledgement requirements
List out the common computer protocols must be in agreement and include ( 5 )
- Message encoding
- Message formatting and encapsulation
- Message size ( important )
- Message timing
- Message delivery options
What is encoding?
- The process of converting information into another acceptable form for transmission
What is decoding?
- Reverses encoding to interpret the information
What will the messages will be encoded to?
- Converted to bits
What does the destination host must do to interpret the message?
- Decode
What will the bits are converted into ? ( 3 )
- Light ( Glass, Fiber )
- Sound
- Electrical Impulses ( Copper Cable )
What will the file be converted when a long message is sent from one host to another over a network? ( Message Size )
- Break the message into smaller pieces ( packets )
What does message timing includes? ( 3 )
- Flow Control
- Response Timeout
- Access Method
What does flow control manages ?
- Manages the rate of data transmission and defines how much information can be sent and the speed at which it can be delievered
What does response timeout manages?
- Manages how long a device waits when it does not hear a reply from the destination
What does access method mean?
- Determints when someone can send a message
Why collisions occured?
- It occured when more than one device sends trafic at the same time and the messages become corrupt
What are the methods for protocols used to prevent collisions? ( 2 )
- Proactive and attempt to prevent collisions
- Reactive and establish a recovery method after the collision occurs
List out 3 message delivery methods
- Unicast - one to one communication
- Multicast - one to many, typically not all
- Broadcast - one to all
- Documents may use node icon to represent all devices
Broadcast is not available on which IP version? What is the additional delivery option?
- IPv6
- Anycast
What devices can network protocal implemented on? ( 3 )
- Software
- Hardware
- Both
What must protocols have? ( 3 )
- Function
- Format
- Rule
List out all the protocol type ( 4 )
- Network Communications ( IP Address )
- Network Security
- Routing
- Service Discovery
What does network communications do?
- Enable 2 or more devices to communcate over one or more networks
- Internet Protocol ( IP )
What does network security do ?
- Secure data to provide authentication, data integrity, and data encryption
- Secure Sockets Layer/Transport Layer Security (SSL/TLS)
What does routing do?
- Enable routers to exchange route information, compare path infomation and select bast path
- Border Gateway Protocol (BGP)
What does service discovery do?
- Used for the automatic detection of devices or services
- Domain Name System (DNS)
What must device agree to communicate
- Protocols
- It may have one or more functions
( TCP is one of the example, for more details, check out notion )
List out all the function for protocols? ( 6 )
- Addressing
- Reliability
- Flow Control
- Sequencing
- Error Detection
- Application Interface
What identifies sender and receiver ?
- Addressing
What provides guaranteed delivery ?
- Reliability
What ensures data flows at an efficient rate?
- Flow Control
What uniquely labels each transitted segment of data?
- Sequencing
What determines if data became corruption during transmission?
- Error Detection
What process-to-process communications between network applications?
- Application Interface
What is it called when we use network, we require the use of several protocols ?
- Protocol Interaction
List out all the protocols when sending message?
- HTTP ( Hypertext Transfer Protocol ) - Application Layer
- Transmission Control Protocol ( TCP ) - Transport Layer
- Internet Protocol ( IP ) - Network Layer
- Ethernet - Data Link and Physical Layer
What protocols need when we need for sending / receiving email?
- SMTP ( Simple Mail Transfer Protocol ) / POP3 ( Post Office Protocol 3 )
What network protocol check errors and delivers messages from one NIC to another NIC on the same Ethernet LAN?
- Ethernet
What delivers messages globally from the sender to receiver?
- Internet Protocol ( IP )
What manages flow control, individual conversations and provided guaranteed delivery?
- Transmission Control Protocol ( TCP )
What governs the way a web server and a web client interact and defines content and format?
- Hypertext Transfer Protocol ( HTTP )
What is protocol suite?
- A group of inter-related protocols necessary to perform a communication function
- Sets of rules that work together to help solve a problem
How protocols are viewed ?
- Layers
List out the layers for protocols
- Higher Layers
- Lower Layers - Concerned with moving data and provide servies to upper layers
List out several protocol suites ( 4 )
- Internet Protocol Suite or TCP / IP
- Open Systems Interconnection ( OSI )
- AppleTalk ( Obsolete )
- Novell NetWare
Where does TCP/IP operate at ?
- Operate at application, transport and internet layers
What is the most common network access layer LAN protocols ? ( 2 )
- Ethernet
- WLAN
What is the most commonly used protocols?
- TCP/IP
- It was also a protocol suite used by many internet and includes many protocols
- It was freely available to the public and can be used by any vendor
Who creates and organizes TCP/IP?
- IETF
What is segments?
- Is the actions deviding large chunks of data into smaller piece
What does open standards encourage?
- Interoperability
- Competition
- Innovation
Standards Organizations Are:
1. Vendor-Neutral
2. Non-Profit Organizations
3. Established to develop and promote the concept of open standards
List out all the internet standards organizations ( 5 )
- Internet Society ( ISOC )
- Internet Architecture Board ( IAB )
- Internet Engineering Task Force ( IETF )
- Update , develop and maintains internet and TCP/IP technologies
- Internet Research Task Force ( IRTF )
- Focused on long-term research related to internet and TCP/IP protocols
- ICANN and IANA also supports and develop TCP/IP
- ICANN coordinates IP address allocation, while IANA oversees and manages IP address allocation, domain name management, and protocol identifiers for ICANN
List out all the electronic and communications standards organizations
- Institute of Electrical and Electronics Engineers ( IEEE )
- Electronic Industries Alliance ( EIA )
- Telecommunications Industry Association ( TIA )
- International Telecommunications Union-Telecommunication Stadardization Sector ( ITU-T )
List out 2 layered models describe network operations
- Open System Interconnection ( OSI ) Reference Model
- TCP/IP Reference Model
Why was a layered model is used?
- Complex concepts ( how network operates ) can be difficult to explain and understand
What does HTTP, DNS, DHCP, FTP is referenced in OSI and TCP/IP Model
OSI :
1. Application
2. Presentation
3. Session
TCP/IP :
1. Application
What does TCP and UDP is references in OSI and TCP/IP model?
OSI & TCP/IP :
1. Transport
What does IPv4, IPv6, ICMPv4, ICMPv6 is referenced in OSI and TCP/IP model?
OSI :
1. Network
TCP/IP :
1. Internet
Why does TCP/IP model combine Presentation and Section layer to Application layer
- Because applications layer have already done presentation and session in it
What does Ethernet, WLAN, SONET & SDH is referenced in OSI and TCP/IP model?
OSI :
1. Data Link
2. Physical
TCP/IP :
1. Network Access
List out all the layer in OSI model ( 7 )
- Application
- Presentation
- Session
- Transport
- Network
- Data Link
- Physical
List out all the layers in TCP/IP model? ( 4 )
- Application
- Transport
- Internet
- Network Access
What are the benefits of using a layered model? ( 4 )
- Assist in protocol design ( protocols that operate at a specific layer have defined information that they act upon defined interface to the layers above and below )
- Foster competition ( Product from different vendors can work together )
- Prevent technology or capability changes in one layer from affecting other layers above and below
- Provide a common language to describe networking functions and capablilities
Why the benifit of using layed model is assist in protocol design ?
- Because protocols that operate at a specific layer have defined information that they act upon and a defined interface to the layer above and below
Why the benifit of using layed model is foster competition ?
- Because protocols from different vendors can work together
What does Application layer do in OSI model ?
- Contains protocols used for precess-to-process communications
- process-to-process communications
What does Presentation layer do in OSI model ?
- Provides common representation of the data transferred between application layer services
- representation of the data
What does Session layer do in OSI model ?
- Provides services to the presentation layer and to manage data exchange.
- Manage data exchange
What does Transport layer do in OSI model ?
- Defines services to segmant, transfer, and reassemble the data for individual communications
- segmant, transfer, and reassemble data
What does Network layer do in OSI model ?
- Provided services to exchange the individual pieces of data over the network
- Exchange the individual pieces of data over the network
What does Data Link layer do in OSI model ?
- Describes methods for exchanging data frames over a common media
- Exchanging data frames over a common media
What does Physical layer do in OSI model ?
- Describes the means to activate maintain, and de-activate physical connections
* physical connections
What does Application layer do in TCP/IP model ?
- Represents data to the user, plus encoding and dialog control
- Represents data
What does Transport do in TCP/IP model ?
- Supports communication between various devices across diverse networks
- Communication between various devices
What does Internet layer do in TCP/IP model ?
- Determinres the best path through the network
- best path through the network
What does Network Access layer do in TCP/IP model ?
- Controls the hardware devices and media that make up the network
- hardware devices and media
What layer does OSI devides of the TCP/IP model into multiple layers? ( 2 )
- Application
- Network
Which protocol does not specify which protocols to use when transmitting over a physical medium
- TCP/IP protocol
What is segmenting?
- The process of breaking up messages into smaller units
What is multiplexing?
- Is the process of taking multiple streams of segmented data and interleaving ( mixing ) them together
List out 2 of the benefits in segmenting
- Increases Speed
- Large amounts of data can be sent over the network without typing up a communications link
- Increases Efficiency
- Only segments which fail to reach the destination need to be retransmitted, not the entire data stream
Which segments need to be retransmitted?
- Segments which fail to reach
What is responsible for sequencing the individual segments?
- TCP
What is the process called for numbering the sequences?
- Sequencing Messages
What is encapsulation?
- The process where protocols add their information to the data
What is the full name for PDU
- Protocol Data Units
Why PDU have a different name?
- To reflect its new functions
List out all the PDU ( Passing down ) ( 5 )
- Data ( Data Stream )
- Segment
- Packet
- Frame
- Bits ( Bit Stream )
- De-encapsulated Steps :
5. Data ( Data Stream )
4. Segment
3. Packet
2. Frame
1. Bits ( Bit Stream )
Data link and network layers use what to deliver data from source to destination?
- Addressing
What is responsible for delivering the IP packet from original source to the final destination?
- Network layer source and destination addresses
- IP address
What is responsible for delivering the data link frame form one network interface card ( NIC ) to another NIC on the same network
- Data link layer source and destination addresses
- MAC ( Media Access Control Address )
List out 2 IP addresses that contain inside the IP packet
- Source IP address
- IP address of the sending device
- Destination IP address
- IP address of the receiving device
- They may be on the same link of remote
List out the 2 parts that IP address contains
- Network Portion ( IPv4 ) or Prefix ( IPv6 )
- Host Portion ( IPv4 ) or Interface ID ( IPv6 )
Will LAN or WAN have the same network portion?
- Yes
What potion is unique for each device on the network?
- Host Portion ( IPv4 ) or Interface ID ( IPv6 )
Which indicate the left-most part of the address indicates the network group which the IP address is a member?
- Network portion (IPv4) or Prefix (IPv6)
Which indicate the remaining part of the address identifies a specific device within the group?
- Host portion (IPv4) or Interface ID (IPv6)
What will happen when deviced are on the same network the source and destination?
- It will have the same number in network portion of the address
What will happen when the source and destination have a different network portion?
- This means that they are on different networks
What addresses are physically embedded into the Ethernet NIC and are local addressing
- MAC Addresses ( Media Access Control )
What layer that MAC addresses at?
- Data Link Layer
What will happen when devices are on the same Ethernet network?
- The data link frame will use the actual MAC address of the destination NIC
What are the roles of Source and Destination MAC addresses in a data frame, and how do they relate to the local network?
- The Source MAC address will be that of the originator on the link.
- The Destination MAC address will always be on the same link as the source, even if the ultimate destination is remote.
What is it mean that the source and destination have a different network portion?
- This means that they are on different networks
PC1 - 192.168.1.1
Web Server - 172.16.1.1
Layer 3 ( Network Layer )will provide layer 2 ( Network Layer ) what when the final destination is remote?
- Default Gateway IP Address
- Also known as router address
What is default gateway?
- The router interface IP address that is part of this LAn and will be the “door” or “gateway” to all other remote locations
What will happen when Data Link Layer forwards to the default gateway ( router )
- The router can start the routing process of getting the information to actual destination
List out the example for local addressing
- Data Link Addressing ( MAC Address )
List out the first segment for MAC Address
- Source - ( PC1 NIC ) sends frame
- Destination - ( Router - DGW interface ) receives frame
List out the second hop for MAC addressing
- Source ( First Router ) Sends frame
- Destination ( Second Router ) Reveices frame
List out the last hop for MAC addressing
- Source – (Second Router- exit interface) sends frame
- Destination – (Web Server NIC) receives frame