Introduction To Networking
Introduction To Networking
Kevin Brown
MCT (Microsoft Certified Trainer) since 2000,
Azure Security Engineer,
Azure Solutions Architect,
Azure Administrator,
MCSE,
CISSP
Why take this course?
192.168.1.1
10.45.58.97
20.8.49.251
172.16.89.189
IP Address 20.5.87.94
FC-F8-AE-53-6D-8F
A MAC address is assigned to the Network
Interface Adapter (NIC).
The NIC can be wired or wireless
8-Bit Octet
1 1 1 1 1 1 1 1
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
Decimal Value
Decimal Value
128 64 32 16 8 4 2 1
Decimal Value
128 64 32 16 8 4 2 1
A. 231
B. 117
C. 11110111
D. 010111011
Binary 1 1 1 1 1 1 1 1
Decimal 128 64 32 16 8 4 2 1
Subnet Mask 128 192 224 240 248 252 254 255
Subnetting
Binary 1 1 1 1 1 1 1 1
10.0.0.0 Subnet Mask 128 192 224 240 248 252 254 255
255.0.0.0
10.0.0.0
255.255.248.0
Subnetting
Binary 1 1 1 1 1 1 1 1
172.16.0.0 Subnet Mask 128 192 224 240 248 252 254 255
255.255.224.0
172.16.244.0 Binary 1 1 1 1 1 1 1 1
255.255.224.0
Decimal 128 64 32 16 8 4 2 1
Subnet Mask 128 192 224 240 248 252 254 255
Public Private
• Required by devices and • Not routable on the
hosts that connect directly Internet
to the Internet • 10.0.0.0/8
• 172.16.0.0/12
• Must be globally unique • 192.168.0.0./16
• Routable on the Internet • Can be assigned locally
• Must be assigned by IANA by an organization
• Must be translated to
access the Internet
Network Address Translation (NAT)
TCP Windowing
Configurable IPv4 settings
Configurable IPv4 settings
Cisco Packet Tracer
• To check routing:
• Windows PowerShell: Test-NetConnection
–TraceRoute
• Command-line: tracert
Wireshark is a free and open-source network protocol analyzer. It allows users to capture and
examine the traffic passing through a computer network, including both wired and wireless
networks.
With Wireshark, you can inspect individual packets to see detailed information about each one,
including source and destination addresses, packet sizes, and the type of data being transmitted.
This information can be useful for troubleshooting network issues, detecting security threats, and
optimizing network performance.
Wireshark supports a wide range of network protocols, including TCP/IP, DNS, HTTP, and many
others. It can be used on multiple platforms, including Windows, macOS, and Linux. The user
interface of Wireshark is intuitive and provides various tools for filtering and searching network
traffic, making it easier to find specific information.
In summary, Wireshark is a powerful and widely used tool for network analysis, providing valuable
insights into network traffic and behavior.
Module 2: Dynamic
Host Configuration
Protocol (DHCP)
Module Overview
DHCP clients
Switch
Router
Server
DHCP server2
DHCP
DHCP server2 clients
87.5%
100%
50% of
of
oflease
lease
lease
duration has
DHCP server1 expired
• APIPA will automatically assign an IP address to the local computer when DHCP is unavailable.
• APIPA IP addresses are:
169.254.x.x
255.255.0.0
• If a computer has an APIPA IP address it will send a DHCPDISCOVER message every 5 minutes.
Lesson 2: Deploying DHCP
DHCP server2
DHCP client Unauthorized
Does not service
DHCP requests
Allocating and managing IPv4 addresses with DHCP
• You must create scopes to define the network information that will be
distributed to clients
• A scope must contain:
• A range of IP addresses
• A subnet mask
• A lease duration
• A scope might contain:
• Default gateway address
• DNS server and suffix
• Other network options
• IP addresses can be reserved based on the MAC address of the client
network interface
High availability options for DHCP
DHCP Failover
DHCP configuration
information
• Supports the hot standby mode and the load sharing mode
Maintaining the DHCP database
7. Response COM
3. Recursive Query
RTSnetworking
8. Query .COM
Local DNS Server 9. Response
2. HOSTS file:
C:\Windows\System32\Drivers\etc\HOSTS
DNS components
Namespace: rtsnetworking.com
DNS Client2 = ?
192.168.2.46 = ?
DNS Client1
What are primary and secondary zones?
Zones Description
DNS
Server
contoso.com
DNS
(Root domain) Server
fabrikam.com
DNS DNS
Server Server
DNS
Server
na.contoso.com sa.contoso.com
DNS
DNS na.fabrikam.com
Server
Server
ny.na.contoso.com rio.sa.contoso.com
Configuring root hints
com
microsoft
Client
Configuring DNS Forwarding
DNS Servers
com
DNS
Server
8.8.8.8 microsoft
Client
Module 4:
Understanding IPv6
Module Overview
340,000,000,000,000,000,000,000,000,000,000,000,000
Overview of IPv6 addressing
• 128-bit address divided into 16-bit blocks:
0010000000000001 0000110110111000
0000000000000000 0010110101001100
0000000111001100 0000000011011101
0001000100100010 0001001000110100
• Each 16-bit block converted to hexadecimal (base 16):
FD00:0DB8:0000:0000:2D4C:0000:00DD:1122
• Further simplified by removing leading zeros:
FD00:DB8::2D4C:0:DD:1122
IPv6 address structure
Unspecified 0.0.0.0 ::
Loopback 127.0.0.1 ::1
Autoconfigured 169.254.0.0/16 FE80::/64
Types of IPv6 addresses
48 bits 16 64
45 bits bits bits
Global routing Subnet
001 Interface ID
prefix ID
Prefix
Prefix Subnet bits Client
assigned to
managed for interface
top-level
by IANA organizations ID
ISPs
Types of IPv6 addresses
8 40 16 64
bits bits bits bits
FD00::/8
Types of IPv6 addresses
Link-local addresses:
• Are automatically generated on all IPv6 hosts
• Are similar to IPv4 APIPA addresses
• Include a zone ID that identifies the interface
• Examples:
• fe80::2b0:d0ff:fee9:4143%3
• fe80::94bd:21cf:4080:e612%2
10 54 64
bits bits bits
1111 1110 10 000 . . . 000 Interface ID
FE80::/8
Autoconfiguration options for IPv6
Check
Check
IfAdd for
for aaddress
Managed router
or Otheron theis
conflicts
flag
614532set,
Check
network
using the
prefixes
Derive router
Link-Local
neighbor
check DHCPv6
for prefixes
Address
solicitation
Autoconfigured IP Timeline
IPv6 Client
Valid
Valid Lifetime
• fe80::d593:e1e:e612:53e4%10
• Router configuration information
• Additional router prefixes
IPv6-only
node
IPv6 network
IPv4/IPv6 node
IPv4-only
node
IPv4 network
Options for IPv4 and IPv6 coexistence
IPv6 packet
Upper layer
IPv6 Extension
protocol data
header headers
unit
Upper layer
IPv4 IPv6 Extension
protocol data
header header headers
unit
IPv4 packet