Tcp/ip On Linux Flashcards

1
Q

IP Networking requires

A

Ip address
Subnet mask
Broadcast address

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

Ip address has two parts, which are

A

Network address (the part that talks about what network the device belongs to

Host address, which tells what host the is

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

Address Class

A

A. 1-> 127
B. 128 -> 191.255
C. 192.0.0 -> end

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

Subnet masks in classes are

A

A. 255.0.0.0
B. 255.255.0.0
C. 255.255.255.0

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

Determine your ip address

A

ip address

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

ifconfig

A

shows IP addresses in use

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

host

A

Device with an ip address

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

Hostname

A

An alias for an IP adsress

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

FQDN (fully qualified domain name

A

Full domain name

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

TLD top level domain name

A

.com .net, ect

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

Domains

A

To the left of the TLD

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

Subdomain

A

To the left of the domain

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

hostname cmd

A

Prints the hostname. hostname -f prints the FQd

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

To change the hostname entirely

A

change host config

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

Host/dig

A

Use to resolve dns

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

port

A

For sepcific services to send and receive data

17
Q

Ports 1-1023

A

Preassigned ports

18
Q

DHCP server

A

Used to map hosts to ip addresses

19
Q

ping

A

Used to test for connectivity to a host

20
Q

ping -c 3

A

Sends three pings

21
Q

traceroute

A

Tries to translate ip address to dns name
Also helps you determine speed of connection at different points

22
Q

netstat -n

A

Displays a numerical list of addresses and ports

23
Q

netstat -i

A

Displays a list of network interfaces

24
Q

netstat -r

A

Displays the route table

25
Q

Netstat -p

A

Displays the PID and program used

26
Q

netstat -l

A

Displays the listening socket

27
Q

netstat -t

A

Limit to tcp

28
Q

netstat -u

A

Limit the output to UDP

29
Q

tcpdump

A

Displays packet information
-n for numerical address and ports
-A for text output
-v for verbose mode
-vvv forvery verbose mode