11 - Basic Network Services Flashcards

1
Q

What are the three methods of NAT?

A

One-to-One mapping or static nat
Many-to-Many mapping or dynamic nat
Many-to-One mapping o PAT

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

What is a local address as it pertains to NAT?

A

source or destination ip address as seen from the perspective of a host on the inside network

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

What is a global address as it pertains to NAT?

A

source or destination ip address as seen from the perspective of a host on the outside network

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

What is an inside local address?

A

ip address that represents an internal host to the inside network

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

What is an inside global address?

A

ip address that represents an internal host to the outside network

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

What is an outside global address?

A

ip address that represents an external host to the outside network

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

What is an outside local address?

A

ip address that represents an external host to the inside network

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

What is another name for NAT many-to-one mapping?

A

nat overloading

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

Do dynamic NAT mappings expire after a period of inactivity?

A

Yes

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

How does port address translation NAT work?

A

layer four port number to identify each address mapping

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

What command is used to configure NAT on the interface level?

A

ip nat inside

ip nat outside

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

What is the command to configure static NAT?

A

ip nat inside source static 192.168.1.11 2.2.2.2

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

What command is used to verify your NAT translations?

A

sh ip nat translations

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

what is the command to configure dynamic NAT?

A

ip nat pool NATPOOL 2.2.2.2 2.2.2.14
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 pool NATPOOL

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

What is the command to configure PAT?

A

access-list 1 permit 192.168.1.0 0.0.0.255

ip nat inside source list 1 interface fa0/0 overload

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

What port does DNS clients use for dns queries?

A

UDP 53 mainly

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

Does DNS use tcp?

A

Yes, when the query is larger than 512 bytes

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

What command is used on a router to translate dns hostnames into ip addresses?

A

ip domain lookup

you can use no ip domain lookup to prevent the cisco device from trying to translate a hostname on a mistyped word

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

What command is used on a router to configure your dns servers on a dns client device?

A

ip name-server 10.249.83.51

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

What is the command to enable a dns server on a cisco device?

A

ip dns server

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

What are the three different allocation methods defined by DHCP?

A

dynamic allocation
automatic allocation
manual allocation

22
Q

What is dynamic allocation in DHCP?

A

assigns the host the next available ip address from the pool

23
Q

What is automatic allocation in DHCP?

A

permanently assigns the same ip address to the same client

24
Q

What is manual allocation in DHCP?

A

admin creates the hostname to address mapping

25
Q

Describe the process when a client computer requests an ip address.

A
  1. client sends dhcpdiscover via broadcast
  2. server sends dhcpoffer via unicast
  3. client sends dhcprequest via broadcast
  4. server sends dhcpack via unicast
26
Q

What is a dhcp discover message?

A

it is a broadcast packet that is sent by the client to locate a dhcp server

27
Q

What is a dhcp offer message?

A

it is a unicast packet that is sent by the server containing the ip address, subnet mask, gateway and dns

28
Q

What is a dhcp request message?

A

it is a broadcast packet that is sent by the client so that other dhcp servers can re-allocate the ip address offered to the client

29
Q

What packet can be sent to reject the dhcpoffer from a server?

A

dhcpdecline broadcast packet

30
Q

What is a dhcp achnowledgement message?

A

it is a unicast packet that is sent by the server that confirms that the ip address has been officially assigned to the client

31
Q

What is the command to configure an interface as a dhcp client?

A

ip address dhcp

32
Q

What is the command to configure a router to act as a dhcp relay?

A

ip helper-address 10.10.10.1

33
Q

What command is used on an interface to obtain extra information from a dhcpv6 server?

A

ipv6 address autoconfig

34
Q

What command is used to assign itself a global unicast ipv6 address using slaac?

A

ipv6 address autoconfig

35
Q

What ipv6 command enables the stateless address configuration of an interface and inserts a default route using a specified default device?

A

ipv6 address autoconfig default

36
Q

What is the command for an interface to be configured with an ipv6 stateful address?

A

ipv6 address dhcp

37
Q

what command is used in ipv6 to send nonaddress information to clients?

A

ipv6 nd other-config-flag

38
Q

What command do you use to view dhcp conflicts?

A

sh ip dhcp conflict

39
Q

What command do you use to view the addresses that have been leased by clients?

A

sh ip dhcp binding

40
Q

What command is used to remove a dhcp binding?

A

clear ip dhcp binding 10.10.10.10
or
clear ip dhcp binding *

41
Q

What is used to determine the authority of an NTP server?

A

its stratum

42
Q

What is a stratum 1 server?

A

one that connects to an atomic clock or gps unit

43
Q

Is ntp enabled by default on cisco devices?

A

no

44
Q

What is the command to enable ntp on a cisco device?

A

ntp server 10.249.83.230

45
Q

How is time formatted with ntp by default?

A

UTC or coordinated universal time

46
Q

What command can be used to adjust the time on a cisco device to match the local timezone?

A

clock timezone CST -6

47
Q

What is the default stratum number of the ntp master command?

A

stratum 8

48
Q

Why would you use the ntp master command?

A

If there is no network time source or external time source available. it will allow the device to use its internal clock

49
Q

What commands can be used to verifiy ntp?

A

sh ntp associations or

sh ntp status

50
Q

What command is used for the cisco device to use its internal clock for ntp?

A

ntp master (with no stratum number)