Linux Command Syntax Reference Guide | Free Download Links

Sunday, February 8, 2009

Network Configuration Files

IP address, Network mask, Default gateway are in these files. May edit manually to
modify network parameters.
  • /etc/rc.d/rc.inet1
  • (Slackware)
  • /etc/sysconfig/neworkscripts/
  • ifcfg-eth0 (Redhat)

hostname is set by “/bin/hostname” during boot and the name is read from these files.
  • /etc/HOSTNAME
  • /etc/NETWORKING
  • (Slackware)

May change manually.
  • /etc/sysconfig/network (Redhat)

specify name server, DNS domain and search order.
For Example: search la.asu.edu
nameserver 129.219.17.200
  • etc/resolv.conf

host name to IP mapping file.host name information look up order.
Example: order hosts, bind multi on
  • /etc/hosts
  • /etc/host.conf

new way to specify information source.
  • /etc/nsswitch.conf

TCP/IP services and ports mapping.
  • /etc/networks
  • /etc/protocols
  • /etc/services

RPC service name to their program numbers mapping.
  • /etc/rpc

No comments:

Post a Comment

Followers