I'm new to Virtual box and pfSense and I'm trying to setup a virtual environment to study for my MCSA.
When setting up my pfSense virtual box, for some reason I'm not pulling an IP address for the
WAN (em0) interface. Any suggestions on why? I'm trying this on my HP Pavillion dv5-1159se laptop,
running Window 7 (64-bit), with free Wi-fi connection at my hotel.
Versions I'm using are: VirtualBox-4.3.6-91406-Win.exe, Oracle_VM_VirtualBox_Extension_Pack-4.3.6-91406.vbox-extpack,
and pfSense-LiveCD-2.1-RELEASE-i386-20130911-1815.iso.
**SOLVED** pfSense VM box in Virtual Box issue
**SOLVED** pfSense VM box in Virtual Box issue
- Attachments
-
- No-em0-ip.jpg (42.35 KiB) Viewed 32752 times
Last edited by k-ro on 2. Feb 2014, 20:59, edited 1 time in total.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: pfSense VM box in Virtual Box issue
How is the networking configured on the vm? Is the WAN NIC bridged? Is it set to get its network config automatically?
If so, it should get its config from DHCP when you connect to a network with a DHCP server. A free service might not be happy giving you two public addresses - one for the host and another for pfSense.
If so, it should get its config from DHCP when you connect to a network with a DHCP server. A free service might not be happy giving you two public addresses - one for the host and another for pfSense.
Bill
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: pfSense VM box in Virtual Box issue
Actually using VirtualBox NAT for the WAN side and Intnet for the LAN side works well and should not be an issue as long as the host is connected to the wifi lan
Re: pfSense VM box in Virtual Box issue
Thanks everyone! I set LAN adapter 1 to NAT and it finally pulled an IP address via DHCP. It now says:
WAN (wan) -> em0 -> v4/DHCP4: 10.0.2.15/24
LAN (lan) -> em1 -> v4: 192.168.1.1 /24
WAN (wan) -> em0 -> v4/DHCP4: 10.0.2.15/24
LAN (lan) -> em1 -> v4: 192.168.1.1 /24
- Attachments
-
- Adapter2settings.jpg (65.67 KiB) Viewed 32729 times
-
- Adapter1settings.jpg (60.64 KiB) Viewed 32729 times
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: **SOLVED** pfSense VM box in Virtual Box issue
Actually it gets that IP from VirtualBox DHCP because it is using VirtualBox NAT setting, but as Perry pointed out, that works fine. NAT behind NAT is not a problem.
Bill