[mythtv-users] HDHomeRun and static network
Mike Perkins
mikep at randomtraveller.org.uk
Fri Jan 2 12:34:02 UTC 2009
Mike Perkins wrote:
> scram69 wrote:
>> On Tue, Dec 30, 2008 at 6:31 AM, Desktopj <desktop at theboatexchange.com> wrote:
>>
>>> Yes. Use a MS Windows default ip address on your mythtv box. hdhr will
>>> see your mythtv ip, and assign an suitable address to itself.
>>>
>>> My mythtv ip setup - 169.254.1.10/255.255.1.0 broadcast 169.254.1.255
>>> set your gateway and dns servers
>>> according to your internet connection. You may have
>>> to change your gateway ip.
>> Could I do this with a second dedicated NIC for the HDHR? i.e. my LAN
>> connection is on eth0, so set up eth1 as:
>>
>> iface eth1 inet static
>> address 169.254.1.10
>> netmask 255.255.1.0
>> boradcast 169.254.1.255
>>
>> auto eth1
>>
> That netmask definitely looks wrong. if you write it down as a bit field, you
> should have all ones from the left-hand side, this defines the part if the IP
> address which is your network address. The zeroed part to the right of this are
> used for addressing each item of your equipment.
>
> 255.255.1.0 = 11111111 11111111 00000001 00000000 = not good.
>
> 255.255.0.0 = 11111111 11111111 00000000 00000000 = good,
>
> as per RFC 3927, which explains all this 169.254.x.x nonsense,
> http://www.faqs.org/rfcs/rfc3927.html
>
Gah. Also means the broadcast address should be 169.254.255.255 in all cases.
If *Windows* machines are setting up these garbled non-standard addresses, how
in $DIETY's name does anything ever connect to them?
Answer: if you have a Windows machine with a 169.254.x.x address your Ethernet
configuration is b0rked in the first place, it needs fixing.
--
Mike Perkins
More information about the mythtv-users
mailing list