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

    Virtual Interface

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 2.4k 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
      Freddy
      last edited by

      Hello,

      his is my problem:
      I have 1 NIC for internal lan e 1 NIC for external (internet).
      My NIC LAN receive packets from 3 subnet (192.162.1.x/24, 192.168.2.x/24, 192.168.3.x/24) and I need to create 2 Virtual Interface in this NIC, BUT I DON'T KNOW HOW TO DO THIS IN PFSense Web GUI  ???

      I have read manual, forum, etc BUT i don't finded any information about this.

      Please help me  :'(

      Thank you in advanced.

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        This is currently not possible.

        1 Reply Last reply Reply Quote 0
        • F
          Freddy
          last edited by

          hoba,

          I have finded how create a virtual interface but in shell.

          My problem now is how I can execute the shell script (in which I create a virtual ethernet interface) BEFORE the configuration is loaded at boot time.

          I have put my script into /usr/local/etc/rc.d BUT the script is execute AFTER configuration loading…

          Exists a method?

          thank you in advance..

          1 Reply Last reply Reply Quote 0
          • dotdashD
            dotdash
            last edited by

            I would think you would want to put this in the config.xml.
            http://faq.pfsense.org/index.php?action=artikel&cat=10&id=38&artlang=en

            There's an option for an early shell command. This may be what you need.
            Basically, you'd have to download the config, edit the xml to add the entry to run your shell script, then restore the modified xml. Good luck.

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