Ch. 4.2 Flashcards

1
Q

What 2 pieces of information does an IP address provide?

A

Network ID and Host ID

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

How many bits are in IPv4 Addressing?

A

32 bits

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

What is a subnet mask used for?

A

Showing Network ID vs Host ID

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

What is this binary octet the decimal equivalent of?

11100000

A

224

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

What is this binary octet the decimal equivalent of?

11111000

A

248

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

What is a destination gateway?

A

Acts as an exit point for data packets off the “data highway”

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

What does a router do if a data packet is meant for a different IP network or subnet?

A

Sends the data packet to the default gateway

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

What happens if a router finds no suitable path for a data packet?

A

Drops it. Tells host it cannot be delivered

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

What does the dynamic routing protocol do?

A

Allows routers to share information of known networks and possible paths to them

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

What convention do we set a default gateway’s interface ID to?

A

First or last usable host address

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

What is a characteristic of a broadcast address?

A

All available spots are set to “1”

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

What are 4 things a host adapter typically has to be set up.

A

IP Address
Subnet Mask
IP Address of Default Gateway
Addresses in a DNS server

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

What was the previous name of Ethernet?

A

LAN

Local Area Network

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

What does command “netsh” allow you to do?

A

Configure IP configurations of adapter interfaces

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

What does this command do?

netsh interface ip set address Ethernet dhcp

A

Set network adapter named “Ethernet” to enable DHCP

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

What does this command do?

netsh interface ip set address “Ethernet” static 198.51.16.17 255.255.255.252 198.51.100.30

A

Sets host adapter named “Ethernet” with IP address 198.51.16.17/28

The “ 255.255.255.252” part sets the subnet mask

The “198.51.100.30” part sets what the default gateway will be for host adapter named “Ethernet”

17
Q

What does this command do?

netsh interface ip show config

A

Reports IP Configuration

18
Q

What is used more than netsh now?

A

Powershell

19
Q

What does this command do?

Get-NetAdapter
Get-NetIPAddress

A

Query existing configuration

20
Q

What does this command do?

New-NetIPAddress

A

Sets NEW configuration

21
Q

What does this command do?

Set-NetIPAddress

A

Sets EXISTING configuration

22
Q

What does YAML mean?

A

Yet another markup language

23
Q

In Linux, how are Ethernet interfaces identified?

A

eth0, 1, 2

en0, 1, 2

24
Q

What is the difference between running and persistent configuration?

A

Persistent config is configuration that’s applied after reboot

Running is what’s being used right now

25
Q

How was persistent configuration applied long ago in Linux?

A

Editing the “/etc/network/interfaces” file with “ifup” and “ifdown” scripts

26
Q

What do Linux distributions use to apply IP configurations now?

How are they used?

A

NetworkManager package

Used by GUI or nmcli tools

27
Q

What does newer Ubuntu use to configure IP?

A

netplan to written in YAML