Exam Study Notes Flashcards
Explain NAT
Network Address Translation.
Motivation: Local network uses just one IP address as far as the outside world is concerned.
Works: All leaving packets have the same source IP (the IP of the router). The router maps the original source IP and port to the NAT IP and a newly created port. Based on this port all incoming traffic can be directed to the correct devices within the network.
Allows: us to cut down on IP addresses, change internal local IP addresses without affecting the world, inside devices can’t be directly accessed from outside world.
Coaxial Cable Attributes
- Two copper conductors.
- Bidirectional
- Broadband (multiple channels on cable)
Radio Attributes
- Bidirectional
2. Environment effects the signal
Forms of Radio Transmission
- Terrestrial Microwave
- LAN (Wi-Fi)
- Wide-area network (Cellular).
- Satellite
Circuit Switching Attributes
- Dedicated Resources and Guaranteed performance
- Idle if not used.
- Cannot add more users than the defined limit, once resources have been allocated.
Packet Switching Attributes
- Allows more users than Circuit Switching
- Simpler than Circuit Switching
- Excessive congestion possible
Four sources of delay
- Propagation
- Transmission
- Nodal Processing
- Queuing
Propagation Delay Attributes
- Nothing can be done about this form of delay
2. Occurs because of the physical distance between the two communicating nodes.
Transmission Delay Attributes
Key idea: all about the packet size (in bits) and the transmission rate (number of bits per second) the link can deliver.
Nodal Processing Delay Attributes
- Check bit errors
2. Determining output link at each hop
Queuing Delay Attributes
- Represents the time spent waiting at output link for transmission
- Depends on congestion level of router
What is Traceroute and how does it work
Provides network analysis information, E.g. measuring network congestion and delay, etc.
Achieves this by iteratively sending (3) three packets to each of the hosts along the path to the destination and measuring response times.
Where does throughput bottlenecking usually occur?
Client side
Internet Protocol Stack Layers
- Application
- Transport
- Network
- Link
- Physical
ISO/OSI Model
ISO spelt backwards is OSI
- Application
- Presentation (allows applications to interpret data)
- Session (recovery and syncing of data)
- Transport
- Network
- Link
- Physical
TCP and UDP Socket Attributes
TCP sockets are based on a connection
UDP sockets are connectionless
TCP sockets do a 3-way handshake
UDP just sends the sockets straight through
TCP Socket Identification
When creating a TCP socket, need to specify:
- Source IP
- Source Port Number
- Destination IP
- Source Port Number
UDP Socket Identification
When creating a UDP socket, need to specify:
- Destination IP
- Destination Port Number
Explain Stop and Wait (Reliable Data Transfer UDP)
Sender sends a packet and then waits for acknowledgement for the specified packet.
If no acknowledgement is returned, after waiting a ‘reasonable amount of time’ the sender will retransmit the packet once again.
Performance is poor
How does the Go-Back-N (GBN) Protocol work
Keeps a timer for the oldest transmitted (unacknowledged) bit. Should the timer expire, all bits in the same window size are retransmitted.
Drops all out of order packets, till the next in-order packet is delivered.
No buffer.