Ch. 4.4 Flashcards

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?

A

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
Q

What does “arp -s [MAC Address]” do?

A

Adds entry to ARP cache

26
Q

What does “arp -d*” do?

A

Deletes all ARP cache.

27
Q

What does “ip neigh” do?

A

Linux command
Shows entries in ARP cache

28
Q

What does ICMP stand for?

What is it used for?

What typically makes them?

A

Internet Control Message Protocol

Reports errors/messages about the delivery of a packet.

Unicast.

29
Q

What is the “ping” command for?

A

Basic connectivity test

30
Q

What does “Destination Host Unreachable” error mean for pings?

A

PC doesn’t know how to get to that IP address

31
Q

What does “No Reply (Request Timed Out.)” mean for pings?

A

Host is unavailable

OR

Cannot route a reply back to you

32
Q

How do you set the number of packets to ping?

33
Q

What does ipconfig /registerdns do?

A

Registers the host with a DNS server

34
Q

What does -4 or -6 do for ping commands?

A

Force IPv4 or IPv6 versions of the ping