pfSense on XenServer 7

  pfsense, XenServer

XenServer tweaks

1) Find vm
xe vm-list
2) list vifs on the vm
xe vm-vif-list uuid=VMUUID
uuid ( RO) : VIFUUID1
vm-name-label ( RO): VMNAME
network-name-label ( RO): NETWORK 1
uuid ( RO) : VIFUUID2
vm-name-label ( RO): VMNAME
network-name-label ( RO): NETWORK 2

3)set variable
VIFUUID="VIFUUID1"

4) check
echo "${VIFUUID1}"

5) Disable the offload settings:
xe vif-param-set uuid=VIFUUID other-config:ethtool-gso="off"
xe vif-param-set uuid=VIFUUID other-config:ethtool-ufo="off"
xe vif-param-set uuid=VIFUUID other-config:ethtool-tso="off"
xe vif-param-set uuid=VIFUUID other-config:ethtool-sg="off"
xe vif-param-set uuid=VIFUUID other-config:ethtool-tx="off"
xe vif-param-set uuid=VIFUUID other-config:ethtool-rx="off"

6) repeat
VIFUUID="VIFUUID2"

Xen Tools on pfsense and checksum disable

1) Install via SSH
pkg install xe-guest-utilities
echo 'xenguest_enable="YES"' >> /etc/rc.conf.local
ln -s /usr/local/etc/rc.d/xenguest /usr/local/etc/rc.d/xenguest.sh
service xenguest start

2) In pFsense GUI, System > Advanced > Networking >Tick the option for “Disable hardware checksum offload”