Configuring Networking Slides
Configuring Networking Slides
Glenn Weadock
MDAA, MCAAA, MCT, MCSE, MCSA, MCITP, A+, SECURITY+
[email protected] www.i-sw.com
Topics in This Network settings in Windows
Module IPv4 and IPv6
Name resolution
Routing and NAT
Network card properties
Network troubleshooting
Network Settings in Windows
Networking utilities:
Network and Sharing Center
Network & Internet settings tile
Other control panels
Network and Sharing Center (W10/11)
Demo
Sender Receiver
Application Application
Transport Transport
Internet Internet
198.168.1.50 = 11000110.10101000.00000001.00110010
255.255.0.0 = 11111111.11111111.00000000.00000000
--------------------------------------------------
Network ID = 11000110.10101000
Host ID = 00000001.00110010
IPv4 Addressing Evolution
Old “classful” addresses
- Class A: network ID is 8 bits
- Class B: network ID is 16 bits
- Class C: network ID is 24 bits
Subnet #1 Subnet #2
Need to chat with a
computer on a different Router
subnet?
“Default gateway” GM-DC1
GM-WS1
settings points to an
52.0.0.1 172.20.1.1
interface on a local
router 52.0.0.99
172.20.1.50
Why Do we Even Need Subnets?
Better performance:
broadcast messages Subnet #1 Subnet #2
stay within subnet Router
Better tailoring of
networks to expected GM-DC1
growth GM-WS1
52.0.0.1 172.20.1.1
Better security (one
52.0.0.99
compromised system 172.20.1.50
doesn’t put whole
network at risk)
Where Do IP Addresses Come From?
Static configuration
DHCP
- IP address “lease”
- Subnet mask
- Default gateway setting
- Preferred DNS server
No DHCP?
- APIPA (169.254.0.0/16)
- a.k.a. “link-local addressing”
Private IP Address Ranges
172.16.0.0/12 (class B)
- 172.16.0.0 to 172.31.255.255
192.168.0.0/16 (class C)
- 192.168.0.0 to 192.168.255.255
How Is IPv6 Different?
Much larger address space (128 bits vs. 32)
- So we don’t need to use subnet masks
Unique local
- Routable but not on Internet
- Prefix FC00
- Analogous to private ranges in IPv4
Global
- Routable on public Internet
IP Toolkit
IPCONFIG
NETSH
PING, PATHPING
TRACERT
POWERSHELL
- Get-NetIPConfiguration …
- Test-NetConnection
- Set-NetIPAddress …
- etc.
Demo
gm-ws1
gm-ws1.globomantics.local
172.20.1.99
Demo
NSLOOKUP
POWERSHELL
- Get-DnsClientCache
- Clear-DnsClientCache
- Resolve-DnsName
- etc.
Demo
Dedicated or multipurpose
- Firewall
- VPN
Hardware-based or software-based
Dynamic or static
Routers Can Have Different Purposes
Pub5
Networking commands
Troubleshooting Local IP Address
Verify address details
- ipconfig /all
- Settings > Network & Internet > Status >
“View your network properties”
Is DHCP server online and responding?
- An address in the 169.254.c.d range
suggests “no”
Is DHCP client configured correctly?
- Check IPv4 properties of NIC
- Check “Alternate configuration”
To connect with other computers on
the same subnet, your computer
needs a correct IP address and the
correct subnet mask.
Troubleshooting Connectivity
Ping computers by IP address
- Firewall must pass ICMP packets
- “Ping localhost” means TCP/IP is
working
- Ping target on local subnet
- Ping target on remote subnet
Configuring Mobile
Networking