User:Grzesiek: Difference between revisions
Content added Content deleted
(→OVS) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
https://docs.openvswitch.org/en/latest/faq/issues/ |
https://docs.openvswitch.org/en/latest/faq/issues/ |
||
=OVS= |
=OVS= |
||
ovs-vsctl add-port swglobal vxlan_hv -- set interface vxlan_hv type=vxlan options:remote_ip=172.16.3.1 options:key=flow |
ovs-vsctl add-port swglobal vxlan_hv -- set interface vxlan_hv type=vxlan options:remote_ip=172.16.3.1 options:key=flow |
||
ovs-vsctl set int swhv0 mtu_request=2000 |
ovs-vsctl set int swhv0 mtu_request=2000 |
||
ovs-vsctl add-port swglobal vxlan_hv2 -- set interface vxlan_hv2 type=vxlan options:remote_ip=172.16.3.11 options:key=flow |
ovs-vsctl add-port swglobal vxlan_hv2 -- set interface vxlan_hv2 type=vxlan options:remote_ip=172.16.3.11 options:key=flow |
||
ovs-vsctl set int swglobal mtu_request=2000 |
ovs-vsctl set int swglobal mtu_request=2000 |
||
ovs-vsctl set int swhv0 mtu_request=2000 |
ovs-vsctl set int swhv0 mtu_request=2000 |
||
hv0:~# virsh dumpxml gateway |
|||
<interface type='bridge'> |
|||
<model type='virtio'/> |
|||
<mtu size='2000'/> |
|||
<alias name='net0'/> |
|||
</interface> |
|||
<interface type='bridge'> |
|||
<model type='virtio'/> |
|||
<mtu size='2000'/> |
|||
</interface> |
|||
hv0:~# virsh dumpxml hv2 |
|||
<interface type='bridge'> |
|||
<model type='virtio'/> |
|||
<mtu size='2000'/> |
|||
</interface> |
|||
ovn-nbctl set-connection ptcp:6641 |
ovn-nbctl set-connection ptcp:6641 |
Latest revision as of 08:32, 3 July 2024
https://rwmj.wordpress.com/2010/07/17/virtio-balloon/
https://docs.openvswitch.org/en/latest/faq/issues/
OVS[edit]
ovs-vsctl add-port swglobal vxlan_hv -- set interface vxlan_hv type=vxlan options:remote_ip=172.16.3.1 options:key=flow ovs-vsctl set int swhv0 mtu_request=2000 ovs-vsctl add-port swglobal vxlan_hv2 -- set interface vxlan_hv2 type=vxlan options:remote_ip=172.16.3.11 options:key=flow ovs-vsctl set int swglobal mtu_request=2000 ovs-vsctl set int swhv0 mtu_request=2000 hv0:~# virsh dumpxml gateway <interface type='bridge'> <model type='virtio'/> <mtu size='2000'/> <alias name='net0'/> </interface> <interface type='bridge'> <model type='virtio'/> <mtu size='2000'/> </interface> hv0:~# virsh dumpxml hv2 <interface type='bridge'> <model type='virtio'/> <mtu size='2000'/> </interface>
ovn-nbctl set-connection ptcp:6641 ovn-sbctl set-connection ptcp:6642 ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:172.16.16.40:6642" external_ids:ovn-nb="tcp:172.16.16.40:6641" external_ids:ovn-encap-ip=172.16.16.11 external_ids:ovn-encap-type=vxlan ovs-vsctl set Open_vSwitch . \ external_ids:ovn-remote="tcp:$CENTRAL_IP:6642" \ external_ids:ovn-nb="tcp:$CENTRAL_IP:6641" \ external_ids:ovn-encap-ip=$LOCAL_IP \ external_ids:ovn-encap-type="$ENCAP_TYPE" ovn-nbctl ls-add sw0 ovn-nbctl lsp-add sw0 sw0-port1
cat /etc/modprobe.d/kvm_intel.conf options kvm-intel nested=1 options kvm-intel enable_shadow_vmcs=1 options kvm-intel enable_apicv=1 options kvm-intel ept=1
TODO[edit]
https://access.redhat.com/solutions/732773 https://www.linux-kvm.org/page/Projects/auto-ballooning