A customer has asked me to work out how to get layer-2 traffic from a Juniper SRX, across the public internet and back into another SRX so that they can conserve IP address space. I worked the followign out in the lab, using a pair of SRX240s, and a pair of Cisco routers to simulate the public internet. Crucially, fragmentation of large packets is important, since MTU sizes across the internet could be variable. GRE tunnels don’t fragment by default, but this configuration permits that.
There might be scalability issues with the configuration as shown below, so it needs more work doing to it, but it at least proves that this is possible.
What we’re doing here is running MPLS over a GRE tunnel across the Internet, and putting a layer-2 circuit (Circuit Cross-Connect as Junos calls it) over that.