[mythtv-users] Diskless DHCPd

Mitch Gore mitchell.gore at gmail.com
Fri Oct 31 20:27:58 UTC 2008


On Fri, Oct 31, 2008 at 12:41 PM, Mitch Gore <mitchell.gore at gmail.com>wrote:

> You need to add the following clause to your subnet declaration:
>>
>> use-host-decl-names true;
>>
>> Note that this is the exact opposite to this clause:
>>
>> get-lease-hostnames true;
>>
>> which is what you need for dynamically-added hosts, rather than static
>> leases (I
>> run both types). If you have one of the above set in your global
>> parameters, put
>> the other in your subnet clause, or vice versa, as required.
>>
>> --
>>
>> Mike Perkins
>>
>> _______________________________________________
>>
>
> Thanks Mike.
>
> I just figured out another way..
>
> vi /etc/sysconfig/network
> adding:
> HOSTNAME=mythfe
>
> Ill make the change to dhcp as well tho.
>
> Mitchell
>


Ok, so part of moving my dhcp server to my linux box was to replace my Linux
router with a Cisco ASA.  I have configured the ASA.  All is well.  DHCP off
the server works and I can get to the internet.

But!  On the server I can only access the local lan.  DNS does not work and
I cant ping IP's on the internet.  But this box is dishing IP's to
machines.  This leads me to believe its a routing issue on the server.

Some details:

[root at mythtv ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# nVidia Corporation MCP51 Ethernet Controller
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:1D:60:E5:FC:BB
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=192.168.0.202
GATEWAY=192.168.0.1
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

[root at mythtv ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=mythtv

[root at mythtv ~]# cat /etc/resolv.conf
nameserver 75.85.229.110
nameserver 75.85.229.111

[root at mythtv ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.84.0    0.0.0.0         255.255.255.0   U     0      0        0
vmnet8
172.16.49.0     0.0.0.0         255.255.255.0   U     0      0        0
vmnet1
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

The IP's should be:
default gateway (ASA) = 192.168.0.1
Server IP: 192.168.0.202

Am i missing something?

Thanks,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081031/79ce423c/attachment.htm 


More information about the mythtv-users mailing list