Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Newbie
    Join Date
    Apr 2019
    Posts
    6

    Post Resolving MAC address of Clients

    Hello Fellow Untanglers,

    Well, I am stumped and I am reaching out on the forum for the first time.

    Most things are working great with my new install and its doing its job, but I still have some small issues with hostname lookups in my config.

    Utangle is not able to resolve MAC address of anything our DHCP server leases to clients. Untangle sees them, and they resolve Untangle, block pages,. and Captive Portal without a hitch, but NO HOSTS show in console except the switching gear on a 10.1.10.x lan. Clients are on 10.1.40.x, DNS/DHCP comes from 10.1.30.3 (DNS Server) All Client are DHCP based, no Static ones.

    Basically the hostnames of the client on the network are not shown in the Untangle interface and that is something we really want working.

    Everything else works great, but Hostname/MAC address of clients would allow us to utulise the bandwidth control functions.

    Anyone out there that can help?

    Thanks
    Tim

  2. #2
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    23,174

    Default

    Sounds to me like it's working as intended.

    If you have a router behind Untangle performing NAT, Untangle will only see that singular IP address, if you want it to see all of the rest of them, you need to configure that router to stop performing NAT. This will likely immediately break Internet connectivity. To restore connectivity you need to put a static route in Untangle for any network beyond the router behind Untangle.

    And once all that's working, you'll still not be able to see the MAC addresses of anything in those remote segments. Why? Ethernet 101 that's why! MAC addresses are layer 2, and they do not persist past the first layer 3 division. That is to say, that information doesn't make it past the first router! That's how it works, that's how it's always worked! This is why it's recommended to control devices with IP addresses, MAC addresses are useless in a larger network. IP addresses will go as far as where you put NAT, so you've always got those.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  3. #3
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,713

    Default

    Do you mean they all appear as one host? If so, that host is probably doing NAT and you'll need to disable that as sky-knight explained.

    If you just mean the hostnames aren't resolving for DHCP hosts, thats also expected because Untangle is not the DHCP server and thus can't derive hostnames from the DHCP request. You may possibly be able to point reverse DNS to your DHCP server if it supports DNS and have Untangle resolve hostnames via DNS to your DHCP server.

    http://wiki.untangle.com/index.php/DNS_Server

    1.10.in-addr.arpa -> your dhcp server ip
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  4. #4
    Newbie
    Join Date
    Apr 2019
    Posts
    6

    Default

    Hi Dmorris,

    Yes, that's pretty much it...hostnames aren't resolving for DHCP hosts, and DHCP/DNS is on another server, in a different IP than Untangle

    This is what I have now

    DHCP/DNS are 10.1.30.3 and 10.1.30.7
    untangle IP is 10.1.10.14
    Switches are all on 10.1.10.x
    Servers are all on 10.1.30.x
    Clients all get IP lease of 10.1.40.100-10.1.63.253, DG of 10.1.47.254 (Core) and DNS of 10.1.30.3 + 10.1.30.7

    Client IP_NO MAC address or Hostnames.JPG
    Domain DNS.JPG
    routes.JPG

  5. #5
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    23,174

    Default

    As Dmorris pointed out, if you want Untangle to resolve hostnames from IP addresses, that's what reverse DNS is for. You need a DNS server that does that work, and you need to use the domain DNS server feature to aim Untangle at it. He even gave you the example for it.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  6. #6
    Newbie
    Join Date
    Apr 2019
    Posts
    6

    Default

    Hi Sky night, I tried that and nothing working, no resolves

    Any other ideas?

    Is is likely anything to do with the switchport.

    Testing using traceroute is succesful using the troubleshooting tools, and DNS Lookup also resolves the hostnames from the troubleshooting section

    But I still only see IP, no hostnames or MAC address

    ?

  7. #7
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    23,174

    Default

    As I said before you will never see MAC addresses past a layer 3 barrier, so that's normal.

    For the rest, you need to correctly input the zone and forward it to a DNS server that will resolve the reverse queries. Once you do, the names will resolve. The question becomes, what DNS server is handling that reverse zone?
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  8. #8
    Newbie
    Join Date
    Apr 2019
    Posts
    6

    Default

    @sky-knight, Ok, I understand MAC addresses are never gonna through - got it, and that is good to know too, thanks

    As for the DNS, I really cant figure this out.

    I have two DHCP/DNS Servers, one primary, one sec (failover, both W2012R2 x64)

    Server 1, 10.1.30.3, DHCP/DNS Primary
    Server 2, 10.1.30.7, DHCP/DNS Sec (Failover)

    I have pointed Untangle Domain DNS to those two servers for DNS, since they know all the hostnames as they are the ones giving out the leases.

    What I cannot understand is why Untangle still does not see the Hostnames that both the DNS servers see.

    I have attached some more screenshots.

    Unfortunately my networking skills are still very basic, and I had cisco (CCNP) engineers install this for me, so now I am left to figure it out since they are no longer available.

    You Say I need to add a Zone, I assume you mean add a Zone in my DNS servers?

    I have attached a screen dump of those also, perhaps they will help. I appreciate any help you can give me on this, as I am little out of my depth when it comes to networks, cheers

    Config.PNG

    DHCP in Untangle.PNG

    DNS Server.PNG

    DNS Zone on10.1.30.3.PNG

    DNS.PNG

  9. #9
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    23,174

    Default

    You've got the zone names wrong in Untangle for the reverse zones. You've got the names you need in your DNS panel, copy paste man!
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  10. #10
    Newbie
    Join Date
    Apr 2019
    Posts
    6

    Default

    HI Sky-night,

    Sorry, you lost me again...

    Can you explain in more details?

    Like, really guide me, please....

    Cheers

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2