The Network Protocol and TCP
The Network Protocol and TCP
“Class A addresses”: the IP address under this class type can only have a beginning
value of 1 and maximum of 126 for its first octet. Example: 1.12.100.0 ; 126.201.0.0.
Location of Network ID: first octet
Location of Host ID: last three octets
“Class B addresses”: the IP address under this class type can only have a beginning
value of 128 and maximum of 191 for its first octet.
Location of Network ID: first two octet
Location of Host ID: the last two octets
”Class C addresses”: the IP address under this class type can only have a beginning value of 192
and maximum of 233 for its first octet.
Location of Network ID: first three octets
Location of Host ID: the last octet
“Class D addresses”: are exclusively used for multicasting, and the IP address under this class type
can only have a beginning value of 224 and maximum of 239 for its first octet.
“Class E addresses”: are solely used for experimentation, and the IP address under this class type
can only have a beginning value of 240 and maximum of 254 for its first octet.
Special purpose IP addresses
“255.255.255.255” – is not a valid address and even if you type it in any browser it
will not yield any results, that’s because this IP address is a type of broadcast address
use for sending messages to all workstations connected to a specific network.
“127” is a “loopback address” and is not used for common sub netting process. There
are around 375 possible loopback address combinations, but 127 is the universally
acknowledged loopback address. Its main purpose is help network expert with testing
and debugging.
Summary description of each IPv4 class
types
What is Subnet Mask or Subnetting?
TCP/IP request for “configured subnet mask” two purposes: for classification the
type of addressing used and be able to proportion networks into subnet works and to
control traffic.
Example: An IP address must first be converted into binary like the example given
below:
The given IP address falls under a Class A IP address type.
11111111.00000000.00000000.00000000 (“255.0.0.0”) The “ones” in the binary
represents the network/subnet identification bits The “zeroes” represents the host
identification bits.
Subnet mask contains two subnet IDs categorized between
Network ID and Host IDs, which is then determined by a
network administrator. Subnet mask often “overrides” its
length limits
Example: IP address: 255.255.255.0 , the 3rd octet in this IP
address serves as an indicator of its Subnet ID
Equivalent Binary value:
11111111.11111111.11111111.00000000
What is CIDR method?
1. Unicast – identified by its single address for a single NIC (transmitted point-to-
point)
2. Anycast – contains a destination address that is associated with multiple
interfaces (goes only to the closest interface)
3. Multicast – has a destination address that is associated with multiple interfaces
(directed to each of the interfaces with that address
TCP/IP Application Protocols that are
most common and useful.
1. Telnet
2. Secure Shell (SSH)
3. File Transfer Protocol (FTP), Trivial File Transfer Protocol (TFTP), and Network File System
(NFS)
4. Simple Mail Transfer Protocol (SMTP)
5. Domain Name System (DNS)
6. Dynamic Host Configuration Protocol (DHCP)
7. Address Resolution Protocol (ARP)
8. Neighbor Discovery Protocol (ND)
9. Simple Network Management Protocol (SNMP)
10. Hypertext Transfer Protocol (HTTP), Secure Hypertext Transfer Protocol (S-HTTP), HTTP Secure
(HTTPS)
11. Internet Control Message Protocol (ICMP)
What is Telnet and SSH?