Appendix B Flashcards
What are the IPv4 private network ranges for internal use
Class A : 10.0.0.0/8
10.0.0.0 - 10.255.255.255
Addresses: 16,777,216
Class B : 172.16.0.0/12
172.16.0.0 - 172.31.255.255
Addresses: 1,048,576
Class C : 192.168.0.0/16
192.168.0.0 - 192.168.255.255
Addresses: 65,536
How many bits in length is IPv4
32 - 4 octets of 8
What was introduced to help alleviate address exhaustion
NAT
What Protocol number is IPv4
4
What Protocol number is IPv6
41
What Protocol number is ICMP for IPv6
58
How long is an IPv6 address
128 bits - 8 octets of 16 bits
How can IPv6 addresses be abbreviated
One or more leading zeroes from any groups of hexadecimal digits are removed; this is usually done to either all or none of the leading zeroes. For example, the group 0042 is converted to 42.
Consecutive sections of zeroes are replaced with a double colon (::). The double colon may only be used once in an address, as multiple use would render the address indeterminate. RFC5952 recommends that a double colon must not be used to denote an omitted single section of zeroes.
An example of application of these rules:
Initial address:
2001:0db8:0000:0000:0000:ff00:0042:8329
After removing all leading zeroes: 2001:db8:0:0:0:ff00:42:8329
After omitting consecutive sections of zeroes: 2001:db8::ff00:42:8329
What is significant about the 169.254.0.0/16 range?
This is the “link local” block. As described in RFC3927, it is allocated for communication between hosts on a single link. Hosts obtain these addresses by auto-configuration, such as when a DHCP server cannot be found.
What does TCP stand for
Transmission Control Protocol
How is a TCP connection established
Three Way Handshake to establish the session (SYN - SYN/ACK - ACK) then uses acknowledgments to confirm data has been received.
What is TCP windowing?
The key to networking efficiency.
Files are broken up into packets of up to 1500 bytes and sent to the recipient. Increases the number of packets sent at once until it starts dropping packets (This is why time estimates on windows file copying change drastically when copying large files).
Uses sequence numbers to confirm file transmission. Ack numbers are always greater than syn numbers.
What does UDP stand for?
User Datagram Protocol
Why is UDP considered to be “Unreliable”
Unlike TCP there is no acknowledgement that data has been received (Connectionless)
What is UDP typically used for
Services which do not require acknowledgement such as VOIP, DNS and TFTP
What is a Fraggle attack
A Fraggle attack is the same as a Smurf attack but rather than ICMP, the UDP protocol is used.
The prevention of these attacks is almost identical to the Smurf attack.
What is a Smurf attack
In a smurf attack, an attacker will spoof the source address of the ICMP packet and send a broadcast to all computers on that network. If networking devices do not filter this traffic, then they will be broadcasted to all computers in the network. The victim’s network gets congested by this much traffic, which brings down the productivity of the entire network.
To mitigate the risk of a smurf attack it is advised that the following actions are taken :
Put filters on routers and firewall to counteract address spoofing. An IP address should be assigned to a LAN segment, and if the IP address of the source machine is not in the range of IP address that is assigned to the segment, then the traffic should be dropped.
Put filters on L3 devices to not reply for broadcast address.
What does ICMP stand for
Internet Control Message Protocol
What is ICMP used for
Used primarily for network diagnostics.
What Protocol number is ICMP
1
What ICMP type is a ping
8
What ICMP type is a traceroute
30
What does UTP stand for
Unshielded Twisted Pair, often referred to as a CAT 5 cable
When would you use a straight through cable
When connecting hosts unlike each other
ie
Switch - Computer
When would you use a crossover cable
When connecting like devices.
ie
PC - PC
Switch - Switch
How does fibre transmit data?
Pulses of light
What types of fibre exist
Multi Mode Fibre (MMF)
Single Mode Fibre (SMF)
What colours do MMF and SMF cabling tend to be
MMF : Orange/Aqua
SMF : Yellow
What speeds and distances are typical of MMF
100 Mbit/s up to 2000m
1 GB/s up to 1000m
10 GB/s up to 550m
What is a VCSEL
Vertical-Cavity Surface-Emitting Laser. The VCSEL is a semiconductor laser diode which emits lasers used in MMF
Where is MMF typically used
Multimode fiber is used for signal transmission over short distances.
Where is SMF typically used
Singlemode fiber is used for long distance transmission.
What speeds and distances are typical of SMF
DWDM (Dense Wavelength Division Multiplexing) allows singe-mode fiber to transmit data at speeds up to 400GB/s
How does DWDM work?
DWDM works by transmitting multiple signals simultaneously at different wavelengths on the same fiber, turning one fiber into multiple virtual fibers.
What are they key differences of SMF and MMF
Multi-mode has a larger core diameter.
Multi-mode has higher “light-gathering” capacity than single-mode.
Multi-mode allows the use of cheaper electronics such as LED and VSCELs
Single-mode bandwidth-distance limit is higher
Single-Mode is used for long distance transmission, Multi-Mode is used for short distance transmission.
What are the speeds associated with 10/100/1000Base T
10 Mbps
100 Mbps
1 Gbps
What is 100 Base T otherwise known as
Fast Ethernet
What is 1000 Base T otherwise known as
Gigabit Ethernet