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

    Vmware, pfSense & two NIC's

    Scheduled Pinned Locked Moved Virtualization
    3 Posts 2 Posters 7.0k 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.
    • N
      Nick7
      last edited by

      I have following setup:
      PC with two LAN cards, one is connected with crossover cable to DSL modem (PPoE), and other card is LAN card.
      DSL modem has IP of 192.168.1.1
      PC on which VMware is set has IP 192.168.0.4
      IP of pfSense is 192.168.0.1

      pfSense is running under vmware on this PC.

      It all works great for other PC's in network, however… issue is with network access on PC vmware is on.
      Problem is I get two default routes!
      One is set manually, in network config by me (192.168.0.1), which works fine, however as I let DHCP figure out IP for connecting to DSL modem, I also get under main PC 2nd default route as 192.168.1.1 - which ofc from main OS I can't connect to, and messes up internet access, so I have manually to do: route delete 0.0.0.0 192.168.1.1 to make it work.

      Any ideas how ti fix this, and avoid my PC setting 2nd default route?

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

        This isn't a recommended configuration, but it's workable. You need to not bind TCP/IP on the NIC going to the DSL modem, from your host OS. On Windows, that means going into the properties of that NIC on the host OS, and unchecking every protocol except the VMware Bridge one. Then customize one of your VMnets to bridge to that interface, and assign pfSense's WAN interface to that VMnet.

        1 Reply Last reply Reply Quote 0
        • N
          Nick7
          last edited by

          It works this way correctly!
          Tnx! :)

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