Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How would I route a block of static IP addresses?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 3.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mchaker
      last edited by

      I searched the forums but I couldn't find anything immediately.  If I missed a helpful related topic, please link it :).

      Anyways, here's what I'm trying to do:

      • My ISP provided me with a modem that has been assigned a static IP address.
        -> The static IP is linked to the pfSense box's WAN interface MAC address, and thus the pfSense box is in DHCP.  That's how the ISP asked me to have it run.
        -> The 14-address block is completely different than my modem's static IP address.

      My block is x.x.x.64-x.x.x.78.  The service rep I talked to stated that .65 should be my first usable host address (so I'm not sure if .64 is even usable or whatnot).

      • I have to successfully set up the routing on my end before the block is officially routed to my modem since they stated something about router loops (I think).
        BUT, I don't know how to route static IP addresses to internal ones.

      • I have a server for each of my static IP addresses on a 172.22.0.0/16 internal network (some reside on 172.22.1.x, some on 172.22.2.x, x.x.3.x, etc…), but I have no idea how to route the .64-.78 addresses to individual servers.  1:1 NAT, maybe?  I don't know, I've never done it before.

      If anyone can help me route my static IP addresses to internal addresses, I'd be extremely grateful :).

      1 Reply Last reply Reply Quote 0
      • G
        Gob
        last edited by

        hi
        you first need to add your ip block as Virtual IPSs.
        then, as you suggest, you could use 1:1 NAT to route the virtal IPs which will now appear in the nat rule.
        don't forget to add some firewall rules to allow traffic over your new routes.

        gordon

        If I fix one more thing than I break in a day, it's a good day!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.