[mythtv-users] Static IP vs. DHCP

Chad masterclc at gmail.com
Wed Dec 26 18:07:20 UTC 2007


On Dec 26, 2007 10:57 AM, Torfinn Ingolfsen <tingox at gmail.com> wrote:
> Hello,
>
>
> On Dec 26, 2007 5:29 PM, Chad <masterclc at gmail.com> wrote:
> > You can assign a static IP via DHCP to a machine based on it's MAC
> > address.  If you are using ISC dhcp something like:
> > host hostname {
> > hardware ethernet aa.bb.cc.dd.ee.ff;
> > fixed-address 192.168.1.90;
> > }
> >
>
> And if for some reason you don't want to use the MAC address you can use
> this approach with some dhcp servers
> (at least isc-dhcp):
>
>   host machineA.example.org {
>         option dhcp-client-identifier "machineA.example.org";
>         fixed-address 10.2.1.6;
>   }
>
>  And then you put
> send dhcp-client-identifier "machineA.example.org";
> in your dhclient.conf file on machineA.
> --
> Regards,
> Torfinn Ingolfsen

That's pretty sweet, thanks!  Any idea on how that would work across
platforms (Apple, Windows XP, Windows Mobile, Blackberry)?  It would
seem a better way than trying to figure out the MAC on various systems
if it's widely available/changeable.

-Chad


More information about the mythtv-users mailing list