CompTIA Network+ N10-006 - 1.3 Flashcards

1
Q

DHCP Address Allocation

A

+ Dynamic allocation

  • DHCP server has a big pool of IP addresses to give out.
  • Address are reclaimed after a lease period.

+ Automatic allocation

  • Similar to dynamic allocation
  • DHCP server keeps a list of past assignments
  • You’ll always get the same IP address

+ Static allocation
- Administratively configured

+ Table of MAC addresses
- Each MAC address has a matching IP address

+ Other names

  • Static HDCP Assignment
  • Static DHCP
  • Address Reservation
  • IP Reservation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

DHCP Scopes

A

+ Grouping of IP addresses

  • Each subnet has its own scope
  • 192.168.1.0/24
  • 192.168.2.0/24
  • 192.168.3.0/24

+ A scope is generally a single contiguous pool of IP addresses
- DHCP exceptions can be made inside of the scope.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Scope Properties

A

+ IP address range

+ Subnet mask

+ Lease durations

+ Other scope options

  • DNS server
  • Default gateway
  • Windows server - configure all scopes subnet on the network.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DHCP leases

A

+ Leasing your address

  • It’s only temporary
  • But it can seem permanent

+ Allocation

  • Assigned a lease time by the DHCP server
  • Administratively configured

+ Reallocation

  • Reboot your computer
  • Confirms the lease

+ Workstation can also manually release the IP address
- Moving to another subnet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DHCP renewal

A

+ T1 timer

- Check in with the lending DHCP server to renew the IP address    - 50% of the lease time (by default)

+ T2 timer

  • If the original DHCP server is down, try rebinding with any DHCP server.
  • 87.5% of the lease time (7/8ths)

i.e.

Lease Time: 8 days
Renewal Timer (T1): 4 days (50%)
Reminding Timer (T2): 7 days (87.5%)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DHCP options

A

+ A special field in the DHCP message
- Many, many options

+ Options are part of the DHCP RFC
- BOOTP called them “vendor extensions”

+ 256 (254 usable) options

  • 0 through 255
  • 0 is pad, 255 is end

+ Many common options
- Subnet mask, domain name server, domain name, etc.

+ Options are configured on the DHCP server
- Not all DHCP servers support option configuration

+ Options have been added through the years

  • Option 120: Call Server IP address
  • option 135: HTTP Proxy for phone-specific applications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Domain Name System

A

+ Translates human-readable names into computer-readable IP addresses
- You only need to remember www.ProfessorMesser.com, google.com, Netflix.com

+ Hierarchical
- Follow the path

+ Distributed database

  • Many DNS servers
  • 13 root server clusters
  • Hundreds of generic top-level domains (gTLDs) - .com, .org, .net, etc.
  • Over 275 country code top-level domains (ccTLDs) - .us, .ca, .uk, etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

FQDN (Fully Qualified Domain Name)

A

All the devices below the hierarchy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

DNS process

A

Resolver -> Local Name Server Root Server

Results are now cached

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DNS records

A

+ Resource Records (RR)
- The database records of domain name services

+ Over 30 record types
- IP addresses, certificates, host alias names, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Address records (A) (AAAA)

A

+ Defines the IP address of a host
- This is most queries

+ A records are for IPv4 addresses
- Modify the A record to change the host name to IP address resolution

+ AAAA (Quad A) records are for IPv6 addresses
- The same DNS server, different records

Www.professormesser.com. IN A 162.159.246.164 ; Professor Messer

                                                   ^ (an A record)

IN = Internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Canonical name records (CNAME)

A

• A name is an alias of another, canonical name
– One physical server, multiple services

; Alias (canonical) names
Gopher IN CNAME mail.mydomain.name.
Ftp. IN CNAME mail.mydomain.name.
Www. IN CNAME mail.mydomain.name.

IN = Internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Mail exchanger record (MX)

A

• Determine the host name for the mail server

– This isn’t an IP address; it’s a name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Pointer record (PTR)

A

• The reverse of an A or AAAA record
– Added to a reverse map zone file

PTR = pointer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Dynamic DNS updating

A

• Dynamic DNS Update (DDNS)
– Update name server records with a secure, automated process

• DHCP means that address change all the time
–End-stations inform the DNS server of their IP address

• Part of Windows Active Directory
– Domain controllers register in DNS
– Allows other computers in the domain to find the AD servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Dynamic DNS services

A

• Designed for SOHO dynamic IP addresses
– IP addresses are dynamically assigned by the ISP

• DDNS built into many SOHO routers
– Access your services from the internet

17
Q

Proxy servers

A

• An intermediate server
– Client makes the request to the proxy
– The proxy performs the actual request
–The proxy provides results back to the client

• Useful features
–Access control, caching, URL filtering, content scanning

18
Q

Forward proxy

A

[Internal Network] (User Proxy)

Then…

To internet

19
Q

Reverse Proxy

A

You’re on the internet and need to connect to web server, send request to web server, web server responds to proxy, proxy responds to internet (me)

20
Q

Open Proxy

A

Internet to proxy to internet

In order to remain anonymous. No IP address will be traced back.
S

21
Q

Network Address Translation (NAT)

A

• IP address
– Your computer’s virtual location on the network

• Port number
– The services living inside of you computer

• You sometimes need to change this address and/or port
– Everyone needs to share one P address to the outside world
• Source NAT / PAT (Port Address Translation)
– Incoming requests need to redirected to a different IP address
• Destination NAT

• NAT generally includes both IP address and port number
– But it doesn’t have to

22
Q

Destination NAT (DNAT)

A

• 24x7 access to a service hosted internally
– Web server, gaming server, etc.

• External IP/port number maps to an internal IP/port
– Does not have to be the same port number

• Also called port forwarding
– Destination address is translated from a public IP to a private IP
– Does not expire or timeout
• A static NAT