IP Addressing Notes



PC Maintenance and Repair - IP AddressingWhat is an IP Address? An IP address is what uniquely identifies you on a network or Internet.No two computers can share the same IP address.Telephone number analogy. If I dial a number, I connect with just one person.All devices, whether computer, laptop or cell phone require an IP address to go onto the Internet.What does an IP address look like?Examples: 192.168.1.1 or 10.3.12.65It is composed of 4 numbers separated by periods.The range of values in each octet is from 0 to 255. Any other value is invalid.Each octet is built from 8 binary digits (bits, 0 or 1)What are the parts of an IP address?NetworkThe first part of an IP address tells you which network you belong to.Devices on the same network can communicate without having to go on the Internet. (LAN)All IP addresses are registered so that there are no duplicate IP addresses assigned. (ARIN)Again, think telephone numbers. The network part of an IP address is like the area code.The network part of an IP address always appears first.In order for two devices on the same LAN to communicate, they must have the same network part to their IP address.For example, on our network, everyone's shares the first two octets 10.3. This is the network part of all of our IP addresses here at East Kentwood High School.HostThe second part of the IP address is used to uniquely identify you on our network.While all devices on the same LAN will share the same network address, they must all have different host parts to their IP addresses. This is what allows them to be uniquely identified on the LAN.For example, on our EK network, we all share 10.3 in the first two octets, but our third and fourth octets are all different. Mine is 10.3.12.65 and yours might be 10.3.13.182What are the different classes (sizes) of IP addresses?Class A The first octet value will be in the range from 1 to 127Only the first octet is used for network. (same for all devices)Octets 2 through 4 are used for host. (N.H.H.H)This gives over 16 million different IP addresses for each class A network. (224)Class A networks are typically only given to large companies, universities or ISPs.They are often broken up into smaller chunks to conserve IP addresses. (subnetting)Class B The first octet value will be in the range from 128 to 191The first and second octets are used for network. (same for all devices)Octets 3 and 4 are used for host. (N.N.H.H)This gives over 65 thousand different IP addresses for each class B network. (216)Class CThe first octet value will be in the range from 192 to 223The first, second and third octets are used for network. (same for all devices)The fourth octet only is used for host. (N.N.N.H)This gives 256 different IP addresses for each class B network. (216)Class C networks are usually reserved for smaller companies or schools.IP Addressing ConceptsSubnet Mask This is a 4 octet value that accompanies an IP addressIt tells which part of the IP address is network and which part is work bits = 1; Host bits = 0Class A subnet mask - 255.0.0.0Class B subnet mask = 255.255.0.0Class C subnet mask = 255.255.255.0Default GatewayThis is the IP address assigned to the device that allows you to leave your LAN and connect to the Internet.This device is usually a router.The default gateway is usually reserved the first usable IP address on your LAN.DHCP - Dynamic Host Configuration ProtocolThis is a way to automatically assign IP addresses to devices on the same network.It requires a dedicated DHCP server.The IP addresses are leased to the hosts on the network by the DHCP server.If the host goes inactive, the DHCP server will reclaim the IP address at the end of the lease and give it to another host.What are the three types of IP addresses?Network AddressThe first IP address on a network is called the network address.The host portions is filled up with all 0s (zeros).It is used to represent the entire network.It cannot be assigned to a device.Broadcast AddressThe last IP address on a network is called the broadcast address.The host portion is filled up with all 1s.It is used to send messages to all hosts on the network. (Broadcast)It cannot be assigned to a device.Host AddressAll of the IP addresses in between the network and broadcast addresses are host addresses.These can be assigned to devices.A different IP address must be assigned to each device.The first usable IP address is usually given to the default gateway.The last usable IP addresses are usually give to devices that don't change on network.File ServersDHCP ServersWeb ServersPrintersMAC AddressA permanent address burned into your computer's motherboard.It is unique in the world and comprised of 12 hexadecimal digits.Console Commands - Accessed with "CMD" commandIPCONFIG - Shows the basic IP configuration of your computer including IP Address, subnet mask and default gateway.IPCONFIG/ALL - Show basic and advanced IP configuration information.PING <IP Address> - Basic network connectivity command.TRACERT <IP Address> - Shows all the router hops from you to destination networkARP -A - This command shows all the IP Address that you know how to get to on your LAN.GETMAC - Find your MAC addressIP Addressing ProblemsIP AddressClass (A, B or C)Subnet MaskOctet Type# of IPsType(N, H, B)192.168.1.0150.77.255.255105.115.254.210201.100.11.112144.12.0.25588.1.0.0 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download