Week 1 Before We-Start
Week 1 Before We-Start
Introduction to NetAdmin I
Before We Start
What is TCP/IP?
What are the four TCP/IP model layers?
Application, Transport, Internet and link (Network Access) layers
How do the layers interact?
Encapsulation and de-encapsulation…what is the difference?
What is a “Port Number” and how is it used?
What is the difference between Connectionless (UDP) and Connection-
oriented (TCP) protocols?
Encapsulation
TCP/IP Model
De-Encapsulation
Some Standard Port Numbers
Port
Port numbers identify Description
Number
Application Software 20 FTP data
Process 21 FTP control
23 Telnet
25 Simple Mail Transfer Protocol (SMTP)
53 Domain Name System (DNS)
80 Hypertext Transfer Protocol (HTTP), Web
88 Kerberos
110 Post Office Protocol v3 (POP3)
443 Secure HTTP (HTTPS)
Website server
Port 80
Source port: 2010
Destination port: 80
Request
Source port: 2020
Destination port: 110
Website Server
Port 80
E-mail server
Port 110 Source port: 80
Destination port: 2000
Reply
E-mail Server
Port 110
IPv4 Addressing
B 16 16,384 65,534
C 24 2,097,152 254
Convert from Binary to Decimal
128 64 32 16 8 4 2 1
1 1 0 1 1 1 0 0
128+64+16+8+4=220
128 64 32 16 8 4 2 1
1 1 1 0 0 1 1 0
Convert from Decimal to Hexadecimal
Hexadecimal digits: from 0 to 9 then, A to F. Where A=10, B=11, C=12, D=13, E=14, and F=15
128 64 32 16 8 4 2 1
0 0 1 1 1 0 0 0
8 4 2 1 8 4 2 1
0 0 1 1 1 0 0 0
3 8
Using the Subnet mask to find the Network Portion and Host Portion
192.168.10.20/24
The IP address in binary = 11000000.10101000.00001010.00010100
To find the Network ID for any IP address, Do the AND operation. In the AND Operation:
0x0= 0
11111111.11111111.11111111.00000000 (Subnet mask) 0x1= 0
11000000.10101000.00001010.00010100 1x0= 0
-------------------------------------------------------- 1x1= 1
11000000.10101000.00001010.00000000 (192.168.10.0)
Network Subnetting
2n, to find the number of subnets, where n is the number of borrowed host bits
2h -2, to find the number of hosts, where h is remaining number of host bits
Example: subnet the 192.168.1.0/24 to have additional 7
subnets,
What is the new subnet mask?
The answer is: /27 how?
In our example: the original subnet mask is /24 = 255.255.255.0
11111111.11111111.11111111.00000000
The new subnet mask is /27 = 255.255.255.224: 11111111.11111111.11111111.11100000
n=3, and h=5 > 23 = 8 (the number of subnets), and 25-2=30 (the number of hosts)
IPv4 Subnetting Rules
Image Ref:
Some IPv6 Addresses
What is “OS”?
Panek, William. MCSA Windows Server 2016 Complete Study Guide: Exam 70-
740, Exam 70-741, Exam 70-742, and Exam 70-743. [VitalSource Bookshelf].