Difference between revisions of "NAD710 Lab 4 Answers"

From CDOT Wiki
Jump to: navigation, search
Line 3: Line 3:
 
'''1. Which file stores the computer's host name?'''
 
'''1. Which file stores the computer's host name?'''
 
  /etc/sysconfig/network
 
  /etc/sysconfig/network
 +
 +
'''2. Which file stores the static IP addresses ?'''
 +
/etc/sysconfig/networking/devices/ifcfg-eth1
 +
 +
'''3. Which file stores the static hostname to IP address mapping ?'''
 +
/etc/sysconfig/networking/profiles/default/hosts
 +
 +
'''4. Which file stores the DNS servers IP addresses ?'''
 +
/etc/sysconfig/networking/profiles/default/resolv.conf
 +
 +
''''5. What information is stored in /etc/sysconfig/network file ?'''
 +
This file stores information like computer's hostname.
 +
This file looks like
 +
 +
NETWORKING=yes
 +
HOSTNAME=mohak
 +
 +
 +
 +
 +
 +
 +
 +
  
 
'''7. Pick one of the following system configuration program and determine what files are being used to store the configure parameters:'''
 
'''7. Pick one of the following system configuration program and determine what files are being used to store the configure parameters:'''

Revision as of 14:36, 26 September 2008

Questions

1. Which file stores the computer's host name?

/etc/sysconfig/network

2. Which file stores the static IP addresses ?

/etc/sysconfig/networking/devices/ifcfg-eth1

3. Which file stores the static hostname to IP address mapping ?

/etc/sysconfig/networking/profiles/default/hosts

4. Which file stores the DNS servers IP addresses ?

/etc/sysconfig/networking/profiles/default/resolv.conf

'5. What information is stored in /etc/sysconfig/network file ?

This file stores information like computer's hostname.
This file looks like

NETWORKING=yes
HOSTNAME=mohak





7. Pick one of the following system configuration program and determine what files are being used to store the configure parameters:

a. system-config-firewall

  • /etc/sysconfig/iptables
  • /proc/net/ip_tables_matches
  • /proc/net/ip_tables_names
  • /proc/net/ip_tables_targets
  • please put your name here

b. system-config-printer

  • list of files here
  • your name here

c. system-config-users

  • list of files here
  • your name here

d. system-config-display

  • list of files here
  • your name here

e. system-config-services

  • list of files here
  • your name here