Cor4eyh Posted March 17, 2020 Share Posted March 17, 2020 (edited) I am using a dell r710 server with unraid installed i recently decided to upgrade my routing capabilites and was drawn towards using PFSense. I was following along on the video from SpaceInvaderOne's youtube. Following step by step. The r710 has 1 four port ethernet built in. I added a mellanox 10gb dual nic and a asus 10gb nic. The general idea here is to use the dell's onboard nic as my router and the other 2 nics to go to both my mac and my windows computer. As i was following along in the video i got to point of adding the vfio-pci ids exempting the onboard nic to be the nic used for PFSense and after i rebooted i am no longer recieving an ip address. I cannot access web gui and have lost access from my other machines directly to the 10gb connections. Preface to this i had setup the other two nics to be used alone and wasnt really using the other 4 port onboard nic. I cannot seem to find the config file to edit out this option and cannot access a gui from my directly connected monitor nor can i access the server from the local network of anykind. Any help would be appreciated It does boot up and shows me an ip address of 169.145.45.100 which my network is 192.168.86.xx i will go do a diagnostics and put the log into this thread EDIT: Upon booting it up with a monitor attached it gave me an ip address so i used it to login directly from a laptop which worked since i couldnt get to the GUI. Got to the gui and set a static IP address for my network. Now im going to try this PFSense again! Edited March 17, 2020 by Cor4eyh Quote Link to comment
Cor4eyh Posted March 17, 2020 Author Share Posted March 17, 2020 2 hours ago, Cor4eyh said: I am using a dell r710 server with unraid installed i recently decided to upgrade my routing capabilites and was drawn towards using PFSense. I was following along on the video from SpaceInvaderOne's youtube. Following step by step. The r710 has 1 four port ethernet built in. I added a mellanox 10gb dual nic and a asus 10gb nic. The general idea here is to use the dell's onboard nic as my router and the other 2 nics to go to both my mac and my windows computer. As i was following along in the video i got to point of adding the vfio-pci ids exempting the onboard nic to be the nic used for PFSense and after i rebooted i am no longer recieving an ip address. I cannot access web gui and have lost access from my other machines directly to the 10gb connections. Preface to this i had setup the other two nics to be used alone and wasnt really using the other 4 port onboard nic. I cannot seem to find the config file to edit out this option and cannot access a gui from my directly connected monitor nor can i access the server from the local network of anykind. Any help would be appreciated It does boot up and shows me an ip address of 169.145.45.100 which my network is 192.168.86.xx i will go do a diagnostics and put the log into this thread EDIT: Upon booting it up with a monitor attached it gave me an ip address so i used it to login directly from a laptop which worked since i couldnt get to the GUI. Got to the gui and set a static IP address for my network. Now im going to try this PFSense again! Has anyone else done an unraid server with PFSense on a dell r710? Am i missing something from the installation one Space Invader's video because i cant seem to get PFSense to install. Quote Link to comment
Cor4eyh Posted March 17, 2020 Author Share Posted March 17, 2020 Here is the error I got after installing the VM and trying to run it. internal error: qemu unexpectedly closed the monitor: 2020-03-17T06:04:21.062715Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.1,id=hostdev0,bus=pci.1,addr=0x0: vfio 0000:02:00.1: failed to setup container for group 18: Failed to set iommu for container: Operation not permitted Here is my vm advanced view. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>PFSense</name> <uuid>e24c543d-ea5b-b33c-ea97-0d633f0efc48</uuid> <metadata> <vmtemplate xmlns="unraid" name="FreeBSD" icon="default.png" os="freebsd"/> </metadata> <memory unit='KiB'>3145728</memory> <currentMemory unit='KiB'>3145728</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='9'/> <vcpupin vcpu='1' cpuset='21'/> <vcpupin vcpu='2' cpuset='11'/> <vcpupin vcpu='3' cpuset='23'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-4.2'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/e24c543d-ea5b-b33c-ea97-0d633f0efc48_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='2' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/pfSense-CE-2.4.4-RELEASE-p3-amd64.iso'/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/domains/PFSense/vdisk1.img'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0x14'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0x15'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/> </controller> <controller type='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0x16'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x11'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> </domain> I followed Space invader's tutorial on pfSense and am at the point in his video 11:50 installing of pfSense but got an error as I started it. Quote Link to comment
bastl Posted March 17, 2020 Share Posted March 17, 2020 (edited) 7 hours ago, Cor4eyh said: pc-q35-4.2 Try to use "q35-2.6". Any newer version doesn't work for me. Either hardware isn't detected or it won't install or will freeze. Maybe this helps Edited March 17, 2020 by bastl Quote Link to comment
Sinister Posted March 23, 2020 Share Posted March 23, 2020 On 3/17/2020 at 5:34 AM, bastl said: Try to use "q35-2.6". Any newer version doesn't work for me. Either hardware isn't detected or it won't install or will freeze. Maybe this helps This needs to be more widely known I had one hell of a time trying to follow the Spaceinvader one tutorial and saw this. Once i changed the setting all my hardware was detected Quote Link to comment
James_Darkness Posted April 8, 2020 Share Posted April 8, 2020 On 3/17/2020 at 4:34 AM, bastl said: Try to use "q35-2.6". Any newer version doesn't work for me. Either hardware isn't detected or it won't install or will freeze. Maybe this helps i'm having the same issue but not solved by this fix can you please help Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.