Topic 9.4 TCP/IP Flashcards
Describe the role of the Application Layer
Selects the correct protocol to transmit the data.
Interacts with user using application software like a web browser
Describe the role of the Transport Layer
Establishes end to end connection between the sender and recipient
Splits the transmission into packets
Each packet will have a sequence number which identifies the position of the packet in relation to the others.
The port number is also contained in these packets which identifies the protocol being used.
Describe the role of the Network Layer
Provides correct IP addresses for each packets source and destination
Routers work within the network layer, using the IP addresses to send to its destination
Describe the role of the Link Layer
Controls the physical connections between hardware in a network.
Receives MAC Addresses from network layer and adds them to the packets.
What is the role of MAC Addresses
They are assigned to every device that can connect to a network or internet and are unique.
They identify the hardware to which a packet should be sent.
They change everytime packets hop from one router to another.
What is the role of Sockets in the TCP/IP stack
A socket address is where the IP address is combined with the port number. E.G. :
114.26.20.199:443
This identifies which of the applications on the recipient device the packets should be sent to
What is a well-known port
A port number that is assigned to a specific protocol or service like HTTPS or SSH
They are used by servers and are easily recognisable
What is a client port used for
A temporary port used by the client that specifies which application is going to send and receive data across a network.
Differences between well-known ports and client ports
Client ports are temporary
Well known ports are fixed
Client ports are randomly assigned
Well known ports are for servers to understand what service is being used
Client ports are for clients to start temporary connections
What are the 2 parts of an IP Address
A network identifier
A host identifier
Each computer in a network has the same network identifier but a different host identifier
What is a subnet
When a network divides, these are called subnets
Each subnet has a different network identifier.
What and How does a Subnet Mask work
A subnet mask determines the network part of an IP address
1) Convert IP Address of device to binary
2) Convert IP Address of subnet mask to binary
3) AND the binary numbers together
4) Convert back to IP Address (denary)
4) The result is the network identifier
What are the two standards of IP Address
IPv4
IPv6
Why was IPv6 introduced
IPv4 has 2^32 unique addresses
Number of devidces rapidly increasing so IPv^ introduced
IPv6 uses 8 blocks of 4 hex characters which have 2^128
What is a routable (public) IP Address
Globally unique as these are public IP addresses.
Each home or business only has a small number of routable (public) IP Addresses.
Global Authorities issue routable IP addresses to ensure they are not repeated