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

Locall Domain Feature of Thibor

Discussion in 'HyperWRT Firmware' started by montyshaw, Oct 17, 2006.

  1. montyshaw

    montyshaw Network Guru Member

    I have searched this forum, but I haven't found the answer to my question, but what is the local domain feature in Thibor and what would I use it for?

    Thanks in advance
    ]Monty[
     
  2. turbo53

    turbo53 Network Guru Member

    Since Thibor contains a built-in DNS server, you can use the local domain to assign domain names to all of the devices on your home network. No need for HOSTS files. Everything that is given a static IP address will be reachable through DNS resolution. For example, suppose you have 3 devices with static IP:

    PC1 --> 192.168.1.50
    PC2 --> 192.168.1.51
    PRT1 --> 192.168.1.60

    If your domain name is HOME you can refer to these devices (within your home network) as:

    PC1.HOME
    PC2.HOME
    PRT1.HOME
     
  3. jksmurf

    jksmurf Network Guru Member

    Hi,

    I have WRT54GS x 2, 1 AP+WDS, 1 WDS, Bridging.

    I have a couple of devices assigned static IP leases and USED to be able to access them by typing e.g. http://mediamvp.lounge in a Browser Window.

    MAC Address IP Address Domain Name
    00:XX:XX:XX:XX:XX 192.168.1.200 mediamvp.lounge
    00:XX:XX:XX:XX:XX 192.168.1.201 my.notebook

    After a recent WinXP Pro reinstall, it seems I can no longer do this?
    Any tips on how to re-enable this?

    Ta!
    k.
     
  4. mstombs

    mstombs Network Guru Member

    You need to have the router defined as your dns server, and let it use dnsmasq to resolve the addresses for you. If you have your ISP DNS servers defined in you windows network tcpip properties, they will not know how to resolve those local names.
     
  5. jksmurf

    jksmurf Network Guru Member

    mstombs,

    Thanks for your reply. Could I please ask for help in defining this (and where)? I have set my Computers IP manually in WinXP TCPIP Props below, taking the Preferred and Alternate Servers DNS from the Status_Router screen. If I remove these, I lose Internet connectivity :confused:

    I defined the PC (lets call it my server) as my IP Provider ties his DSL box to a LAN Card MAC Address. I cloned the MAC address of the NIC in the Router and the net connection worked, as (I understand) the DSL box thinks it is attachiong to the NIC. I am not sure if this section is relevant but I mention it as this is why I manually set my Computers IP to 192.168.1.10, because I wasn't sure whether you could CLONE a MAC in the router AND assign an IP statically the SAME MAC of the NIC. Hope that makes sense.

    In any case I had thought that is was sufficient to have the Default gateway 192.168.1.1 as the Router would do the rest?

    Sooooooooooo ... what do I need to do :)

    Thanks!

    k.
     

    Attached Files:

  6. mstombs

    mstombs Network Guru Member

    The clone function is designed to do exactly what you want. There is no conflict as the router separates the WAN and LAN.

    The easiest way to do what you want is to give your PC a static lease in the router, and leave the PC set to auto IP and auto dns. If you do this then this PC will also be addressable from the other devices in a similar way.

    But to get it to work from where you are you just need to define the first DNS server address as that of your router 192.168.1.1.

    The router will forward the DNS requests to the real ISP DNS servers if it doesn't already know the answer.
     
  7. jksmurf

    jksmurf Network Guru Member

    OK

    Hmm..well I

    1. Added a static lease pointing to my PC's MAC (same one as I cloned)
    2. Deleted the settings on the PC and set both to Auto.

    BUT, it routes the MAC to the Static IP 192.168.1.10 with no Domain Name and sets my PC to a DHCO assigned IP 192.168.1.103 (next in DHCP list) with Domain Name I was TRYING to give it for IP address 192.168.1.10 :confused:

    That works!

    Thanks!

    k.
     
  8. mstombs

    mstombs Network Guru Member

    Glad you got it working. Seems as though the firmware is seeing a different MAC on your PC (did you change this in its advanced properties after cloning?), I used the router dhcp status display to tell me the MACs to reserve, but you may have to cut and paste via a text file.
     
  9. jksmurf

    jksmurf Network Guru Member

    What I did above to try your first suggestion was:

    1. In the Router Page http://192.168.1.1/WanMAC.asp clone my PC's NIC's MAC.
    2. In the PC's Network Settings delete all settings by choosing auto for IP and DNS
    3. In the Router Page http://192.168.1.1/sdhcpdns.asp ADD a new MAC which was the SAME MAC as (1) above and give it a domain name.

    SO I think I reserved the right MAC (the PC's MAC), but it seemed to be doing a two hop route, dynamically assigning an IP to one hop and the Static address to the second Hop (Same MAC for BOTH) and not working.

    That's when I tried your 2nd suggestion :)

    k.
     

Share This Page