<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >Configuring UNIX Based Systems</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Linux IP Masquerade HOWTO" HREF="index.html"><LINK REL="UP" TITLE="Configuring the other internal to-be MASQed machines " HREF="configuring-clients.html"><LINK REL="PREVIOUS" TITLE="Configuring Windows for Workgroup 3.11" HREF="configuring-wfwg.html"><LINK REL="NEXT" TITLE="Configuring DOS using NCSA Telnet package" HREF="configuring-dos.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Linux IP Masquerade HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="configuring-wfwg.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 4. Configuring the other internal to-be MASQed machines</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="configuring-dos.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="CONFIGURING-UNIX" ></A >4.4. Configuring UNIX Based Systems</H1 ><P > <P ></P ><OL TYPE="1" ><LI ><P >If you haven't installed your network card and either re-configured the network subsystem or recompiled your kernel with the appropriate adapter driver, do so now. Descriptions to perform this task is beyond the scope of this document but are covered in the Networking HOWTO. </P ></LI ><LI ><P >Install TCP/IP networking, such as the net-tools package, if you don't have it already.</P ></LI ><LI ><P >Set <STRONG >IPADDR</STRONG > to 192.168.0.x (1 < x < 255), then set <STRONG >NETMASK</STRONG > to 255.255.255.0, <STRONG >GATEWAY</STRONG > to 192.168.0.1, and <STRONG >BROADCAST</STRONG > to 192.168.0.255. </P ><P ></P ><UL ><LI ><P >Redhat (Mandrake / TurboLinux / etc): You can edit the <TT CLASS="LITERAL" >/etc/sysconfig/network-scripts/ifcfg-eth0</TT > file, or simply do so through the Control Panel (Linuxconf). </P ></LI ><LI ><P >Slackware: You need to edit the /etc/rc.d/rc.inet1 file to configure the network subsystem. </P ></LI ><LI ><P >To Add: Debian, Suse, Caldera, etc. Please email dranch@trinnet.net if you can tell me what distro uses what files to configure the networking subsystem. </P ></LI ></UL ><P >Beyond this, most Linux distributions use significantly different network configuration mechanisms let alone other UNIXes such as SunOS, BSDi, Solaris, AIX, TruUnix, FreeBSD, etc.). Please refer to your specific UNIX documentation for more details.</P ></LI ><LI ><P >Add your domain name service (DNS) and domain search suffix in <TT CLASS="LITERAL" >/etc/resolv.conf</TT > and for the appropreiate UNIX versions, edit the /etc/nsswitch.conf file to enable DNS services.</P ></LI ><LI ><P >You may also want to update your <TT CLASS="LITERAL" >/etc/networks</TT > file depending on your version of UNIX and the system's settings.</P ></LI ><LI ><P >Restart the appropriate services, or simply restart your system.</P ></LI ><LI ><P >As an initial test, run the <TT CLASS="LITERAL" >ping</TT > command: <TT CLASS="LITERAL" >ping 192.168.0.1</TT > to test the connection to your gateway machine. (This is only an INTERNAL LAN connection test, so you might not be able to <TT CLASS="LITERAL" >ping</TT > the outside world yet.) If you don't see "replies" to your PINGs, please verify your network configuration.</P ></LI ></OL > </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="configuring-wfwg.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="configuring-dos.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Configuring Windows for Workgroup 3.11</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="configuring-clients.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Configuring DOS using NCSA Telnet package</TD ></TR ></TABLE ></DIV ></BODY ></HTML >