<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1"> <TITLE>Auto Install for Mandrakelinux</TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0 (Linux)"> <META NAME="AUTHOR" CONTENT="David Eastcott"> <META NAME="CREATED" CONTENT="20040221;10385500"> <META NAME="CHANGEDBY" CONTENT="David Eastcott"> <META NAME="CHANGED" CONTENT="20040502;8530300"> <META NAME="CLASSIFICATION" CONTENT="DrakX Auto Install Reference"> <META NAME="KEYWORDS" CONTENT="DrakX Autoinstall"> <STYLE> <!-- @page { size: 8.5in 11in; margin: 1in } P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } P.western { font-size: 10pt; font-weight: medium } P.text-body-indent-western { margin-left: 0.2in; font-size: 10pt; font-weight: medium } P.text-body-indent-cjk { margin-left: 0.2in } P.text-body-indent-ctl { margin-left: 0.2in } H1 { margin-bottom: 0.08in; page-break-before: always } H1.western { font-family: "Times" } H1.cjk { font-family: "Mincho"; font-size: 16pt } H1.ctl { font-family: "Lucidasans"; font-size: 16pt } H2 { margin-bottom: 0.08in; page-break-before: auto } H2.western { font-family: "Times"; font-style: normal } H2.cjk { font-family: "Mincho"; font-size: 14pt; font-style: italic } H2.ctl { font-size: 14pt; font-style: italic } H3 { margin-bottom: 0.08in; page-break-before: auto } H3.western { font-family: "Times" } H3.cjk { font-family: "Mincho" } H4 { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } H4.western { font-family: "Times"; font-style: normal } H4.cjk { font-family: "Mincho"; font-size: 11pt; font-style: italic } H4.ctl { font-size: 11pt; font-style: italic } TD P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TD P.western { font-size: 10pt; font-weight: medium } TH P { margin-left: 0.5in; margin-bottom: 0.08in; page-break-before: auto } TH P.western { font-size: 10pt; font-style: italic } TH P.cjk { font-style: italic } TH P.ctl { font-style: italic } P.headings-special-western { margin-top: 0.3in; margin-bottom: 0.1in; font-size: 10pt; font-weight: bold; page-break-after: avoid } P.headings-special-cjk { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.headings-special-ctl { margin-top: 0.3in; margin-bottom: 0.1in; page-break-after: avoid } P.closecode-western { margin-left: 1in; margin-bottom: 0in; font-family: "Courier", monospace; font-size: 9pt; font-weight: medium } P.closecode-cjk { margin-left: 1in; margin-bottom: 0in } P.closecode-ctl { margin-left: 1in; margin-bottom: 0in } P.coderef-western { margin-left: 1in; margin-bottom: 0.08in; font-family: "Courier", monospace; font-size: 10pt; font-weight: medium } P.coderef-cjk { margin-left: 1in; margin-bottom: 0.08in } P.coderef-ctl { margin-left: 1in; margin-bottom: 0.08in } --> </STYLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TH COLSPAN="3" ALIGN="CENTER"> Auto Install for Mandrakelinux</TH></TR><TR> <TD WIDTH="10%" ALIGN="LEFT" VALIGN="BOTTOM"> <A HREF="section9.html">Prev</A></TD><TD WIDTH="80%" ALIGN="CENTER" VALIGN="BOTTOM"></TD> <TD WIDTH="10%" ALIGN="RIGHT" VALIGN="BOTTOM"> <A HREF="section11.html">Next</A></TD></TR></TABLE><HR ALIGN="LEFT" WIDTH="100%"> <H1 CLASS="western"><A NAME="Network_and_Connection_Examples"></A>Network and Connection Examples</H1> <P CLASS="western" STYLE="margin-bottom: 0.15in">This section is being provided because there were just too many variations for the <A HREF="section4-13.html#intf"><B><I>'intf'</I></B></A> and <A HREF="#netc"><B><I>'netc'</I></B></A> options as a result of their interactions. And providing isolated examples in each section made it difficult to see their relationship to one another.</P> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=787> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic71" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=787> <P CLASS="western" STYLE="margin-left: 0.25in">For examples using DHCP, if the DHCP server does not provide all the necessary information, then just add the missing parts (to <A HREF="section4-21.html#netc"><B><I>netc</I></B></A>) yourself.</P> </TD> </TR> </TABLE> <H2 CLASS="western"><A NAME="Single_Interface_Connections_to_a_LAN_or_Internet"></A> Single Interface Connections to a LAN or Internet</H2> <P CLASS="headings-special-western">Static IP: </P> <P CLASS="western" STYLE="margin-bottom: 0.15in">Generally, this form is use on LANs and the information is provided by your system administrator :</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'intf' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth0' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'static',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'IPADDR' => '192.168.5.210',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETMASK' => '255.255.255.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORK' => '192.168.5.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BROADCAST' => '192.168.5.255',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'netc' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORKING' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'FORWARD_IPV4' => 'false',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'HOSTNAME' => 'linux-dev.eastcott.net',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'DOMAINNAME' => 'eastcott.net',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'GATEWAY' => '192.168.5.254',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'GATEWAYDEV' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'dnsServer' => '192.168.5.254'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><B>DHCP IP: </B> </P> <P CLASS="western" STYLE="margin-bottom: 0.15in">This minimal form is used when the DHCP server provides all the information that you require. Generally, the server dispenses IP information based on your cards ethernet hardware address and name resolution is provided by static DNS server tables:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'intf' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth0' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'dhcp',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'netc' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORKING' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'DHCP' => 1,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'FORWARD_IPV4' => 'false',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">DHCP IP: </P> <P CLASS="western" STYLE="margin-bottom: 0.15in">This is the next level, where the DHCP server needs you to supply a host name, typically so it can dynamically update a DNS server:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'intf' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth0' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'dhcp',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DHCP_HOSTNAME' => 'CS167266-A',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'netc' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORKING' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'DHCP' => 1,</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'FORWARD_IPV4' => 'false',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <H2 CLASS="western"><A NAME="Multiple_Interface_Connections"></A>Multiple Interface Connections</H2> <P CLASS="headings-special-western" STYLE="margin-bottom: 0.15in">Local LAN and Cable Access to Internet:</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'intf' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth0' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'dhcp',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DHCP_HOSTNAME' => 'CS167266-A',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth1' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth1',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'static',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'IPADDR' => '192.168.5.202',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETMASK' => '255.255.255.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORK' => '192.168.5.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BROADCAST' => '192.168.5.255',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'netc' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORKING' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'dhcp_client' => 'dhcpcd',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'FORWARD_IPV4' => 'false',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'HOSTNAME' => 'linux2.eastcott.net',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'DOMAINNAME' => 'eastcott.net',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'GATEWAYDEV' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'dnsServer' => '192.168.5.253',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt"># Since I have an interface using DHCP and one using static (my internal world),</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt"># I do not want resolv.conf adjusted, nor ntp.conf, and nor have the domain name changed</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt"># Also, dhcpcd has a default 60 second timeout that I want to change to 15 seconds</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">#</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"> <FONT SIZE=1 STYLE="font-size: 8pt">'postInstall' => '</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">echo "PEERDNS=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">echo "PEERNTPD=no" >> /etc/sysconfig/network-scripts/ifcfg-eth0</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">echo "DOMAINNAME=eastcott.net" >> /etc/sysconfig/network</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">echo "DHCP_TIMEOUT=15" >> /etc/sysconfig/network-scripts/ifcfg-eth0</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'</FONT></P> </TD> </TR> </TABLE> <P CLASS="headings-special-western">Dual Lan:</P> <P CLASS="western"> (multiple is just more <A HREF="section4-13.html#intf"><B><I>intf</I></B></A> definitions)</P> <TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=256*> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'intf' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth0' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'static',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'IPADDR' => '192.168.1.2',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETMASK' => '255.255.255.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORK' => '192.168.1.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BROADCAST' => '192.168.1.255',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'eth1' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'DEVICE' => 'eth1',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BOOTPROTO' => 'static',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'ONBOOT' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'IPADDR' => '192.168.5.202',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETMASK' => '255.255.255.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORK' => '192.168.5.0',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'BROADCAST' => '192.168.5.255',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.4in"><FONT SIZE=1 STYLE="font-size: 8pt">'MII_NOT_SUPPORTED' => 'yes'</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">}</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><BR> </P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">'netc' => {</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'NETWORKING' => 'yes',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'FORWARD_IPV4' => 'false',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'HOSTNAME' => 'linux3.eastcott.net',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'DOMAINNAME' => 'eastcott.net',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'GATEWAY' => '192.168.5.253',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'GATEWAYDEV' => 'eth1',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western" STYLE="margin-left: 1.2in"><FONT SIZE=1 STYLE="font-size: 8pt">'dnsServer' => '192.168.5.253',</FONT></P> </TD> </TR> <TR> <TD WIDTH=100% VALIGN=TOP BGCOLOR="#e6e6e6"> <P CLASS="closecode-western"><FONT SIZE=1 STYLE="font-size: 8pt">},</FONT></P> </TD> </TR> </TABLE> <TABLE WIDTH=847 BORDER=0 CELLPADDING=0 CELLSPACING=0> <COL WIDTH=60> <COL WIDTH=787> <TR VALIGN=TOP> <TD WIDTH=60> <P CLASS="western" STYLE="margin-left: 0in"><IMG SRC="AutoInstall-10.0.3_html_1412bb95.png" NAME="Graphic72" ALIGN=LEFT WIDTH=30 HEIGHT=30 BORDER=0><BR CLEAR=LEFT><BR> </P> </TD> <TD WIDTH=787> <P CLASS="western" STYLE="margin-left: 0.25in">If this computer is acting as a bridge between the two networks, then you need to change <FONT FACE="Courier, monospace">FORWARD_IPV4</FONT> to true.</P> </TD> </TR> </TABLE> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western" STYLE="page-break-before: always"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <P CLASS="western"><BR><BR> </P> <HR ALIGN="LEFT" WIDTH="100%"> <TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP"><A HREF="section9.html">Prev</A></TD><TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"><A HREF="index.html">Home</A></TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP"><A HREF="section11.html">Next</A></TD></TR> <TR><TD WIDTH="33%" ALIGN="LEFT" VALIGN="TOP">Setting up a Simple NFS Server</TD> <TD WIDTH="34%" ALIGN="CENTER" VALIGN="TOP"> </TD> <TD WIDTH="33%" ALIGN="RIGHT" VALIGN="TOP">Problems and Issues</TD></TR></TABLE> </BODY> </HTML>