Exam1 Flashcards
Network classification starting numbers
A 1.0.0.0
B 128.0.0.0
C 192.0.0.0
D 224.0.0.0
HTTP Response Status Code
200 Okay 301 Moved permanently 400 Bad Request 404 Not Found 505 HTTP version not supported
Application Layer Protocols and data names
SMTP - simple mail transport pro.
HTTP - hyper text transfer pro.
DNS - domain name server
SNTP - simple network transport pro.
carries message/packets
Transport layer
TCP
UDP
Carries segments
Network Layer
IP
Other routing protocols
Carries datagrams
Link Layer
PPP
Ethernet
Carries frames
Physical Layer
Carries bits “on the wire”
TCP and supporting protocols
Transmission Control Protocol
Supports carrying SMTP and HTTP application protocols
Includes a “handshake” step which verifies sender/receiver
Connection oriented
UDP and supporting protols
User Datagram Protocol
Supports carrying DNS application protocol
No handshake (TCP includes the handshake) Connection-less oriented
List the protocol layers from top to bottom
Application Transport Network Link Physical
CIDR
Classless Inter-Domain Routing
Can define custom length of network section of IP
Ex. xxx.xxx.xxx.xxx/z
Where z = number of bits (from the right) that represents network section
How long is an IP address in bits? How long is each octet?
32, each octet = 8 bits
What is the range of Numbers for each octet in an IP address?
(octets are each set of numbers btwn the periods)
Ex. xxx.xxx.xxx.xxx - each xxx is a octet
0-255 per octet
Ex. Highest IP address possible
255.255.255.255 (2^32 possible addresses)
This is because 255 is represented in binary by 11111111 (8 digits). 256 would require 9 digits, or 9 bits, to represent. IP protocol requires all IP address to be represented by 4 sets of 8-bits (Or 4 octets).
To convert a number system to decimal, what operating do you do?
Multiply
What is the relationship between the network section and the host section of an IP address class?
The network section is represented by the left-most 8 bits of an IP address. In other words, it’s the octet (first xxx) on the left side which is then followed by 3 more sets of octets. Ex. IP addresses that start with 129.xxx.xxx.xxx are apart of a class B network.
Host devices on the class B network can range from 128.0.0.0 to 191.255.255.255 (255 is the largest 3-digit number that can be represented by 8-bits)
Because IP addresses are a fixed length of 32-bits (8-bits per octet) everytime the network address requires another bit to represent it, it lowers the number of host addresses available to it. A network is limited by the number of unique IP addresses it can assign. Ex. The upper range of a class A network is 127.255.255.255 because in binary it is this:
127 255 255 255
01111111 11111111 11111111 11111111
The next IP address that could be assigned would add 1 to every digit to its right, making that zero in front turn into a 1. To assign more addresses, all IP addresses start with the binary digit 1 instead of 0. 127 in binary is 1111111 (7 digits). 128 in binary is 10000000 (8-digits). Therefore, when 7-digits were used for the network portion, it made 25 digits available to assign to host devices. When the network address increased from 127 to 128, one additional digit was required for the network, this less digits are available to the host section
To convert from decimal to another number system, what operation do you do?
Divide
2 types of HTTP messages
Requests and responses
What are devices called that run applications?
Hosts, also called end-systems