IP Addressing
IP v4 32 bit address (bbbbbbbb.bbbbbbbb.bbbbbbbb.bbbbbbbb) 4 Bytes (B.B.B.B) 4,294,967,296 (2 32 ) unique addresses 18 million private addresses 270 million multicast addresses
What is a bit? 0 | 1 On or Off
Classfirst octetNetwork IDHost ID# of networks# of hosts A ab.c.d12616,777,214 B a.bc.d16,38465,534 C a.b.cd2,097,151254
Class A -- NNNNNNNN.nnnnnnnn.nnnnnnnn.nnnnnnnn Class B -- NNNNNNNN.NNNNNNNN.nnnnnnnn.nnnnnnnn Class C -- NNNNNNNN.NNNNNNNN.NNNNNNNN.nnnnnnnn
Special Rules 1.First octet 127 represents the local computer, regardless of what network it is really in. This is useful when testing internal operations. 2.Octets 0 and 255 are not acceptable values in some situations, but 0 can be used as the second and/or third octet (e.g ).
Private Networks The 24-bit BlockA to The 20-bit BlockB to The 16-bit BlockC to
Static vs Dynamic When a computer uses the same IP address every time it connects to the network, it is known as a Static IP address. In contrast, in situations when the computer's IP address changes frequently (such as when a user logs on to a network through dialup or through shared residential cable) it is called a Dynamic IP address.
Assignment Methods Manually Static IP addresses are manually assigned to a computer by an administrator. DHCP Server This contrasts with dynamic IP addresses, which is assigned either randomly or arbitrarily assigned by a server using Dynamic Host Configuration Protocol.
More DHCP IP addresses assigned using DHCP may stay the same for long periods of time, they can generally change. Dynamically assigned static IP Addresses A DHCP server is used, but it is specifically configured to always assign the same IP address to a particular computer, and never to assign that IP address to another computer. This allows static IP addresses to be configured in one place, without having to specifically configure each computer on the network in a different way.
Converting Binary ( ) to Decimal ( ) OnOffOnOffOn Off = OffOn OffOn = Off On = Off = 0
You Do It
IP v6 32 hex numbers organized into 8 quartets Separated by colons (:) Each quarter is 16 bits Leading zeros omitted. Double colon for 0 quartets FEC0:0:0:0:78CD:1283:F398:23AB FEC0::78CD:1283:F398:23AB
IP v6 Address has two parts Prefix (64 bit) ISP, geographic region … Interface ID (64 bit) Could use MAC address as the automatic host ID NAT-PT (protocol translation) which will convert the IPv6 packet header into a IPv4 packet header.
IPv6 IP Addressing Practice identify good addresses 1.168:192:1::15 2.::1:1:6789:34:33:2 3.ABCD:ABCD:4323:7::98FX :1234::5432::ADEG
Convert Hex to Binary :11F0 FF:23
Router Config enable config t interface FastEthernet0/0 ip address no shutdown exit interface FastEthernet0/0 ip address no shutdown exit