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

    Adding static route fails

    Routing and Multi WAN
    2
    3
    1.5k
    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.
    • ?
      A Former User
      last edited by

      hi every1,

      i would like to add a static route to my pfsense 2.1

      i get the error:

      The following input errors were detected:
      
          This network conflicts with address configured on interface vlan 350.
      
      

      i am using vlans on a layer3-switch. i assigned an ip-adress to the vlan350, which is on my lan-network (connected on the layer3-switch), since i want to use a dhcp-server for that vlan.
      now i would need to set the layer3-switch as gateway for that specific destination (172.16.50.0/24)

      diag_routes says:

      Destination 	Gateway 	Flags 	Refs 	Use 	Mtu 	Netif 	Expire
      172.16.50.0/24 	link#17 	U 	0 	0 	1500 	em3_vlan350 	 
      172.16.50.1 	link#17 	UHS 	0 	0 	16384 	lo0 	
      

      how can i achieve this?
      is any1 else working with vlans and dhcp?
      after turning off dhcp and turning off the static ip on the vlan350. i could add the static route without any problems. but i need dhcp!!
      thanks for any help i could get.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You cannot do both. You either have direct access to the subnet, or you can route it. If you must have DHCP, then have those clients use the firewall for their gateway and not the switch. Otherwise you will need to serve DHCP from a difference device and not pfSense.

        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
        • ?
          A Former User
          last edited by

          thx for your reply

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