<br><div class="gmail_quote">On Fri, Oct 31, 2008 at 12:41 PM, Mitch Gore <span dir="ltr">&lt;<a href="mailto:mitchell.gore@gmail.com">mitchell.gore@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You need to add the following clause to your subnet declaration:<br>


<br>
use-host-decl-names true;<br>
<br>
Note that this is the exact opposite to this clause:<br>
<br>
get-lease-hostnames true;<br>
<br>
which is what you need for dynamically-added hosts, rather than static leases (I<br>
run both types). If you have one of the above set in your global parameters, put<br>
the other in your subnet clause, or vice versa, as required.<br>
<font color="#888888"><br>
--<br>
<br>
Mike Perkins<br>
<br>
_______________________________________________<br>
</font></blockquote></div><br></div>Thanks Mike.<br><br>I just figured out another way..<br><br>vi /etc/sysconfig/network<br>adding:<br>HOSTNAME=mythfe<br><br>Ill make the change to dhcp as well tho.<br><br>Mitchell<br>
</blockquote></div><br><br>Ok, so part of moving my dhcp server to my linux box was to replace my Linux router with a Cisco ASA.&nbsp; I have configured the ASA.&nbsp; All is well.&nbsp; DHCP off the server works and I can get to the internet.<br>
<br>But!&nbsp; On the server I can only access the local lan.&nbsp; DNS does not work and I cant ping IP&#39;s on the internet.&nbsp; But this box is dishing IP&#39;s to machines.&nbsp; This leads me to believe its a routing issue on the server.&nbsp; <br>
<br>Some details:<br><br>[root@mythtv ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br># nVidia Corporation MCP51 Ethernet Controller<br>DEVICE=eth0<br>BOOTPROTO=static<br>HWADDR=00:1D:60:E5:FC:BB<br>ONBOOT=yes<br>NETMASK=<a href="http://255.255.255.0">255.255.255.0</a><br>
IPADDR=<a href="http://192.168.0.202">192.168.0.202</a><br>GATEWAY=<a href="http://192.168.0.1">192.168.0.1</a><br>TYPE=Ethernet<br>USERCTL=no<br>IPV6INIT=no<br>PEERDNS=yes<br><br>[root@mythtv ~]# cat /etc/sysconfig/network<br>
NETWORKING=yes<br>NETWORKING_IPV6=no<br>HOSTNAME=mythtv<br><br>[root@mythtv ~]# cat /etc/resolv.conf <br>nameserver <a href="http://75.85.229.110">75.85.229.110</a><br>nameserver <a href="http://75.85.229.111">75.85.229.111</a><br>
<br>[root@mythtv ~]# route -n<br>Kernel IP routing table<br>Destination&nbsp;&nbsp;&nbsp;&nbsp; Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags Metric Ref&nbsp;&nbsp;&nbsp; Use Iface<br><a href="http://192.168.84.0">192.168.84.0</a>&nbsp;&nbsp;&nbsp; <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://255.255.255.0">255.255.255.0</a>&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 vmnet8<br>
<a href="http://172.16.49.0">172.16.49.0</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://255.255.255.0">255.255.255.0</a>&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 vmnet1<br><a href="http://192.168.0.0">192.168.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://255.255.255.0">255.255.255.0</a>&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br>
<a href="http://169.254.0.0">169.254.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://255.255.0.0">255.255.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp; U&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br><a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://192.168.0.1">192.168.0.1</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://0.0.0.0">0.0.0.0</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UG&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth0<br>
<br>The IP&#39;s should be:<br>default gateway (ASA) = <a href="http://192.168.0.1">192.168.0.1</a><br>Server IP: <a href="http://192.168.0.202">192.168.0.202</a><br><br>Am i missing something?<br><br>Thanks,<br>Mitchell<br>
<br><br><br><br><br><br>