?SD-WAN: Implementing a layer 2 connection over SD-WAN
Fusion allows you to setup a PWAN between two locations. Let us assume the GW on each location is 192.168.0.1 (Edge 1) and 192.168.0.2 (Edge 2). The IPs are configured on br0, a bridge associated with the LAN port eth0. Once the PWAN is established we want a layer 2 connection between the two as follows:
+------------ Virtual switch ----------------+
+---------+ | +-------+ +----------+ +-------+ | +--------+
|Client A |<--+-->|Edge 1 |<-->| PWAN |<-->| Edge 2|<--+-->|Client B|
+---------+ | +-------+ +----------+ +-------+ | +--------+
+--------------------------------------------+
On the edge cli we configure the following:
Edge 1:
ip link add gretap0 type gretap local 192.168.0.1 remote 192.168.1.1
ip link set dev gretap0 up
brctl addif br0 gretap0
Edge 2:
ip link add gretap0 type gretap local 192.168.1.1 remote 192.168.0.1
ip link set dev gretap0 up
brctl addif br0 gretap0
* Ronald works connecting Internet inhabiting things at Fusion Broadband.