OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • OPNSense VM network config, booboo...
« previous next »
  • Print
Pages: [1]

Author Topic: OPNSense VM network config, booboo...  (Read 1177 times)

Mecallie

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
OPNSense VM network config, booboo...
« on: April 04, 2020, 11:58:19 am »
Hi folks, I hope you can help me.
I just installed OPNSense: seems to work out of the box! I am running it on a laptop with VMWare Workstation Pro installed.

I am running several more VM's on this host. However, I made a small booboo when configuring the network.
Current situation:

OPNSense VM with two bridged network adapters.
One adapter bridged directly do my cable modem (wan).
One adapter bridged to a switch (lan).

I forgot that if I bridge both my physical adapters the rest of the VM's on the host will only have the wifi adapter to bind to. Meaning that I now have my NAS/Nextcloud running via the wifi interface of the laptop :(

Can anyone advice me on what the best way is to correct this? Can I just set the (lan) interface to NAT on the host? Or host only even? I cannot attach a third ethernet card, so that is not an option :P
Logged

Mecallie

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: OPNSense VM network config, booboo...
« Reply #1 on: April 07, 2020, 10:11:49 am »
Ok, here's what I did to fix it.
My onboard NIC can only receive an IPv4 address from my provider _in the OPNSense vm_  so I disabled IPv4 on the host. Of course, there is no need for this on the second adapter since that will just get a dhcp address from OPNSense.

So I enabled the IPv4 stack for the 2nd adapter and voila: works.

I might be better off not doing stuff like this at 2AM :P
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • OPNSense VM network config, booboo...
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2