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

    Different Subnet LAN filesharing.

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 3.0k 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.
    • ?
      Guest
      last edited by

      Hello ppl, how can i share file across my LAN on different subnet?  First LAN IP: 192.168.1.1, Second LAN IP: 192.168.2.1. I've also enter the WIN server IP on all of the PCs and in PFsense but the PCs on the different subnet doesn't seem to find the other PCs on the other subnet.  What's the secret to it guys? Please advise.  Thanks you.

      1 Reply Last reply Reply Quote 0
      • K
        ktims
        last edited by

        You need to set up DNS. Easiest route to success is to enable DNS forwarder, pick a local domain to use for your LAN and then enable 'register DHCP clients in DNS forwarder' or whatever the option is called. This should do two things:

        a) The DHCP server in pfSense will give out your special domain as the search domain when clients request a lease
        b) All clients from both subnets will have registered DNS names that match their computer name (on Windows anyway)

        Assuming all your clients use DHCP and you're using the pfSense DHCP server on both subnets, this should work fine, provided you have the necessary firewall rules to allow the Windows NetBIOS traffic across the firewall.

        Disable and never use WINS again, Microsoft hasn't recommended its use since NT4, and it doesn't really play well in modern networks.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Thanks, i'll tried that and if i run into trouble i'll give you guys a shout.  Thanks again.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.