Gateway "dynamic"
-
Hello,
Can you explain to me what "dynamic" gateways are?
I don't understand how it got created and what "dynamic" mode does instead of an IP address.thanks for your explanations
-
@fabiensch why would there be a gateway of any sort on your LAN?
https://docs.netgate.com/pfsense/en/latest/routing/gateways.html#managing-gateways
Dynamic interface types such as DHCP and PPPoE receive an automatic gateway that is noted as Dynamic in the gateway list. The parameters for such gateways can be adjusted the same as the parameters for a static gateway.
-
@johnpoz thanks for your reply.
I have a gateway on my LAN because I also have another router on the LAN that I sometimes want to go out (other internet line). It's curious that this "dynamic" gateway was created because my LAN interface is in static IP ... not DHCP or PPPoE -
@fabiensch said in Gateway "dynamic":
It's curious that this "dynamic" gateway was created because my LAN interface is in static IP ... not DHCP or PPPoE
If you have a gateway you want to get to via your lan interface, this would be done via setting up the gateway, not by setting a gateway on the actual lan interface.
It is odd if your saying your lan is set as static..
Make sure the gateway is not actually set on your lan interface, this will cause pfsense to think your lan is actually a wan interface, etc.
If you have a router downstream of your lan, then create the gateway in routing / gateways - and then setup whatever routes you want to use that gateway with.