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

    Default Gateway for Any VLANS?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 4 Posters 9.5k 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.
    • P
      pinoyboy
      last edited by

      I have a WAN, LAN, and VLANx.  On the VLAN interface coming off of the LAN, is the Gateway .1 at the end as default in pfSense?  I want to put a Voice VLAN on this interface, but the PBX needs to get on the Internet; basically a second LAN.  If this second interface / VLAN is 192.168.50.x /24 - does the system accept 192.168.50.1 as the default GW automatically?  As suggested, this particular 192.168.50.x VLAN will have a PBX and phones but need Internet access which the LAN already has.

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        you generally do not fill in a gateway on 'LAN' interfaces, does not matter if they are vlan's or regular ones.

        leave it empty

        1 Reply Last reply Reply Quote 0
        • P
          pinoyboy
          last edited by

          So assuming that I create more VLANS, proper switch L2/settings, and have proper Firewall rules for outbound - I can leave the Gateway settings out and all those VLANS will be able to get on the Internet fine without additional pfSense setings?

          1 Reply Last reply Reply Quote 0
          • P
            PiBa
            last edited by

            The VLAN interface itself does not need a gateway, but make sure that the DHCP settings for the clients in that VLAN do point to your 192.168.50.10 ip, if pfSense provides the DHCP service on that VLAN it will be so by default so you dont have to specify it. Also make sure that the firewall allows traffic from that VLAN to the internet. The clients will use the pfSense box as their default gateway, and pfSense itself has a gateway on the WAN interface so it already knows where to route traffic.

            1 Reply Last reply Reply Quote 0
            • C
              cantalwayswin
              last edited by

              You have phones on one vlan and all other devices on another (desktops, printers, etc) and a PBX with a single interface. Is this correct?
              How is your internet access being delivered to the PBX? does your handoff hit the switch directly or is it going to your PfSense box first (physically)?

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