[SOLVED] WAN Static IP with Virtual IPS
-
For the past few years I have used PPOE connection that was assigned a /29 block of Public IP addresses.
On PPOE i was assigned a /29 subnet for IP addresses to use, I simply set this up in Virtual IP's (type OTHER), and my WAN IP was given a IP outside of this range (via PPOE). Now on my new setup, my WAN is configured via static IP, my provider has again assigned me a /29 block of public IPV4 addresses.
But this time, say I am given the following subnet (example):
192.168.155.112/29 # IP Range 192.168.155.113 # Gateway AddressSo I set my Wan Static IP (for the pfsense box) as
192.168.155.114/29with the gateway as192.168.155.113. This works fine and internet routes correctly.Now when I go to add my new block of Virtual IP's do I still add
192.168.155.112/29and simply not assign.114to anything, or do I do this another way? At the moment I have the static IP connection working correctly, just wondered how to configure the Virtual IP's (so I can assign.115 .116 .117 and .118to internal addresses) thanks. -
You add them as Virtual IP - IP Aliases, and no you don't add one for the WAN since .114 is already in use.
-
Thanks, so just add each one individually as a /32 ?
-
No, you add them as they were assigned .115/29, .116/29 .117/29 etc etc
-
Thanks, seems to be working as expected.
-
With IPAliases you can usually use either /32 or the correct subnet size. The important thing is you have at least one IP defined on the interface with the correct subnet in order to add the correct routing.
https://docs.netgate.com/pfsense/en/latest/firewall/virtual-ip-address-feature-comparison.html#ip-alias
Steve
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy