Mid-Term II Flashcards
Study guide for mid-term II (247 cards)
Difference between IPv4 and IPv6
- IPv4: 32-bit address; written in decimal form; allows for 3.4 billion addresses; 8 bits per octet; 192.168.1.1
- IPv6: 128-bit address; written in hexadecimal; allows 340 undecillion addresses; supports auto-configuration and built-in security; 16 bits per section; 0000:0000:0000:0000:0000:0000:0000:0001
Private IP ranges for IPv4
- Class A: 10.0.0.0 – 10.255.255.255
- Class B: 172.16.0.0 – 172.31.255.255
- Class C: 192.168.0.0 – 192.168.255.255
Who assigns public IP addresses
Internet Assigned Numbers Authority (IANA) distributes IP’s to Regional Internet Registries (RIR) that then distribute IP’s within their assigned region.
What are the CIDR classes
- Class A: 1.0.0.0 - 126.255.255.255; Default mask - 255.0.0.0 (/8)
- Loopback: 127.0.0.1 - 127.255.255.255
- Class B: 128.0.0.0 - 191.255.0.0; Default mask - 255.255.0.0 (/16)
- Class C: 192.0.0.0 - 223.255.255.255; Default mask - 255.255.255.0 (/24)
- Class D: 224.0.0.0 - 239.255.255.255; Multicast Class
- Class E: 240.0.0.0-255.255.255.255; Reserved
Usable hosts on /30 subnet
Total: 4
Usable: 2
Usable hosts on /29 subnet
Total: 8
Usable: 6
Usable hosts on /28 subnet
Total: 16
Usable: 14
Usable hosts on /27 subnet
Total: 32
Useable: 30
Usable hosts on /26 subnet
Total: 64
Useable: 62
Usable hosts on /16 subnet
Total: 65,536
Usable: 65,534
Three main categories of ports
Well-Known (0-1023) - Assigned by IANA
Registered Ports (1024-49151) - Used by software vendors for proprietary applications
Dynamic/Ephemeral (49152-65535) - Temporarily used for client-side comms
What port does FTP (Data) use
Port 20
What port does FTP (Control) use
Port 21
What port does SSH use
Port 22
What port does Telnet use
Port 23
What port does SMTP use
Port 25
What port does DNS use
Port 53
What port does DHCP use
Port 67-68
What port does TFTP use
Port 69
What port does HTTP
Port 80
What port does POP3 use
Port 110
What port does NTP use
Port 123
What port does RPC use
Port 135
What port does NetBIOS use
Port 137-139