GENEVE Layer 2 Tunnel
This example configures a GENEVE layer 2 tunnel and a bridge:
- create a bridge interface
br0 - create a GENEVE tunnel
gen0to192.0.2.2using VNI42 - add
gen0and the interfaceeth0to the bridgebr0 - disable STP on the bridge
br0 - set all interface link states to
up
{
networking.ifstate = {
enable = true;
settings = {
interfaces = {
br0 = {
link = {
kind = "bridge";
br_stp_state = 0;
state = "up";
};
};
eth0 = {
link = {
kind = "physical";
master = "br0";
state = "up";
};
};
gen0 = {
link = {
kind = "geneve";
geneve_id = 42;
geneve_remote = "192.0.2.2";
master = "br0";
state = "up";
};
};
};
};
};
}