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

Assign ip block

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 2 Posters 945 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.
  • P
    Pydevx
    last edited by Jun 13, 2017, 7:07 AM

    Hi..
    How can i assign an ip block for a client or another pf like an isp
    anybody help me ?
    i want assign some ip's to a pfsense (i guess a mac adress) and use ips like i was take it an ips on other pfsense (virtual ips)
    how can i do it ?

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Jun 13, 2017, 10:19 AM

      That would be done via a dhcp reservation, or static dhcp..
      https://doc.pfsense.org/index.php/DHCP_Server

      ==Static IP Mappings==
      Static IP mappings can be added at the bottom of the DHCP server tab for a given interface.

      To add a Static IP mapping, click the +, and then enter a MAC address, IP address, Hostname, and Description. These mappings can also be created from the DHCP Leases view. There are many other per-host options which can be sent as well.

      But you say "block".. So you want to give a downstream device/client say a 192.168.99/24 behind their router?  Without any natting going on..

      Then you would connect to them with a transit network, and route the networks you assign to them to them via the transit.

      Or are you talking about delegation of a ipv6 prefix?

      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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • P
        Pydevx
        last edited by Jun 13, 2017, 11:32 AM

        The real topology  :  we have metro net and isp (ttnet) is assign /29 block (6 pieces) for us on the 1 line
        and we distribute them (ips) some host in our inetnal network (ipv4) (we use sonicwall fw now but i want to change this pfsense )

        i want simulate this topology on virtual machines,
        i setup two vmachines and both pfsense
        one is simulate our firewall (this no problem it is ok)
        second is simulate isp (ttnet) but i cant assign ip block (group) to my firewall simulater host , i dont know how can i  :)  Thanx

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Jun 13, 2017, 12:44 PM

          You have a /29 given to you and you want to assign one of these public IP behind pfsense?  That is not possible without bridging.  But you could assign all of the /29 to your pfsense wan via VIPs and then use 1:1 natting to the rfc1918 behind.. Just make sure you assign a specific rfc1918 address via the dhcp reservations to the machines behind or statically and then create your 1:1 nats.  And then either allow inbound to them and let them firewall or firewall the specific ports you want to allow unsolicited to their ips.

          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.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • P
            Pydevx
            last edited by Jun 14, 2017, 5:48 AM

            no.. i don't want assign a public ip behind the pfsense .
            i want simulate isp's reaction  how i assign an ip block over a line with a pfsense (isp simulator). there is end of this line my pfsense fw simulater (and then it is going to use 1:1 nat - this part is not problem , i will handle)
            the problem is how can i simulate isp's reaction (assign an ip block to my customer :) )

            1 Reply Last reply Reply Quote 0
            1 out of 5
            • First post
              1/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received