[mythtv-users] Questions on PXE booting a frontend

Jelte Veldstra jelte.veldstra at gmail.com
Mon Aug 3 11:37:11 UTC 2009


>
> > 2. Can the DHCP service in a home router and a Linux DHCP/PXE server
> > coexist on the same network?  I would prefer the home router to handle
> > most DHCP requests and the Linux server to handle just the PXE-related
> > requests for this frontend, so that e.g. my wife doesn't lose DHCP for
> > her laptop computer when the Linux server is down.
>
>
Even though with bad configuration they can cause a lot of confusion and
disruption it can be done safely. My router is handing out IPs using dhcp,
but cannot parse the PXE options. On my MythTV backend I have setup a dhcp
server that does not assign IPs except for a list of mac addresses it knows.
The following works for me (obfuscated domainnames and IPs):

#
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample
#

# option definitions common to all supported networks...
option domain-name "somedomain.net";
option domain-name-servers 192.168.1.254;
option routers 192.168.1.253;
option ntp-servers 192.168.1.2;
option tcode code 101 = text;
option tcode "Europe/Amsterdam";

subnet 192.168.1.0 netmask 255.255.255.0 {
}

default-lease-time 600;
max-lease-time 7200;

ddns-update-style none;

# Required by MiniMyth
use-host-decl-names on;

host epia {
  hardware ethernet 30:40:50:60:70:80;
  fixed-address epia.somedomain.net;
  filename "pxelinux.0";
  server-name "mythbackend.somedomain.net";
  next-server 192.168.1.2;
}



The list of host declarations can be expanded as needed. I would not
reccommend this setup as running two instances can easily cause trouble, but
it works for me and I can safely have my Mythbackend go offline while
letting my laptop go online based on the info provided by the router's dhcp
server.

Regards,


Jelte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090803/07472173/attachment.htm>


More information about the mythtv-users mailing list