Différences
Ci-dessous, les différences entre deux révisions de la page.
| 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 Paillet | infrastructure:virtualisation:libvirt:openvswitch [01/12/2020 10:54] (Version actuelle) – Stéphane Paillet | ||
|---|---|---|---|
| Ligne 15: | Ligne 15: | ||
| auto vmbr0 | auto vmbr0 | ||
| - | allow-ovs | + | allow-ovs |
| 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 |
| iface eth0 inet manual | iface eth0 inet manual | ||
| ovs_type OVSPort | ovs_type OVSPort | ||
| - | ovs_bridge | + | ovs_bridge |
| 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 |
| iface vlan40 inet static | iface vlan40 inet static | ||
| ovs_type OVSIntPort | ovs_type OVSIntPort | ||
| - | ovs_bridge | + | ovs_bridge |
| ovs_options tag=40 | ovs_options tag=40 | ||
| ovs_extra set interface ${IFACE} external-ids: | ovs_extra set interface ${IFACE} external-ids: | ||
| 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 |
| iface vlan41 inet static | iface vlan41 inet static | ||
| ovs_type OVSIntPort | ovs_type OVSIntPort | ||
| - | ovs_bridge | + | ovs_bridge |
| ovs_options tag=41 | ovs_options tag=41 | ||
| ovs_extra set interface ${IFACE} external-ids: | ovs_extra set interface ${IFACE} external-ids: | ||
| Ligne 50: | Ligne 49: | ||
| gateway 192.168.41.1 | gateway 192.168.41.1 | ||
| mtu 1500 | mtu 1500 | ||
| - | #Infra vlan | + | </ |
| + | |||
| + | Pour contrôler la configuration | ||
| + | < | ||
| + | sudo ovs-vsctl show | ||
| </ | </ | ||