Pages: [1]   Go Down
  Print  
Author Topic: pfSense in VirtualBox on Ubuntu server - Can't get WAN IP  (Read 1987 times)
0 Members and 1 Guest are viewing this topic.
RAND0M1ZER
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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 » Logged
johnpoz
Hero Member
*****
Offline Offline

Posts: 1695


View Profile
« 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
Logged
RAND0M1ZER
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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.  Angry Do bridge connections require any kind of configuration on the host side of things?
Logged
Dalma
Newbie
*
Offline Offline

Posts: 1


View Profile
« 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??
Logged
RAND0M1ZER
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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:
# 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
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.031 seconds with 19 queries.