5 Static WAN IP's and multi lan's



  • Hi,
    Newbie here…. I apologize if this has been posted before but I have been reading and can't seem to find the solution.

    I have a cable modem with 5 static IP address's:
    X.X.X.239 (Static 1)
    X.X.X.240 (Static 2)
    X.X.X.241 (Static 3)
    X.X.X.242 (Static 4)
    X.X.X.243 (Static 5 - This static we will not run through pfSense)

    I have 5 NIC's.  What I need is to run .239, .240, .241, .242 through fxp0.  Then the other four NIC's use for each LAN network.  I am not sure in the gui how to set up the 1 NIC to have the 4 static IP's coming through.  Any help would be appreciated.

    Thank you in advance!



  • You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.



  • @kc8apf:

    You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

    So should I leave the WAN as DHCP?  Right now for testing I have the WAN set for the .240  If it is supposed to be DHCP I will change that and make the setting changes.

    Thank you again in advance!
    ;D



  • @gregoryc911:

    @kc8apf:

    You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

    So should I leave the WAN as DHCP?  Right now for testing I have the WAN set for the .240  If it is supposed to be DHCP I will change that and make the setting changes.

    Thank you again in advance!
    ;D

    Why would you do that.

    You just stated they were static addresses.



  • @kc8apf:

    You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

    I was also curious about this..

    I use OpenBSD for  my firewalls and have been looking at pfSense for sometime..

    Assume Virtual IP's  = ViPs
    So ViPs can also be added for the LAN side as well ???

    Example
    3 external static IPs +3 internal subnets = 2 physical NICs  ??
    2 IPs being ViPs on both the WAN and LAN side ??

    rk



  • @roundkat:

    @kc8apf:

    You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

    I was also curious about this..

    I use OpenBSD for  my firewalls and have been looking at pfSense for sometime..

    Assume Virtual IP's  = ViPs
    So ViPs can also be added for the LAN side as well ???

    Example
    3 external static IPs +3 internal subnets = 2 physical NICs  ??
    2 IPs being ViPs on both the WAN and LAN side ??

    rk

    Yes, you can use virtual IPs on any interface, should you choose to.  In your theoretical situation, I'm not sure what advantage you get by having the router have IPs on 3 different subnets on the same LAN, but you could do it.



  • @gregoryc911:

    @kc8apf:

    You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

    So should I leave the WAN as DHCP?  Right now for testing I have the WAN set for the .240  If it is supposed to be DHCP I will change that and make the setting changes.

    Thank you again in advance!
    ;D

    The WAN interface would generally occupy one of the static IPs.  All the other static IPs would be added as virtual IPs on the WAN interface.  You could run DHCP on the WAN interface and have all the static IPs as virtual, but there isn't any benefit unless you needed all your static IPs for some special purpose and used the DHCP address for outbound NAT or something.


Log in to reply