Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
19.1 in VirtualBox - WAN never picks up an address (0.0.0.0)
« previous
next »
Print
Pages: [
1
]
Author
Topic: 19.1 in VirtualBox - WAN never picks up an address (0.0.0.0) (Read 4236 times)
rkillcrazy
Newbie
Posts: 6
Karma: 0
19.1 in VirtualBox - WAN never picks up an address (0.0.0.0)
«
on:
May 29, 2019, 10:59:49 pm »
So, I'm attempting to move from pfsense to opnsense and I'm trying to load opnsense into a virtual environment so I can do a side-by-side transfer of most or all of my custom settings. I've found videos and looked at various write-ups but nothing seems to be working.
I load the OS via the ISO and it comes up with what you see in the screen-shot. The WAN interface either never shows IP or it shows an IP of 0.0.0.0. In my troubleshooting, I've
unplugged
the LAN interface in the VM's settings and that's why the screen-shot shows nothing for the WAN. I've installed it anyway and went into the CLI config and verified that the interfaces' MAKs match up with the vNICs I'm using so they're correct.... What am I missing?
Side note:
The same (cloned) VM will install and run pfsense without issue.
«
Last Edit: May 29, 2019, 11:47:31 pm by rkillcrazy
»
Logged
muchacha_grande
Full Member
Posts: 219
Karma: 19
Re: 19.1 in VirtualBox - WAN never picks up an address (0.0.0.0)
«
Reply #1 on:
June 03, 2019, 01:28:02 pm »
May be something is wrong with the VM configuration. Try to do the following:
When you install VirtualBox, a Host-Only network adapter is created on your host machine.
You could configure that adapter with an address out of your actual LAN. I mean, the LAN you are using to access Internet.
On VBox bound the LAN NIC to the Virtual Box Host-Only Adapter you have just configured, and then use the console in OPNSense to set the LAN ip address to an address within the Host-Only network.
For example, if your actual network is in the range 192.168.1.x, you set the host-only adapter to 192.168.2.2 and OPNSense LAN to 192.168.2.1.
Then on VirtualBox you bridge your WAN interface to your phisical LAN, so it will get an IP from your actual router.
That will be your WAN IP on OPNSense, and since then OPN will have Internet connectivity.
To access the web config on OPNSense use the LAN interface IP you set with the console. You can do it since you have a host-only connection to OPNSense LAN.
After that, do your configuration on OPNSense and back it up.
And then, it comes the best part: you get rid of pfSense and install OPNSense :-)... restore your config and you are done...
Let me know if you succeded or if you didn't understand... because my english is not good... sorry
Logged
rkillcrazy
Newbie
Posts: 6
Karma: 0
Re: 19.1 in VirtualBox - WAN never picks up an address (0.0.0.0)
«
Reply #2 on:
June 05, 2019, 12:06:10 pm »
Thanks for the reply but I ended up using the pfsense VM that worked and copied my settings to it. (It wasn't what I wanted to do but, I didn't see a lot of activity on this post so I wasn't going to sit around and wait for a reply that may never come.) From there, I installed another SSD into my router, installed OPNsense and did my side-by-side config.
Logged
muchacha_grande
Full Member
Posts: 219
Karma: 19
Re: 19.1 in VirtualBox - WAN never picks up an address (0.0.0.0)
«
Reply #3 on:
June 05, 2019, 01:26:23 pm »
Glad to see you solved it...
Cheers...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
19.1 in VirtualBox - WAN never picks up an address (0.0.0.0)