for a customer setup we are trying to configure a site to site vpn with a asa5505 and a asa5520.
Both side's need to be in the same subnet so it with be a Layer2 VPN(bridge).
I've looked around but can't seem to find anything about it. Does anybody have experience with this or an example?
I have here 2 asa5505 firewall on my desk to test the vpn connection.
PS: i now it's beter to route the traffic instead of bridge the traffic but it's only as a backup line so no production will be goiing over the line.
It is not possible
ASA does not support L2TP client configuration, so you can't have L2TP between 2 ASAs.
If you really need L2, then you have to deploy two routers (one on each site) and configure an IPSec/GRE-Tunnel between them. There you can bridge your traffic.
Don't stop after you've improved your network! Improve the world by lending money to the working poor: