VPC 2 Flashcards
DHCP
How does DHCP start out for new hosts?
Layer 2 broadcast (frames and MAC addresses), gets Layer 3 config
DHCP
8 things DHCP gives a new host?
IP address, subnet mask, default gateway, DNS servers, DNS domain name, NTP servers, NetBios name & type
DHCP
What is AmazonProividedDNS under the covers?
Just a Route53 Resolver mapped to your VPC
DHCP
How do you have a custom domain name for hosts in your VPC?
Have to run your own DNS server (and use DHCP Options Sets to register them)
DHCP
Edit a DHCP Option Set, how does this affect current hosts?
Trick question: DHCP Option Sets are immutable
DHCP
Can you share a DHCP Options Set across multiple VPCs?
Yes
DHCP
Change DHCP Option Set assigned to a VPC. Affect on existing hosts?
YES, but only when the host does a RENEW on it’s DHCP info
DHCP
How do you set the IP mask in a DHCP Option Set?
Can’t: set based on the CIDR range of the VPC
DHCP
How do you set the default gateway in a DHCP Option set?
Can’t: it’s always the base CIDR for a subnet “+ 1”.
DHCP
How do you set the DNS servers in a DHCP Option Set?
Just click Edit…normal fields.
DHCP
Where is the default AmazonProvidedDNS on the network?
Base CIDR of the VPC “+ 2”
DHCP
Wait, AmazonProvidedDNS is on VPC+2 and not subnet+2?
Subnet+2 is reserved in every subnet, but the actual Route53 Resolver is on VPC+2