[TUTORIAL] - Ajustanto NIC para a virtualização do pfSense.
-
Há algum tempo atrás, tive a necessidade de virtualizar um pfSense (leve em consideração que não é uma boa prática). Porem após instalar tive alguns problemas de instabilidade na NIC. Para resolver a lentidão/instabilidade efetuei o procedimento abaixo.
1 - Encontre a VM do pfSense:
xe vm-list2 - Liste as VIFS da 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 23 - Defina uma variável para as VIFS:
VIFUUID="VIFUUID1"4 - Verifique a saída variável:
echo "${VIFUUID1}"5 - Desative as configurações de offload:
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 - Repita os passos para a network 2:
VIFUUID="VIFUUID2"7 - Verifique a saída variável:
echo "${VIFUUID2}"8 - Desative as configurações de offload:
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"9 - Desligue e Ligue a VM novamente
Vale ressaltar que esta não é a melhor prática, mas caso precise virtualizar o pfSense use este procedimento por sua conta em risco.
-
Hi!
A quick tip: use Markdown syntax for command blocks. Like this:
``` xe foo-bar uuid ```This will display this:
xe foo-bar uuid -
Boa dica!

-
@olivierlambert said in [TUTORIAL] - Ajustanto NIC para a virtualização do pfSense.:
ks. Like
Thanks for the tip.
-
F felipefonsecabh referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login