Static Private IPS



  • New to pfsense, where exactly do i configure a machine to have a static private ip example 192.126.1.3 after reboots ect. Stays same ip.



  • If this is for the WAN nic, the WAN interface settings let you specify the how the IP address is acquired and/or set.

    It depends somewhat on how you obtain your public IP address from your ISP.
    If they're providing dynamic IP's you get what they give you.
    If they've assigned you a fixed address then you can set it under "Interfaces->WAN->IPv4 Configuration Type(Static)" and ""Interfaces->WAN->IPv4 Address(192.126.1.3)"



  • @divsys:

    If this is for the WAN nic, the WAN interface settings let you specify the how the IP address is acquired and/or set.

    It depends somewhat on how you obtain your public IP address from your ISP.
    If they're providing dynamic IP's you get what they give you.
    If they've assigned you a fixed address then you can set it under "Interfaces->WAN->IPv4 Configuration Type(Static)" and ""Interfaces->WAN->IPv4 Address(192.126.1.3)"

    lan.this was very easy on an old router to do, i just dont know where to find the options in pfsense.



  • Enter the GUI, open the dropdown at Interfaces and select LAN. Set the IP configuration to static and enter your wished IP underneath.



  • Or if you want devices on your network to have "static" DHCP addresses, go to Services > DHCP Server, and at the bottom of the page, you can add DHCP Static mappings, so those devices will always get the same address via DHCP.

    You can either specify the address yourself (which will need to be outside of the normal DHCP address pool) or you can skip specifying an address, and the next address that device receives will be the one that it keeps (which will be within the DHCP pool).


Log in to reply