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

    Optional routers in dhcp leases

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 3 Posters 2.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.
    • F
      fluca1978
      last edited by

      Hi,
      is there a way to specify for a particualr dhcp statically mapped client an alternative router?

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        No.
        But you can create a firewall rule for this particular client with a different gateway.
        pfSense would be still the default gateway, but traffic will be redirected to this other gateway.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • E
          emgee
          last edited by

          I'm interested in the same thing as the original poster. I added a firewall rule on the LAN interface, marked as pass with the source address as the IP address of the computer in question. I then went under the advanced options and changed the gateway to my alternate gateway. I put my new firewall rule as first in the list. However, doing a traceroute from the workstation in question does not forward to the alternate gateway. Any suggestions of how to get such a firewall rule working?

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            Can you show a screenshot of the rule you created?

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • E
              emgee
              last edited by

              Screenshots:

              http://twitpic.com/1koyog

              http://twitpic.com/1koyu0

              Thanks!

              1 Reply Last reply Reply Quote 0
              • GruensFroeschliG
                GruensFroeschli
                last edited by

                A traceroute uses ICMP.
                Your rule only allows TCP.
                Either change the allowed protocol, or add additional rules.

                We do what we must, because we can.

                Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

                1 Reply Last reply Reply Quote 0
                • E
                  emgee
                  last edited by

                  Doh! Thank you! Works as expected now.

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