Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    pfSense in VM | How to configure Lan IP in the Host

    Scheduled Pinned Locked Moved Virtualization
    4 Posts 3 Posters 1.6k Views 3 Watching
    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.
    • L
      luckyzor
      last edited by

      Hello,

      I have a CentOS 7 host with 2 physical NIC and for now I have 4 VM running
      I've installed one VM with pfSense to be my firewall/router

      with the VM pfSense everything work (have wan ip and Lan IP)
      I've already another VM in the LAN range with DHCP frm the pfSense.

      Now problem is how to configure the host to be in the Lan range?

      My 2 NIC are in bridge mode.
      With the NIC WAN I can have a wan IP (I don't want this anymore; so change my config br0 to bootproto=none)
      I tried to configure in the ifcg-br_lan bootproto=dhcp and can't have any IP (I don't have a cable in this NIC for now, because I want to configure everything before connect this NIC to my switch)

      Can anyone help me with this??
      Thanks

      1 Reply Last reply
      Reply Quote 0
      • V
        viragomann
        last edited by

        Give it a static IP. The DHCP server won't be reachable on startup and activating the interfaces.

        1 Reply Last reply
        Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Mmm, depending on the hypervisor you're using you will have some kind of host only interface that can be used to connect the host to a VM. Put the static IP there.

          Steve

          1 Reply Last reply
          Reply Quote 0
          • L
            luckyzor
            last edited by

            Thank you all for the help. I managed to solve the issue.
            Please close the topic

            solution: delete all the network's interfaces in the virt-manager, create everything and add static ip to the bridge of the LAN NIC :)

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy