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

    How to assign public IPv4 Subnet to OPT?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 505 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.
    • S Offline
      Speedy059
      last edited by

      Hi Everyone,

      I'm trying to do the following on the pfSense box:

      1. Create VLAN 100 (Done)
      2. Add public IPv4 subnet 74.221.216.192/27 to the VLAN 100. Host the /27 gateway (74.221.216.193) on the pfSense, and send all traffic to the uplink/WAN.
      3. Add a DHCP for the 74.221.216.192/27 range to hand out IP's to the OPT port on the pfSense.

      Currently, the network is like this:

      ISP (4.28.81.69) <–> Switch (4.28.81.70) <--> pfSense (74.221.222.58) ------> Use the OPT port with public ips, and route it to the switch which is routed to the ISP.

      Our ISP has static routed a couple /24's to use, and I have made a smaller /27 out of one of them that I want to use on the pfSense and assign it to the OPT port doing the steps listed above. The Switch has a static route of 0.0.0.0/0 to the ISP 4.28.81.69.

      1 Reply Last reply Reply Quote 0
      • johnpozJ Online
        johnpoz LAYER 8 Global Moderator
        last edited by

        what does the switches route have to do with anything?

        So are these /24 routed to you via transit??  I this public IP 74.221.222.58 so these other /24's are routed to that IP..  Not attached?

        If that is case then just put the /?? whatever you want to subnet them to on your opt - you sure wouldn't be setting a gateway on that interface.  And yeah it will go out your.. Just make sure you disable natting of that interface since you have not use for it.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

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