Ch. 4.4 Flashcards

(35 cards)

1
Q

What command-line tools report a host’s IP configuration?

Windows vs Linux

A

ipconfig (win)
ifconfig(linux)

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

What tool verifies if a host can contact another host?

A

ping

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

What does ipconfig do? (3)

A

Displays IP Address, Subnet Mask, and Gateway for all network interfaces

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

What does ipconfig /all do?

A

(Network ID, Subnet Mask, Default Gateway)
(DHCP, DNS, MAC address, TCP/IP)

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

What does ipconfig /renew interface do?

A

Forces DHCP client to renew IP lease

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

What does ipconfig /release interface do?

A

Releases IP address from DHCP so interfaces don’t have an IP address?

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

What does ipconfig /displaydns do?

A

Shows DNS cache

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

What does ipconfig /flushdns do?

A

Clears DNS cache

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

What is ifconfig?

A

Legacy Linux command to check network configuration

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

What is ip command?

A

Updated Linux command of ifconfig

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

What does ip addr do?

A

Shows current address configuration on Linux

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

What does ip addr show dev eth0 do?

A

Reports single interface on Linux

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

What does ip link do?

A

Status of interfaces on Linux

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

What does ip -s link do?

A

Shows interface statistics on Linux

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

What does ip link set eth0 up|down do?

A

Enables/disables an interface on Linux

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

What does ip addr add|delete do?

A

Modify IP address configuration on Linux

17
Q

What is ifconfig?

Is it still in use?

What does it do?

A

Linux legacy net-tools package

No, it’s deprecated

Reports network interface configuration.

18
Q

What is net-tools?

What’s an alternative to net-tools?

A

Linux network utility package.

iproute2 package
Interfaces modern manager packages

19
Q

How do you get report on a single interface only?

A

ip addr show dev eth0

20
Q

What is ARP?

What is it used for?

A

Address Resolution Protocol

Used by hosts to determine MAC address with IP address

21
Q

Are ARP queries sent as unicasts or broadcasts?

22
Q

How do you make ARP broadcasts efficient?

A

Cache results of ARP broadcast to an ARP table

23
Q

What doe the ARP command do?

A

Functions related to ARP table cache

24
Q

What does “arp -a” do?

A

Shows ARP cache contents

25
What does "arp -s [MAC Address]" do?
Adds entry to ARP cache
26
What does "arp -d*" do?
Deletes all ARP cache.
27
What does "ip neigh" do?
Linux command Shows entries in ARP cache
28
What does ICMP stand for? What is it used for? What typically makes them?
Internet Control Message Protocol Reports errors/messages about the delivery of a packet. Unicast.
29
What is the "ping" command for?
Basic connectivity test
30
What does "Destination Host Unreachable" error mean for pings?
PC doesn't know how to get to that IP address
31
What does "No Reply (Request Timed Out.)" mean for pings?
Host is unavailable OR Cannot route a reply back to you
32
How do you set the number of packets to ping?
-c switch
33
What does ipconfig /registerdns do?
Registers the host with a DNS server
34
What does -4 or -6 do for ping commands?
Force IPv4 or IPv6 versions of the ping
35