Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 1996 > 9610

Figure 1: Sample files

Sample /etc/hosts segment

127.0.0.1        localhost
198.109.160.153  lees.tcimet.net
198.109.160.1    gateway.tcimet.net
198.109.160.2    dns.tcimet.net

Edit the /etc/rc.d/rc.inet1 file to enable configuration of your Ethernet connection.

# Edit for your setup.
IPADDR="198.109.160.153" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0"  # REPLACE with YOUR netmask!
NETWORK="198.109.160.0"  # REPLACE with YOUR network address!
BROADCAST="198.109.160.255" # REPLACE with YOUR broadcast address!
GATEWAY="198.109.160.1"  # REPLACE with YOUR gateway address!

# Uncomment the line below to initialize the Ethernet device.
/sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK}

# Uncomment these to set up your IP routing table.
/sbin/route add -net ${NETWORK} netmask ${NETMASK}
/sbin/route add default gw ${GATEWAY} metric 1

# End of rc.inet1

Edit /etc/resolv.conf to point to your service provider's DNS server:

domain tcimet.net
nameserver 198.109.160.2


Back to Article




MarketPlace

NEW! Numara FootPrints 9 - Service Desk Management
IT Service Management that Delivers. Real Value. Real Flexibility. Real Results. Free Demo.

Online Crash Analysis
Automatically capture customer crash data, no debugger required. Support for .NET, C++, OS X, Java.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Visit Dell� Small and Medium Business Online Store
One Stop to Buy All Your Business IT Solutions. Browse Through Dell's Best Deals Online Now!

Wanna see your ad here?