Chapter 7: TCP/IP Basics Flashcards
What layers does TCP/IP operate at?
internet.
What are port numbers?
1 - 65535
What port number is HTTP?
80
What port number is POP3?
110
what is a subnet mask?
string of ones followed by zeros
-you line up address. portions that line up with ones are the network id, zeros that line up are the host id.
What is ARP?
Address Resolution Protocol: determine, MAC address based on destination IP
-arp -a shows windows current arp table
What is IANA?
Internet Assigned Numbers Authority
What is a class license?
IP address in contiguous chunks
What is the range for Class A adresses
1-126
Range for class b address?
128-191
Range for class C address
192-223
Range for class D addresses
224-239 (multicast)
Rand for class E addresses
240-254 (experimental)
What is CIDR?
Classes Inter-domain routing
- virtually same thing as subnetting.
- extend subnet mask by adding more network ID from host bits.
What is the formula for # of hosts in subnet?
2^x -2 wher x = number of host bits
What is the formula for # of subnets?
2^y where y=# bits added to the subnet mask.
What are four unofficial standards?
- give default gateway first IP address in the network id
- use ip address in sequential order
- separate servers form clients
- write down whatever I choose to do.
What is a DHCP scope?
-range of IP address DHCP server can pass out.
What is APIPA?
Automatic Private IP addressing
-DHCP clients designed to generate APIPA autormatically if they do not receive a response to DHCP Discovery message.
What ports do DHCP and BOOTP use?
UDP ports 67 and 68
ipconfig /renew /release comands for Linux
sudo ifconfig eth0 down
sudo ifconfig eth0 up
What are the three ranges of private ip addresses?
- 0.0.0 through 10.255.255.255 (1 class A license)
- 16.0.0 through 172.31.255.255(16 class B license)
- 168.0.9 through 192.168.255.255(256 class C license)