1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Default ip?

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by matbl, Dec 13, 2011.

  1. matbl

    matbl Member

    If there is no dhcp-server available, what ip is used on the fox t2's as default? Or doesn't it get any at all?
     
  2. fenlander

    fenlander Active Member

    Whatever your router allocates to it. While most home networks use IPs in the range 192.168.0.n, this is not universal. Best to allocate an IP manually to the Humax, or reserve a specific IP lease for it on the router.
     
  3. Black Hole

    Black Hole Ron Glum

    You can go into the set-up screen and allocate an IP address manually, but that can lead to problems if other devices on your network are allocated dynamically. However, if you say you don't have a DHCP server available I presume you are allocating IP addresses the old-fashioned way and have a note of them all - in which case there should be no problem setting up a static IP address which does not conflict.

    I used DHCP to allocate addresses to all my devices (all switched on at the same time) and then logged into the router and made them permanently allocated - so every time a device is booted it requests an IP address but always gets allocated the same one.
     
  4. matbl

    matbl Member

    Thanks for the answers. I realize my question was a bit on the newbie side as I wrote it my that wasn't my intention. Sorry if I was a bit short on background or additional description.
    But my question is still: If there is no DHCP server available and a static ip is not set, what ip, if any, will the fox t2's default to?

    Background:
    I know a lot about ip networks, so please, no more pointers to how to use dhcp etc.
    I have a swedish variant of the hdr-fox t2 called bxr-hd+. It's the same hardware and almost the same software. But this variant doesn't do any networking out of the box. There is no dhcp requests and no static ip settings menu. But the network interface is up and running as far as I can tell.

    Thanks!
     
  5. Black Hole

    Black Hole Ron Glum

    No idea - I am surprised it works at all without a manual setting or a DHCP setting.

    Don't be offended by unwanted detail, it all helps somebody.
     
  6. matbl

    matbl Member

    If there is a built-in manual setting or something like that, it would be able to work if you just could figure out the ip.

    I wasn't offended in any way, just wanted to clarify what I was asking for. :)
     
  7. af123

    af123 Administrator Staff Member

    Not a daft question, the HDR-Fox T2 at least does default to a specific address which is
    192.0.2.100

    The third octet varies depending on which interface. IIRC wireless gets .101

    On this model you can copy the databases to USB using the hidden settings menu - the default IP addresses are in the settings database.

    Code:
    NetRange:       192.0.2.0 - 192.0.2.255
    CIDR:           192.0.2.0/24
    OriginAS:
    NetName:        TEST-NET-1
    NetHandle:      NET-192-0-2-0-1
    Parent:         NET-192-0-0-0-0
    NetType:        IANA Special Use
    Comment:        This block is reserved for use in documentation.
    Comment:        It was assigned in the Informational document,
    Comment:        RFC 1166, which was updated by the Informational
    
     
  8. matbl

    matbl Member

    Thanks!
    192.0.2.x wasn't exactly the first net that I would have tried... Bad bad humax to use the documentation net as default... ;)

    And thanks for the idea about the databases. I can do the same on my box... :)
     
  9. Black Hole

    Black Hole Ron Glum

    It might just as well not "work" - nothing else will talk to it because it will be on the wrong sub-net. I'm guessing the "unconfigured" state is for factory testing.
     
  10. matbl

    matbl Member

    It's just a matter of configuring something on the same subnet.
    And if it's for factory testing or service or something, that means there's a way in... ;)
     
  11. Black Hole

    Black Hole Ron Glum

    Not necessarily, you could production-test the Ethernet by pinging it without there being a login behind it.

    Subnet - yes, I agree, but in general it's of no use to default to 192.0.x.x, and it is as well that it doesn't default to anything that might be in use on the network. That you can configure any subnet you like makes you a "test environment".
     
  12. matbl

    matbl Member

    All true. :)
     
  13. Black Hole

    Black Hole Ron Glum

    Do you mean the fourth octet, or does one discount the initial "192" for some reason?

    How did you work out 192.0.2.100 from that dump?
     
  14. af123

    af123 Administrator Staff Member

    Yes, fourth; I'd usually write 'last octet', I wonder why I didn't?

    I wrote a Jim script to extract the data from the database - it's packed in there. Happy to post it later if it's of any use.
     
  15. matbl

    matbl Member

    No network settings in my database. Can you dump either the entire settings database or the IP-related rows?
     
  16. xyz321

    xyz321 Well-Known Member

    My box defaults to 0.0.0.0 but if you then go into the network menu with it set to DHCP and click apply it then uses an RFC 3927 link-local address (169.254.X.X).

    Edit: To clarify, in manual mode it uses the 192.0.2.100 address. In DHCP mode it can use the 169.254.X.X address if no DHCP server is available.