2002-08-07 16:28:04 +02:00
|
|
|
|
<html>
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|
|
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
|
|
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
|
|
|
|
<title>DHCP</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
2002-08-22 23:33:54 +02:00
|
|
|
|
<body>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
|
2002-08-22 23:33:54 +02:00
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" bgcolor="#400169" height="90">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="100%">
|
|
|
|
|
<h1 align="center"><font color="#FFFFFF">DHCP</font></h1>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<h2 align="left">DHCP Server on your firewall</h2>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left">Specify the "dhcp" option on each interface to be
|
|
|
|
|
served by your server in the <a href="Documentation.htm#Interfaces">/etc/shorewall/interfaces</a>
|
2002-08-22 23:33:54 +02:00
|
|
|
|
file.</li>
|
|
|
|
|
<li>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left">When starting "dhcpd", you need to list those
|
|
|
|
|
interfaces on the run line. On a RedHat system, this is done by modifying
|
2002-08-22 23:33:54 +02:00
|
|
|
|
/etc/sysconfig/dhcpd.</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<h2 align="left">A Firewall Interface gets its IP Address via DHCP</h2>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left">Specify the "dhcp" option for this interface in
|
|
|
|
|
the <a href="Documentation.htm#Interfaces">/etc/shorewall/interfaces</a>
|
2002-08-22 23:33:54 +02:00
|
|
|
|
file.</li>
|
|
|
|
|
<li>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left">If you know that the dynamic address is always going to be
|
|
|
|
|
in the same subnet, you can specify the subnet address in the interface's
|
|
|
|
|
entry in the <a href="Documentation.htm#Interfaces">/etc/shorewall/interfaces</a>
|
2002-08-22 23:33:54 +02:00
|
|
|
|
file.</li>
|
|
|
|
|
<li>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left">If you don't know the subnet address in advance, you should
|
|
|
|
|
specify "detect" for the interface's subnet address in the <a href="Documentation.htm#Interfaces">/etc/shorewall/interfaces</a>
|
2002-08-22 23:33:54 +02:00
|
|
|
|
file and start Shorewall after the interface has started.</li>
|
|
|
|
|
<li>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left">In the event that the subnet address might change while
|
|
|
|
|
Shorewall is started, you need to arrange for a "shorewall
|
|
|
|
|
refresh" command to be executed when a new dynamic IP address gets
|
2002-08-22 23:33:54 +02:00
|
|
|
|
assigned to the interface. Check your DHCP client's documentation.</li>
|
|
|
|
|
</ul>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
<p align="left"><font size="2">Last updated 1/26/2002 - <a href="support.htm">Tom
|
|
|
|
|
Eastep</a></font></p>
|
|
|
|
|
|
|
|
|
|
<p><font face="Trebuchet MS"><a href="copyright.htm"><font size="2">Copyright</font>
|
|
|
|
|
<EFBFBD> <font size="2">2001, 2002 Thomas M. Eastep.</font></a></font></p>
|
|
|
|
|
|
2002-08-22 23:33:54 +02:00
|
|
|
|
</body>
|
2002-08-07 16:28:04 +02:00
|
|
|
|
|
|
|
|
|
</html>
|