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

Adding VIF's through command line or file

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 3 Posters 825 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.
  • F
    fusionp
    last edited by Jul 4, 2016, 9:19 AM

    Hi all, I need to add a /24 subnet of IP's to my WAN, it's a bit tedious doing so one by one through the VIF GUI.

    I see that you can add a network range/subnet, but then Outbound NAT doesn't let you specify an individual address if need be.

    I found the command for BSD to add an alias address "ifconfig emo 8.7.6.4 netmask 255.255.255.0 alias" and even though it seems to accept the command it doesn't add the VIF.

    Can someone help me with what this command should be or which file I would have to edit in pfsense to make this easier?

    tx

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jul 5, 2016, 10:52 PM

      @fusionp:

      which file I would have to edit in pfsense to make this easier?

      /cf/conf/config.xml

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jul 6, 2016, 12:39 PM

        Is there a specific reason you feel that you need to add 250+ IP alias VIPs on the firewall? What problem are you attempting to solve? Odds are there is a much easier way to accomplish the same goal.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Jul 6, 2016, 4:45 PM

          @jimp:

          Is there a specific reason you feel that you need to add 250+ IP alias VIPs on the firewall? What problem are you attempting to solve? Odds are there is a much easier way to accomplish the same goal.

          That's a good point as well. Many times if you're trying to do that, you're doing it wrong.

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