EoGRE Layer 2 Tunnel
This example configures a Ethernet-over-GRE layer 2 tunnel and a bridge:
- create a bridge interface
br0 - create a EoGRE tunnel
eogreto192.0.2.2using VNI42 - add
eogreand the interfaceeth0to the bridgebr0 - disable STP on the bridge
br0 - set all interface link states to
up
ifstate
interfaces:
- name: br0
link:
kind: bridge
br_stp_state: 0
state: up
- name: eth0
link:
kind: physical
master: br0
state: up
- name: eogre
link:
kind: gretap
gre_local: 192.0.2.1
gre_remote: 192.0.2.2
master: br0
state: up