Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
infrastructure:virtualisation:libvirt:openvswitch [01/12/2020 10:42] Stéphane Pailletinfrastructure:virtualisation:libvirt:openvswitch [01/12/2020 10:54] (Version actuelle) Stéphane Paillet
Ligne 1: Ligne 1:
-====== Openvwitch ======+====== Openvswitch ======
 {{tag>virtualisation libvirt openvswitch}} {{tag>virtualisation libvirt openvswitch}}
  
Ligne 15: Ligne 15:
  
 auto vmbr0 auto vmbr0
-allow-ovs vmbr0+allow-ovs ovsbr0
 iface vmbr0 inet manual iface vmbr0 inet manual
         ovs_type OVSBridge         ovs_type OVSBridge
Ligne 21: Ligne 21:
  mtu 9000  mtu 9000
  
-allow-vmbr0 eth0+allow-ovsbr0 eth0
 iface eth0 inet manual iface eth0 inet manual
  ovs_type OVSPort  ovs_type OVSPort
- ovs_bridge vmbr0+ ovs_bridge ovsbr0
  ovs_options tag=40 vlan_mode=native-untagged  ovs_options tag=40 vlan_mode=native-untagged
  mtu 9000  mtu 9000
  
-allow-vmbr0 vlan40+allow-ovsbr0 vlan40
 iface vlan40 inet static iface vlan40 inet static
  ovs_type OVSIntPort  ovs_type OVSIntPort
- ovs_bridge vmbr0+ ovs_bridge ovsbr0
  ovs_options tag=40  ovs_options tag=40
  ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif  ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
Ligne 38: Ligne 38:
  gateway 192.168.40.1  gateway 192.168.40.1
  mtu 1500  mtu 1500
-#Management vlan 
  
-allow-vmbr0 vlan41+allow-ovsbr0 vlan41
 iface vlan41 inet static iface vlan41 inet static
         ovs_type OVSIntPort         ovs_type OVSIntPort
-        ovs_bridge vmbr0+        ovs_bridge ovsbr0
         ovs_options tag=41         ovs_options tag=41
         ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif         ovs_extra set interface ${IFACE} external-ids:iface-id=$(hostname -s)-${IFACE}-vif
Ligne 50: Ligne 49:
         gateway 192.168.41.1         gateway 192.168.41.1
         mtu 1500         mtu 1500
-#Infra vlan+</code> 
 + 
 +Pour contrôler la configuration 
 +<code> 
 +sudo ovs-vsctl show
 </code> </code>
  • infrastructure/virtualisation/libvirt/openvswitch.1606819362.txt.gz
  • Dernière modification : 01/12/2020 10:42
  • de Stéphane Paillet