IP Addressing Flashcards
(33 cards)
ipv4
32 bits
4-bit octets
subnet mask
defines network portion network = 1 = 255 host = 0 ex: 1.2.3.4 w/ 255.255.255.0 network = 1.2.3 host = 4
class a
first octet: 1-126
255.0.0.0
/8
class b
first octet: 128-191
255.255.0.0
/16
class c
first octet: 192-223
255.255.255.0
/24
class d
first octet: 224-239
n/a
n/a
private ips
used by anyone
not routable outside network
class a: 10.0.0.0-10.255.255.255 class b: 172.16.0.0-172.31.255.255 class c: 192.168.0.0-192.168.255.255
nat
network address translation
allows for routing of private ips through a public ip
how most home networks work
loopback ip
ipv4 127.0.0.0/8
ipv6 ::1/128
apipa
automatic private ip addresses
dynamically assigned by os when dhcp server is unavailable
169.254.0.0/16
vip/vipa
virtual ip/address
ip that does not correlate to an actual physical network interface
subinterfaces
virtual interface that is created by dividing up one physical interface into multiple logical interfaces
unicast
ipv4 and ipv6
data travels from a single source to single destination
multicast
ipv4 and ipv6
data travels from a single source to multiple but specific destinations
broadcast
just ipv4
data travels from a single source to all devices on a destination network
static ip assignment
simple, time consuming, prone to human error, impractical for large network
dynamic ip assignment
quicker, easier, less confusing, simplistic for large networks
components of dhcp
ip addr
subnet mask
default gateway
dns or wins server
wins: windows internet name service - converts netbios computer name into ip addr
dhcp
dynamic host configuration protocol
assigns ip from an available scope
can use ip addr management software to keep track of those assigned
ip, subnet mask, default gateway, dns
each is given ttl and returned to pool when expired
subnetting
default classful subnet masks are not always the best choice
borrow bits from host portion and add them to network
more efficient, more security, bandwidth control
/25
255.255.255.128 –> 11111111.11111111.11111111.10000000
2 subnet
128 ips
/26
255.255.255.192 –> 11111111.11111111.11111111.11000000
4 subnet
64 ips
/27
255.255.255.224 –> 11111111.11111111.11111111.11100000
8 subnet
32 ips
/28
255.255.255.240 –> 11111111.11111111.11111111.11110000
16 subnet
16 ips