1.4 Given a scenario, configure a subnet and use appropriate IP addressing schemes. Flashcards
1
Q
Networking with IPv4
A
- IP Address, e.g., 192.168.1.165
– Every device needs a unique IP address - Subnet mask, e.g., 255.255.255.0
– Used by the local device to determine what subnet it’s on
– The subnet mask isn’t (usually) transmitted
across the network
– You’ll ask for the subnet mask all the time
– What’s the subnet mask of this network? - Default gateway, e.g., 192.168.1.1
– The router that allows you to communicate
outside of your local subnet
– The default gateway must be an
IP address on the local subnet
2
Q
Special IPv4 addresses
A
- Loopback address
– An address to yourself
– Ranges from 127.0.0.1 through 127.255.255.254
– An easy way to self-reference (ping 127.0.0.1) - Reserved addresses
– Set aside for future use or testing
– 240.0.0.1 through 254.255.255.254 - Virtual IP addresses (VIP)
– Not associated with a physical network adapter
– Virtual machine, internal router address
3
Q
DHCP
A
- IPv4 address configuration used to be manual
– IP address, subnet mask, gateway,
DNS servers, NTP servers, etc. - Dynamic Host Configuration Protocol
– Provides automatic addresses and
IP configuration for almost all devices
4
Q
APIPA - Automatic Private IP Addressing
A
- A link-local address - No forwarding by routers
- IETF has reserved
169.254.0.1 - through 169.254.255.254
– First and last 256 addresses are reserved
– Functional block of
169.254.1.0 through 169.254.254.255
5
Q
NAT (Network Address Translation)
A
- It is estimated that there are over 20 billion devices
connected to the Internet (and growing)
– IPv4 supports around 4.29 billion addresses - The address space for IPv4 is exhausted
– There are no available addresses to assign - How does it all work?
– Network Address Translation - This isn’t the only use of NAT
– NAT is handy in many situations
6
Q
RFC 1918 Private IPv4 Addresses
A
7
Q
Static NAT
A
8
Q
NAT Overload / Port Address Translation (PAT)
A
9
Q
Unicast
A
- One station sending information to another station
- Send information between two systems
- Web surfing, file transfers
- Does not scale optimally for streaming media
10
Q
Broadcast
A
- Send information to everyone at once
- One packet, received by everyone
- Limited scope - the broadcast domain
- Routing updates, ARP requests
- Not used in IPv6 - focus on multicast
11
Q
Multicast
A
- Delivery of information to interested systems
– One to many - Multimedia delivery, stock exchanges
- Very specialized
– Difficult to scale across large networks - Used in both IPv4 and IPv6
– Extensive use in IPv6
12
Q
Anycast
A
- Single destination IP address has
multiple paths to two or more endpoints
– One-to-one-of-many
– Used in IPv4 and IPv6 - Configure the same anycast address on different devices
– Looks like any other unicast address - Packets sent to an anycast address are delivered to the closest interface
– Announce the same route out of multiple data centers,
clients use the data center closest to them
– Anycast DNS
13
Q
Classful Subnetting
A
- Very specific subnetting architecture
– Not used since 1993
– But still referenced in casual conversation - Used as a starting point when subnetting
– Standard values
14
Q
The construction of a subnet
A
- Network address
– The first IP address of a subnet - Set all host bits to 0 (0 decimal) - First usable host address
– One number higher than the network address - Network broadcast address
– The last IP address of a subnet - Set all host bits to 1 (255 decimal) - Last usable host address
One number lower than the broadcast address
15
Q
VLSM (Variable Length Subnet Masks)
A
- Class-based networks are inefficient
– The subnet mask is based on the network class - Allow network administrators to define their own masks
– Customize the subnet mask to specific network requirements - Use different subnet masks in the same classful network
– 10.0.0.0/8 is the class A network - 10.0.1.0/24 and 10.0.8.0/26 would be VLSM