Cisco Meraki - Need some thoughts on L2TP and split-tunneling

I'm trying to figure out how to simplify my set up when doing a split-tunnel connection with the Microsoft L2TP client to a Cisco Meraki firewall.

I know how to set it up to be split tunnel opposed to full tunnel by unticking the 'Use default gateway on remote network' But that requires me to add a route statement.

Or does someone know of a client that does L2TP that had a command line functionality? Or if I can do that with the built-in client in Windows 8.1/10? It would have to connect and then add the route and remove the route when I disconnect.

Be a lot easier if the Meraki did split tunnel by default. Or is that a limitation of L2TP clients?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
You could use a PS script to create the tunnel and then add the route.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jody LemoineNetwork ArchitectCommented:
This is actually a limitation of L2TP clients. They •do• split tunnel, but only across classful boundaries. So, for example, if you're connecting to a network on the, the client will tunnel 10.0,0.0/8. If all of your remote networks are within the class, you're good. Otherwise, you'll need to add route statements at the client. From a management perspective, keeping a TLS-based VPN like AnyConnect or SSTP on a separate appliance or server is a better angle.
mvalpredaAuthor Commented:
Interesting to hear that. Wonder why Meraki went that way. I can see that helping keep it simple with using built-in clients in the OS. Less to support....

New-NetRoute looks like what I might be looking for. I was doing it with old 'route add' commands, but that does it by interface number. Easy enough to script, but difficult across multiple computers.....especially if the IF index changes. This at least supports the interface alias.

Wonder if the route will 'go away' when I disconnect of if I will need to use 'remove-netroute' Time to experiment.
mvalpredaAuthor Commented:
new-netroute is perfect.
remove-netroute requires me to answer yes twice. Is there a way to script that?
mvalpredaAuthor Commented:
I got around that by using 'route delete' and that was enough. Just need to get the timing right on RemoteDesktopManager and I'll be good. It tries to connection too quickly after the route is created.

I have a repeatable process to connect to VPN, create the route, delete the route.

This certainly beats having a full tunnel.....especially with some of the slow connections at my customer sites!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.