# Configuration eth1 et eth2 # RAPPEL: eth0 est à vagrant, ne pas y toucher ## Désactivation de network-manager NetworkManager: service: - dead - enable: False ## Suppression de la passerelle par défaut ip route del default: cmd: - run ## Configuration de VM2 eth1: network.managed: - enabled: True - type: eth - proto: none - enable_ipv4: false - ipv6proto: static - enable_ipv6: true - ipv6_autoconf: no - ipv6ipaddr: fc00:1234:1::26 - ipv6netmask: 64 eth2: network.managed: - enabled: True - type: eth - proto: none - enable_ipv4: false - ipv6proto: static - enable_ipv6: true - ipv6_autoconf: no - ipv6ipaddr: fc00:1234:2::26 - ipv6netmask: 64 ## No need to add routes ## But enable ipv6 forwarding net.ipv6.conf.all.forwarding: sysctl: - present - value: 1