Unit 5 - Networking Flashcards
what is a router
a router allows us to forward data packets across the network using the same protocol
what is a server
a server is a computer or system that provides resources, data, services, or programs to other computers, known as clients, over a network.
what is a switch
it receives data packets, inspects the packet for who the intended recipient is and then sends it onto the correct client.
what is a hub
it receives a data packet and then sends it to the all the clients in the network, who then have to determine if it’s for them
what is a wap
wireless access point - a device that creates a wireless LAN and usually connects to a router for internet
what is a NIC
network interface card - adds an additional communication port on a device to allow it be connected to a network
what is a bridge
connects two networks that use the same protocol
what is a gateway
routes data packets across two dissimilar networks (different protocols)
what is a modem
modulated demodulator - converts a digital signal to an analogue one so it can send data down a telephone line
define WAN
wide area network - over a geographically dispersed area and uses third-party infrastructure, such as an internet service provider
define world wide web
a collection of resources that can be accessed via the internet
define internet
a collection of inter-connected networks
define an FTP client
when you can send something across the internet without using the WWW
what is the structure of the internet
- backbone - a set of dedicated connections that connect several large networks at various points on the globe
- each of these points are then connected to other regional networks
- an ISP provides individual access to end-users
what is an internet address and what is it made out of
- each device on a network needs to be uniquely identifies so that data can be sent to the correct destination
combines: - MAC address - assigned to a device through the NIC
- IP address - identifies the router
format of IPv4
4 octets = xxx.xxx.xxx.xxx
format of IPv6
6 octets = xxx.xxx.xxx.xxx.xxx.xxx
what is a url
uniform resource locator - full address of an internet resource. it specifies the means of accessing a resource across a network and its location
combines:
- protocol
- domain name
what is a DNS
domain name system - dedicated computers with an index of domain names and their corresponding IP addresses
how does a DNS work/ what is its structure
when a computer queries a DNS server of a domain name, the server returns an IP address that the computer can use to send a message. when the IP address of a given domain is not known it is referred to a related domain server that they may know
structure:
- 13 root DNS servers
- segmented into geographical levels
how to resolve an IP address
suppose that a client has no cached record of an IP address:
- if the DNS server does not have a record for that domain it:
1. either recursively handles the request so that it can eventually deliver an IP address
2. or refers to the DNS server authoritative and follows this, and subsequent referrals, to successively lower-level DNS servers
what is a proxy server
acts on your behalf, protects the details of your client server from the outside world when doing tasks such as sending requests on the web
what is an SAN
storage area network - secondary storage devices connected in a raid formation
what is a PAN
personal area network - within a few meters, generally connected via Bluetooth
what is a metro network
network in a metropolitan area, ring around the city
what is a trunk network
connects countries and cities
what is a LAN
local area network - over a geographically concentrated area and uses first party infrastructure
what is a network topology
the arrangement of various computing devices which make up a computer network
structure of a bus topology
an arrangement where nodes are connected in a daisy chain by a single central communication channel
operation of a bus topology
- all nodes connected via a single backbone
- each end of the backbone is connected to either a terminator or a computer which stops signals ‘bouncing back’
- each node is passive
- data is sent in one direction at a time only
- only one computer can transmit successfully at one time
advantages of a bus topology
- inexpensive to set up
- devices can be easily added
- good for small networks
disadvantages of a bus topology
- main cable is a point of failure
- limited cable length
- performance degrades with heavy use, leading to data collisions
- poor security
what is a star topology
an arragement where a central node, switch or hub provides a common connection point for all other nodes
operation of a star topology
the central switch keeps a record on the unique MAC address of each device on the network and can identify which particular computer on the network it should send the data to
what is a physical topology
a network defines how the devices are physically connected, uses hardware
what is a logical topology
how the devices communicate across the physical topologies, uses software
define circuit switching
a direct end-to-end connection between two devices which means that only those two devices with that connection can communicate data any given time
what is a data packet and how are they used
- data is broken into chunks (units) called data packets and assembled again at the receiving end (increases network efficiency & reliability)
- they are assigned a TTL (time to live), if a receipt for a data packet isn’t received by the sender before the TTL runs out, the data packet is sent again
- the delay between sending and receiving data packets is called latency
what is packet switching
packets are often sent across networks that have multiple connections with multiple routes through a destination – these networks are also often shared. each packet takes the fastest available route.
what is routing packets and how does it work
routers forward data packets from one network to another:
- each router stores data about the available routes to the destination node
- looks up the destination IP address in its routing table to find the best router to forward the packet to
- each transfer between routers is known as a hop
- routers continue to forward the packet until it reaches its destination node
how are packets made
TRAILER – end of packet flag, error checking components, checksum or cyclical redundancy checks (CRCs)
payload – data
HEADER – sender’s IP address, recipient’s IP address, protocol, packet number x of y, TTL or hop limit
describe the reason for small packet size
to ensure that individual packets do not take excessive time to transfer preventing other packets from moving.
- however, they should, not be too small as the additional data added makes data transfer inefficient as unnecessary headers and trailer would be required each time.
define protocol
a set of rules, or formal description, of the format of digital transmission
steps to error check a barcode/packet
- write out the barcode and ignore the last number(check digit)
- from the right hand side add up the total of every alternate digit
- multiply that total by three
- from the right hand side add up the alternate numbers that have not been used
- add both of the totals together
- work out how much should be added on to reach the nearest ten – this should be the check digit
what does a protocol cover
- size of packets
- contents & format of header
- error detection & correction procedure
why are gateways needed
required where data is travelling from one network to another that uses different protocols
- networks using different transmission media
- header data is removed and re-applied using the correct format
what is the TCP/IP protocol stack
a set of rules used in turn, to format a message so it can be sent over a network. each layer wraps the packets with its own header data.
what is the order of layers for a packet being sent in the tcp/ip protocol stack
application
transport
internet
link
what is the order of layers for a packet being received in the tcp/ip protocol stack
link
internet
transport
application
what happens in the application layer when sending a packet
- uses high-level protocols that set up an agreed standard between the communicating end-point
e.g. = SMTP, FTP, HTTP - does not determine how the data is transmitted, rather specifies the rules of what should be sent
what does the transport layer do when sending a packet
- uses TCP (transmission control protocol) to establish an end-to-end connection with the recipient user
- splits data into packets & numbers them sequentially
- adds port number to be used based on HTTP protocol
what does the internet layer do when sending a packet
- uses the IP (internet protocol) to address packets with the source and destination addresses
what does the link layer do when sending a packet
- operates across a physical connection
- adds the MAC address of the physical NIC that packets should be sent to based in the IP address
- MAC addresses change with each hop
what does the link layer do when receiving data
removes MAC and passes to the internet layer