Routing Traffic From VLAN to VLAN without defined gateway

  • I have 2 VLAN's and I have some devices the we use that have two lan connections but the default gateway is assigned on lan 1. And want to be able to access the 2nd lan without having the gateway configured in the device. Is there any rules I can make to automatically assume outgoing traffic is on the subnet if the gateway is undefined?

    VLAN 100
    VLAN 200

    I can access network now from the network just fine. Just trying to make it easier on the employee's since the devices we use come defaulted to the network and we set lan 1 to the customers network were the devices are going to be installed.

  • LAYER 8 Netgate


    TCP/IP devices need to know the address of the next hop router in order to route traffic to other networks.  This is not a function of the router.  It's a function of the end hosts.  Without a default gateway, the host will return something like "No route to host" for destination addresses not on any connected subnets.

    Your end hosts on should have the IP address of the pfSense interface ( as their default gateway.  Rules should then be in place on the pfSense interfaces to allow whatever traffic you want to allow between VLANs.

  • Yeah I was thinking it was impossible didnt know if pfsense had a trick

  • LAYER 8 Netgate

    For what it's worth, to config devices like that I use a blank VLAN (no pfSense interface at all.)

    Say my blank bench VLAN is 1200.  I have untagged ports on VLAN 1200 on the bench and I create a VLAN interface on my workstation (a mac).  I can then set that VLAN interface to whatever IP network I need to access devices out-of-the-box.  This doesn't disrupt normal network traffic since my main LAN is also tagged to my workstation.  I don't have to worry about devices having DHCP servers enabled by default or anything since it's isolated from everyone.  The workstation has a tftp server for firmware/config files, etc.

Log in to reply