Hyper-V - PFsense 2.0.1 - Some tips.
-
Hi I'm new in PFsense, but i found this blog in google
http://www.zomers.eu/knowledge/pfSense/Pages/Install-pfSense-on-Windows-2008-Hyper-V-server.aspx
with this guide I have instaled the PFsense in the hyper-v, but I have a Problem, when y restart PFsense these loss conection to internet.
-
Just as JimP said: The support for FreeBSD inside Hyper-V is still far from complete.
My general (and painful experience) with Linux was: It took MS ages to support it correctly, now it's ok.
Everything that MS does not support with integration drivers is slow or even crashy, I wouldn't even remotely consider pfSense for any production use on Hyper-V yet. Sorry to say :-/ -
Anyone try pfsense under 2012 hyper-v? I am just starting to test 2012, so I plan to give it a shot.
-
They seem to run pretty much the same, I have migrated a few from 2008 to 2012.
-
booo. Guess it's wait for freebsd 10 or 11. Hopefully by then we can have better support :)
-
I'm installing pfSense 2.1 Beta0 on Hyper-V 2008R2. The live cd worked for as far as I tested (with legacy nics), however a install to disk failed with the error:
Execution of the command
/sbin/fdisk -v -f /tmp/format.fdisk ad0
FAILED with a return code of 1This was because I used a Dynamically Expanding disk. After changing it to a Fixed Size disk, the install continued.
As mentioned before, the nics don't receive data after first boot. To fix this I did the following:
Go to the shell
vi /usr/local/etc/rc.d/interfaces.shPress INSERT and start typing the following (watch out for typos as these are difficult to correct in VI):
ifconfig de0 down
ifconfig de0 up
ifconfig de1 down
ifconfig de1 up
dhclient de0When done, press INSERT and type:
:wq
Followed by pressing ENTER
Type:
chmod +x /usr/local/etc/rc.d/interfaces.sh
Followed by pressing ENTER. This will allow the script to run.
This makes pfSense work in Hyper-V.
I'm also looking at loadbalancing multiple nics to see if I can increase the throughput. Anybody got experience with this?
-
Has this issue of the legacy adapters not being gigabit been solved?
Seriously thinking of doing this with my server.
Wish it was stable for production as I have several R710 servers with multiple nics that would be nice to combine into windows/pfsense box.
-
Nope, with 2012 R2 there will be an additional new hardware model using UEFI (+ SecureBoot) and even no
more legacy hardware so pfSense will only boot on the same hardware model as Linux VMs did.The legacy NIC has just been there for compatibility but I'v not seen MS being interested in improving this.
It's been slow crap (but it worked even in early days), but that's about it.You'd have to go with KVM or VMware instead as they both do either good e1000 emulation or bring their FreeBSD compatible paravirt NIC.
-
I didn't see anybody mention the "Hyper-V integration installed with pfSense 2.0.1" thread, so I'm posting on this thread for the benefit of anybody watching it. In essence, we've been doing custom pfSense 2.0.x and 2.1 ISO builds with Chris Knight's Hyper-V patches (plus a couple fixes). YMMV depending on your environment, but it is working great for several (many?) Hyper-V users.
I just did a new build with the Hyper-V aware kernel and pfSense 2.1 Release. See http://forum.pfsense.org/index.php/topic,56565.msg362435.html#msg362435 and following posts (check out the complete thread for troubleshooting tips and issues others have found).
-
pfSense 2.1 RELEASE under Hyper-V 2008R2
setting
http://knowledge.zomers.eu/pfsense/Pages/Install-pfSense-on-Windows-2008-Hyper-V-server.aspx
ifconfig de0 down
ifconfig de0 up
ifconfig de1 down
ifconfig de1 up
dhclient de0script
/usr/local/etc/rc.d/interfaces.shexecuted at boot, but does not work, we have to start it manually …
after obtain
....
DHCPACK from (Gateway provider)
bound to XX.XX.XX.XX (issued ip) -- renewal in 300 secondsevery 5 min. is updated by DHCP from the ISP connection and falls off to re-launch /usr/local/etc/rc.d/interfaces.sh
how to overcome it or remove renewal in 300 seconds?
thank's a lot