Optional routers in dhcp leases
-
Hi,
is there a way to specify for a particualr dhcp statically mapped client an alternative router? -
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. -
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?
-
Can you show a screenshot of the rule you created?
-
Screenshots:
http://twitpic.com/1koyog
http://twitpic.com/1koyu0
Thanks!
-
A traceroute uses ICMP.
Your rule only allows TCP.
Either change the allowed protocol, or add additional rules. -
Doh! Thank you! Works as expected now.