• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

NAT Strangeness

Scheduled Pinned Locked Moved NAT
3 Posts 2 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Coldaddy
    last edited by Aug 15, 2010, 4:34 AM

    I am using a pfsense virtual appliance to isolate a test environment from the production network.  To allow hosts on the prod network to RDP to the isolated servers I set up VIPs for them and NAT rules which allow RDP (TCP 3389) sent to the VIPs to get to the isolated servers (1 VIP per server).

    One server (server A)  in the isolated network uses a SQL server (server B) also in the isolated network.  I can set up an ODBC connection from server A to server B if I use the FQDN.  However if I use the short name of server B the ODBC connection fails.

    What I have done:

    1. Ensured SPNs are configured for FQDN and short name
    2. Validated name resolution via DNS is working properly
    3. Traced the traffic with Wireshark during the failure

    When I trace from server A while testing the ODBC connection (set up with shortname) I see that server A is trying to connect to server B's VIP and there is never a DNS query (even though I flushed the client DNS cache)!?!  If I test the ODBC connection while using FQDN I see a DNS query, a good response and a normal session setup with the internal IP address of server B (normal behavior).  If I remove the default gateway of server A (which points to the pfsense box) then repro the test with the shortname, the ODBC test still fails but server A does not try the VIP.  It is as if the pfsense box is somehow supplying the VIP of server B to server A.

    Has anyone ever seen anything like this and/or do you have any thoughts as to how to troubleshoot this?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Aug 16, 2010, 1:56 PM

      Are you doing a full traffic capture?

      It could be doing some other kind of name query (like NBNS) and skipping DNS.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      • C
        Coldaddy
        last edited by Aug 17, 2010, 3:53 AM

        @jimp:

        Are you doing a full traffic capture?

        It could be doing some other kind of name query (like NBNS) and skipping DNS.

        Thanks for the reply.  I just found the issue this evening…there was a registry entry on the server which pointed to the VIP of the SQL server...not sure where it came from but once I fixed that all was well.  Thanks again.

        Steve

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received