Networking fundamentals Flashcards

1
Q

Network Config files:

/etc/hosts

A
  • always contains the localhost IP address, 127.0.0.1
  • Sometimes contains addresses of additional hosts

Sample output:

Do not remove the following line, or various programs

that require network functionality will fail.

  1. 0.0.1 localhost.localdomain localhost
  2. 168.52.10 tux.mylan.com tux
  3. 168.52.11 winxp.mylan.com winxp
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Network Config files:

/etc/resolv.conf

A
  • configures access to a DNS server

Sample output:

search mylan.com

nameserver 193.134.20.4

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

Network Config files:

/etc/nsswitch.conf

A
  • defines the order in which to contact different name services

Sample output:

[bob@tux ~] grep hosts /etc/nsswitch.conf

hosts: files dns

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

Network Config command:

ip command

A
  • assigning IP addresses to interfaces
  • for setting up routes to the Internet and to other networks
  • displaying TCP/IP configurations etcetera

eg.

ip addr show

ip route show

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

Network Config command:

ifconfig command

A
  • configure a network interface

(preferable using ip command)

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

Network checking command:

netstat command

A
  • Print network connections, routing tables, interface statistics, masquerade connections, and multi‐
    cast memberships
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Network checking command:

host command

A
  • display information on hosts or domains
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Network checking command:

ping command

A
  • check if a host is alive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Network checking command:

traceroute / tracepath command

A
  • check the route that packets follow to a network host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly