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

    Initial configuration with single NIC assigned to multiple VLANs

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.9k 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.
    • B
      blood_omen
      last edited by

      Hello,

      At work, as a proof of concept, I have create a small network, one L3 switch, one L2 switch, a virtual server configured in trunking to have several virtual machines in different vlans, and various physical machines to act as client on different vlans.

      The proof of concept consist of having a L3 having the vlan configuration and propagate to all the switches in the network, but having a firewall (pfSense in this case) to be the default gateway for each vlan so I can apply the firewall rules on the firewall and don't deal much with ACLs in the switch.

      For this proof of concept the machine acting as the firewall has only one NIC

      I just installed pfSense 2.0.1, after initial boot I'm greeted with several options to perform the initial configuration, I select option 1 to assign interfaces, and assign several VLANs to the same and only NIC (fxp0), everything seems to be fine, then I don't assign a WAN interface.

      The problem arise when I choose option 2, assign IP address to interfaces.  The configuration routine does not allow me to select the VLANs and assign IP addresses, it only allows me to assign IP address to the WAN interface.

      The question/s is:

      -Do I need a second NIC as a WAN in order to perform the initial configuration and get access to the web interface?
      -Is it possible to assign (through the initial configuration routines) ip addresses to the VLANs configured on the interface?
      -Even though I have reconfigured the NIC to work as a WAN and added an IP address, I can't still assign a gateway, can I assign gateway information?

      Any help is appreciated.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        You'll need to assign one of the VLANs as LAN, assign an IP to it, and then do the config from there in the web interface. There isn't a way to assign a gateway at the console.

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