I need to Create routes for my VLAN interface.
-
PfSense lan ip is 10.31.32.1 and it is connected to my switch interface that ip is 10.31.32.2.
And i define a static route on my switch that is 0.0.0.0/0 10.31.32.1.
I have L3 Switch and i configure VlAN10, VLAN20, VLAN30, and assign them a ip example,
for VLAN10 IP is 10.31.10.1
For VLAN20 IP is 10.31.20.1.
In final i need to provide route in PF sense for .10.0 and .20.0 for gateway 10.31.32.2
So please tell me how can i configure on PF sense firewal. -
System -> Routing -> Gateways
Create a gateway called L3_SWITCH_IPV4 pointing to 10.31.32.2
System -> Routing -> Static Routes
Add routes for 10.31.10.0/24 & 10.31.20.0/24 via L3_SWITCH_IPV4 10.31.32.2
If you plan to add IPv6 at a later date do the same but call the additional gateway L3_SWITCH_IPV6
On the L3 Switch create a default route via 10.31.32.1 so everything non local goes out the pfSense LAN interface, but looks like you've done that
-
This post is deleted! -
This post is deleted! -
This post is deleted! -
@Ashwani27 said in I need to Create routes for my VLAN interface.:
10.31.32
Do you have hosts on this lan network? Or is it just going to be transit network to your downstream router.. Your going to run into asymmetrical problems trying to use a network with hosts on it as a transit network.
-
I am also wondering about the same thing. If you found a fix then please do let me know. thanks in advance :)