Lecture 1 Flashcards
What do the following stand for?
TCP
IP
SDN
DNS
OSPF
ISP
Transmission Control Protocol
Internet Protocol
Software Defined Network
Domain Name Services
Open Shortest Path First
Internet Service Provider
What is the difference between switch, router and network hub?
They are the same.
Differentiate between a link and a path with examples.
Link goes from end host (e.g. phone) to switch (local internet) Often visible the route it takes.
Path goes from switch to switch (local internet via service provider to information center/servers) Often invisible the route it takes. Made up of a number of links + switches.
Do we differentiate links by whether they are wired or wireless?
Yes.
What are the components of a computer network? (5)
Message: information to be communicated.
Sender: Device that sends the message
Receiver: Device that receives the message.
Medium: Physical Path from sender to receiver.
Protocol: Set of rules that govern data communications.
How do incompatibility issues arise? (3)
Different types of:
-networks
-os
-applications
What is a protocol?
Is a set of rules which governs the data communication between different devices on a network and how they interact. Must be consistent across different networks, os and applications.
What is the header?
The header is the metadata put in a packet that facilitates the transfer and routing of the payload (data) through the network.
What is a packet?
A packet is a chunk of information, a number of bits / bytes, a block of data. Consists of payload (information content) and header which tells you what the packet is.
What is the ISP of UCD?
HEA - Higher Education Authority
What is an autonomous system?
Are systems that are controlled by something else. Usually an ISP.
How can a network send messages instantly?
Never, there will always be delays.
What does it mean to say “Communication feedback is always dated”?
Means communication feedback is always delayed.
Define propagation delay.
Propagation delay is the delay due to the speed of light. Time it takes a bit to travel along the link “length” of the link.
Differentiate between how header and payload of a packet interact with a network.
Data is meaningful only to endpoints. Header is meaningful to the network and the endpoint.
What is a flow?
A stream of packets.
Define bandwidth.
Number of bits sent per unit time “width” of the link.
Define bandwidth-delay product (BDP).
bits/time * propagation delay is the capacity of the link
Distinguish between the units of bandwidth, propagation delay and bandwidth-delay product.
Bandwidth - bits/second
Propagation Delay - seconds
Bandwidth-Delay Product - bits
What is the formula for the packet delay?
Packet Delay = (Packet Size / Link Bandwidth) + Propagation Delay
Differentiate between a connection and connectionless approach of sending data from one end host to another.
Connection:
- establish a connection
- use for data transfer
- release connection
- modelled on telephone service
- sender pushes objects and receiver takes them out in the same order.
Connectionless:
- Independent messages
- modelled on the postal service
- Each message must include receiver address.
- Message can be received in different order
What are the mesh and star approaches to network implementation?
Mesh: Directly connect ever pair of sender-receiver pairs.
Star: Connect all to a central site.
Why can’t the star or mesh methods be implemented? (2)
What is the solution?
Technology limitations mean that broadcast solutions don’t scale to large numbers of hosts or large geographical distances.
Too expensive.
Network resources must be shared between the users, while still allowing senders to transmit data to their receivers.
What are the two basic techniques that can be used while sharing network resources.
Switching - sharing network resources among multiple transmissions.
Multiplexing - sharing a single link among multiple transmissions.
Explain circuit switching.
- Path is set up between sender and receiver by making the appropriate connections in the switches.
- Network resources are reserved, before data transfer, blocked if not possible.
- Reserved resources held for duration of transfer.
What is a switch?
A device that can create a temporary connection between an input link and an output link.
What are the disadvantages of circuit switching? What is an advantage?
Links monopolised, prevents other devices.
Set-up delay
Inefficient for bursty
For smooth traffic, avoids any queuing delays at each link.
Distinguish between smooth and bursty traffic.
Smooth traffic - peak to mean is approx 1.
Bursty traffic - where the rate varies widely around its average value.
What could you do to attempt to solve bursty problem with circuit switching? Why dont we do these?
- set up new circuit for each burst.
- hold original circuit for duration
Both are wasteful and inefficent.
What is P(f) and A(f)? How is aggregate of peaks calculated? How is peak of aggregate calculated?
P: Peak rate of flow.
A: Average rate of flow.
Sum of the peak rate of flows. (Add all the peaks)
Peak of each flow added together. (Add all the data then find the peak)
Which is typically higher? The aggregate of peaks or the peak of aggregate.
Aggregate of peaks
What do we hope with large number of flows with the peak and aggregates?
That the peak of aggregate is approximately equivalent to the average of the flows added together.
What is statistical multiplexing?
Means not provisioning for the worst case (when all flows peak together) but instead sharing resources and hoping they don’t peak at the same time.