9 - Fundamentals of Communication and Networking Flashcards
What is the Internet?
The Internet is a network of interconnected computer networks using a globally unique address space using TCP/IP and supports a range of application protocols.
What is the difference between the Internet and an internet?
An internet is a collection of networks which are connected together. The Internet describes the specific worldwide internetwork that uses a standard set of Internet protocols for transmitting messages between devices.
What is a Domain Name Server?
A Domain Name Server is a server that contains domain names and the associated IP addresses.
What is an IP address?
An Internet Protocol (IP) address is a unique number that identifies devices on a network.
What is the link between a domain name and an IP address.
A domain name is the string that corresponds to an IP address.
What does a router do?
Routers receive packets on a network and forwards them to the correct destination based on the address in that packet. It uses a table and algorithm to determine the best route onwards.
What does a gateway do?
A gateway receives packets on a network and forwards them to the correct destination based on an address. They allow two or more networks that use different link or network protocols to be connected so that information can be passed from one system to another.
What are the similarities and differences between A Router and a Gateway?
Similarities:
• Routers and Gateways both route internet messages.
• They both use destination IP addresses to make routing decisions.
• They both forward packets from one network to another.
• They both store known data about the networks they connect (routing tables).
Differences:
• A Gateway forwards messages between different networks (or between LANs and WANS) that use different protocols.
What does ISP stand for?
ISP stands for Internet Service Provider.
What is a packet?
A packet is a unit of data used in a packet-switched network. They contain part of a network message (payload) and control information (header).
What are the main items in the packet header?
• The IP address of the sender and receiver.
• The MAC address of the sender and receiver.
• Which protocol is being used.
• The packet number.
What is a NIC?
A Network Interface Card (NIC) is a circuit board that enables the computer to transmit and receive data in the network using an Ethernet Port, WiFi aerial/s, or both. Each NIC is assigned a MAC address.
What are the steps in packet switching?
1) Data is split into chunks, also known as packets. Each packet has a source and destination address, and payload. If more than one chunk is required, then the sequence position of each packet is noted.
2) Packets are sent separately on the network. They move from router to router, potentially taking different paths.
3) Packets may arrive out of order and if any packets are missing, a request is sent for their re-delivery.
4) Once all the packets have arrived, they are reordered using the sequence numbers.
5) A message is sent from B to A indicating that the message has been received (acknowledgement).
6) If A receives no acknowledgement within a reasonable amount of time, A sends the data again.
What does NIC stand for and describe how it fits into the “three-box model” of computer architecture.
NIC stands for Network Interface Card. It comes under the I/O part of the three box model. The NIC would contain the network I/O controller.
What are the differences between IPv6 and IPv4?
• IPv6 uses 128 bits to store the IP address whereas IPv4 only uses 32 bits.
• Different packet headers.
• Simpler allocation of addresses to countries.
Why was IPv6 created?
Mainly because of the larger address space. A shortage of IPv4 addresses lead to fewer directly addressable parts of the Internet. Solutions such as subnetworks became necessary.
What are the potential barriers to the adoption of IPv6 worldwide?
• It is not backwards compatible with IPv4.
• Existing hardware needs to be updated to work with IPv6.
• Needs to work alongside IPv4.
What is a protocol?
A protocol is a set of agreed signals for data exchange between systems.
What does TCP/IP stand for?
Transmission Control Protocol / Internet Protocol.
What are the four layers of the TCP/IP protocol?
• Application Layer.
• Transport Layer.
• Network Layer.
• Link Layer.
What does the application layer do?
The application layer uses protocols designed to work with specific types of applications. These handle the interaction with the user (eg. HTTP, IMAP, FTP).
What does the transport layer do?
The transport layer breaks application data down into packets and allocates sequence numbers, as well as source and destination port numbers to each packet. TCP also acknowledges the delivery of packets so that if it doesn’t receive an acknowledgement for a packet the packet is resent.
What does the network layer do?
The network layer prepares the packets for the Internet by adding source and destination IP address to each packet. All routers operate at this layer and look at the destination IP address to decide on the next appropriate hop. The network layer can also split, combine or resize packets if required.
What does the link layer do?
The link layer is responsible for the physical connection between various network nodes. It is responsible for adding the unique MAC address of the source device and the MAC address of the destination device for each hop. The MAC address is changed at each hop on the route.
For each of the layers in the TCP/IP protocol stack: state the name of the layer, the names of any relevant protocols at that layer and the important packet header fields that are dealt with at that layer.
• Application Layer.
- HTTP, HTTPS, FTP, SSH, IMAP, SMTP, POP3.
• Transport Layer.
- TCP.
- Header fields include source port, destination port and sequence number.
• Network Layer.
- IP.
- Header fields include source IP address and destination IP address.
• Link Layer.
- MAC, Ethernet, Wi-Fi.
- Header fields include source MAC address and Destination MAC address.
What is a MAC address?
A Media Access Control (MAC) address is a totally unique 12-digit hexadecimal code which is hardcoded during the manufacturing stage to every single NIC. The MAC address identifies the network adapter connected to the network so that the packet’s destination hardware address can be matched to a particular host with this adapter at its address.
Explain how MAC addresses change during the transmission of packets in the Internet.
The destination MAC address describes the exact computer for the packet’s next hop in the current network. The source and destination MAC addresses are stripped at each router and replaced with a new source (that of the router in the next network) and new destination (that of the new next hop).
What is a socket (in the context of TCP/IP and routing packets)?
A socket is the combination of an IP address and transport layer port number. It represents a particular process running on a particular Internet host.
What does a socket represent in Internet communication?
A socket represents a unique application on a logical device. It is the true source or destination of a TCP/IP message.
What is a port (in the context of TCP/IP and routing packets)?
A port is used to identify a particular process or application on a network.
What is the range of possible TCP port numbers?
0 to 65535 (16 bits of binary).
What are the standard port numbers for:
• HTTP
• HTTPS
• SSH
• FTP
80
443
22
20 or 21 (or both)
Why might a traceroute show different hops when run a second time with the same destination address?
A link between routers might be busy and a different route is picked. Routers are determined dynamically as the packet moves from sender to receiver.
What is the World Wide Web?
A system of interlinked hypertext documents accessed via the Internet using HTTP protocol.
What is meant by the term packet switching?
A mode of data transmission in which a message is broken into packets which are each given a sequence number and are sent independently, over whatever route is optimum for each packet (which is determined by the routers), and reassembled at the destination.