Netgate m1n1wall

Author Topic: pfSense in VirtualBox on Ubuntu server - Can't get WAN IP  (Read 3080 times)

0 Members and 1 Guest are viewing this topic.

Offline RAND0M1ZER

  • Newbie
  • *
  • Posts: 4
    • View Profile
pfSense in VirtualBox on Ubuntu server - Can't get WAN IP
« on: May 15, 2012, 04:30:55 pm »
Hi, I'm tring to install pfSense on my headless Ubuntu 12.04 server. I have installed the pfSense VM but I need some help getting the network cards configured correctly.

My server has 2 Intel NIC called eth0 and eth1. I have setup my pfSense VM to have 2 NICs in bridge mode and I can connect to the pfSense GUI from my network however pfSense can't seem to get an IP from my cable modem.

Any idea what could be wrong?
« Last Edit: May 17, 2012, 11:33:48 am by RAND0M1ZER »

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 2889
    • View Profile
Re: pfSense in VirtualBox on Ubuntu server
« Reply #1 on: May 16, 2012, 12:39:28 pm »
your vm nic is going to have a different mac I would assume - so reboot your cable modem.  This is normal procedure when changing the mac of the device connected to a cable modem
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Have I helped you, want to say thanks?  Donate to pfsense the cost of a beer http://pfsense.org/donate.html

Offline RAND0M1ZER

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: pfSense in VirtualBox on Ubuntu server
« Reply #2 on: May 16, 2012, 06:48:32 pm »
I've tried that rebooting the VM, the physical server, and the modem multiple times with no success.  >:( Do bridge connections require any kind of configuration on the host side of things?

Offline Dalma

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: pfSense in VirtualBox on Ubuntu server - Can't get WAN IP
« Reply #3 on: May 20, 2012, 03:39:04 pm »
I have the same configuration and have encountered the same problem. I was able to get a DHCP assignment from another device so it seems that the nic and virtual br1 are configured correctly. Hmm??

Offline RAND0M1ZER

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: pfSense in VirtualBox on Ubuntu server - Can't get WAN IP
« Reply #4 on: May 20, 2012, 07:29:00 pm »
I actually fixed it and got it working. Turns out I had to configure the WAN interface on the host side.

My /etc/network/interaces file now looks like this:

Code: [Select]
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 0.0.0.0

auto eth0:1
iface eth0:1 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.1

# The WAN interface
auto eth1
iface eth1 inet static
address 0.0.0.0