1.4 given a scenario, configure the appropriate IP addressing components. Flashcards
Ip address consists of two portions
Network ID and Host ID
Network id
Group of bits the first part of the address shared by all hosts on the same network.
Host ID
Group of bits the second part of the address unique in pattern to each host on the same network.
you need a subnet mask to:
identify the network ID and host ID portions of the IP address.
the first binary octect for a class A is
0
the first binary octect for a class B is
10
the first binary octect for a class C is
110
the first binary octect for a class D is
1110
Class A first decimal value and address range
1 - 126 \ 1.0.0.0 - 126.255.255.255
Class B first decimal value and address range
128-191 \ 128.0.0.0 - 191.255.255.255
Class C first decimal value and address range
192-223 \ 192.0.0.0-223.255.255.255
Class D first decimal value and address range
224-239 \ 224.0.0.0 - 239.255.255.255
Class E first decimal value and address range
240.0.0.0-255.255.255.255
what is the difference between ethernet 1 2 and 3 in \ipconfig /all
apipa
169 automatic private network addressing. Assigned by the host if no ip assigned.
RFC1918 IP address.
These IP addresses are used in private networks, which are not available, or reachable, from the Internet.
How does a PC know what it’s IP configuration is
Through DHCP. Statically or dynamically.
How does DHCP work
Discovery, offer, request, acknowledgement.
What is DHCP Discovery
When a pc connects to the network it sends a DHCP discovery packet. sent to UDP port 67, 255.255.255.255:67
What is DHCP offer packet
The DHCP server that receives the discovery packet and responds with an offer packet. Sent to mac address of PC using UDP port 68.