04 Ip
04 Ip
ARP IGMP
Internet IPv4 ICMP
IPv6
Network Mobile
Ethernet Wi-Fi broadband
Interface
Protocols in the TCP/IP Suite
TCP/UDP
IPv4 IPv6
Lesson 2: Understanding IPv4 Addressing
• IPv4 Addressing
• Public and Private IPv4 Addresses
• How Dotted Decimal Notation Relates to Binary
Numbers
• Simple IPv4 Implementations
• More Complex IPv4 Implementations
IPv4 Addressing
An IPv4 configuration identifies a computer to other computers on a network
IP Address Subnet 1
192.168.2.180
255.255.255.0
IP Address
192.168.2.181
255.255.255.0
Dotted decimal
IP Address
representation
192.168.1.201
of the address 255.255.255.0
and subnet mask IP Address
192.168.1.202
Subnet 2 255.255.255.0
Public and Private IPv4 Addresses
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 by organization
IANA/RIR • Must be translated to
access the Internet
How Dotted Decimal Notation Relates to
Binary Numbers
8-Bit Octet
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
27 26 25 24 23 22 21 20
128 64 32 16 8 4 2 1
Decimal Value
Simple IPv4 Implementations
172.16.17.1
172.16.16.0/22
172.16.17.0/24
172.16.20.0/22
172.16.18.0/24
172.16.28.0/22
Lesson 3: Subnetting and Supernetting
Number of Subnets 32
2
8
128
64
16
4
0
256
1 0
20 minutes
What Is Supernetting?
• Supernetting combines multiple small networks
into a larger network
• The networks that you are combining must be
contiguous
• The following table shows an example of
supernetting two class C networks:
Network Range
Set-DNSClientServerAddresses –InterfaceAlias
“Local Area Connection”
–ServerAddresses 10.12.0.1,10.12.0.2
Configuring IPv4 Automatically
• Ipconfig • Netstat
Logon Information
Virtual machines: 20410B-LON-DC1
20410B-LON-RTR
20410B-LON-SVR2
User name: Adatum\Administrator
Password: Pa$$w0rd
• You can use the Get-NetRoute cmdlet to view the local routing
table of a computer.
Module Review and Takeaways
•Question
•You have just started as a server administrator for a small organization with a
single location. The organization is using the 131.107.88.0/24 address range
for the internal network. Is this a concern?
•Answer
•Yes, that is a concern because those are Internet-routable addresses. Most
IPv4 networks use private addresses with NAT to allow access to the Internet.
This organization will not be able to access the 131.107.88.0/24 network on
the Internet.
•Question
•You are working for an organization that provides web hosting services to
other organizations. You have a single /24 network from your ISP for the web
hosts. You are almost out of IPv4 addresses and have asked ISP for an
additional range of addresses. Ideally, you would like to supernet the existing
network with the new network. Are there any specific requirements for
supernetting?
•Answer
•Yes. To perform supernetting the two networks must be consecutive.
The networks must allow you to remove a single bit from the subnet
mask and identify both as the same network.
•Question
•You have installed a new web-based application that runs on a
non-standard port number. A colleague is testing access to the new
web-based application, and indicates that he cannot connect to it.
What are the most likely causes of his problem?
•Answer
•When a server application runs on a non-standard port, you need to
provide the client application with the port number to which it should
be connecting. For example, http://servername:port. It is also possible
that your colleague is attempting to connect using http, when he
should be using https.
•Best Practice: When implementing IPv4, use the following best
practices:
Allow for growth when planning IPv4 subnets. This ensures that you
do not need to change you IPv4 configuration scheme.
Use static IPv4 addresses for servers. When servers have a static
IPv4 address, it is easier to identify where services are located on
the network.
•Common Issues and Troubleshooting Tips
•Common Issue: IP conflicts
•Troubleshooting Tip: In most cases, computers that are
running Windows operating systems display a pop-up
message when they have an IP conflict with another
network device. However, some network devices do not.
When performing a packet capture, duplicate TCP
acknowledgements can be an indication that two devices
have the same IP address, and that both are responding
to connection attempts.
•To prevent IP conflicts, clearly document which IPv4
addresses are in use on your network, and do not assign
new IPv4 addresses without checking the documentation.
•Common Issue: Multiple default gateways defined
•Troubleshooting Tip: On hosts with multiple network cards, only one
should have a default gateway defined. Windows Server 2012 is
designed to function with only a single default gateway. When multiple
default gateways are defined, network communication may be
unpredictable. You can verify that only a single default gateway is
configured by using the Get-NetRoute cmdlet.