Feature request: add routes via file import

Suggestions/comments/criticisms are welcome here


Posts: 1
Joined: Tue Feb 27, 2018 11:08 pm

Post by cgr » Tue Feb 27, 2018 11:23 pm
Hi guys,

It would be very useful to be able to import a file having each destination/mask on a line, to complement the Add Route dialog in the Connections - Networking - Routing.

I think that in most cases the IP Version, Gateway and Metric will stay the same and are anyways easy to be edited later. But adding a dozen destinations and masks manually is an error-prone and tedious task.

Thank you.


User avatar
Posts: 2076
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Tue Mar 06, 2018 3:35 pm
Hi cgr,

Thanks for the feedback - much appreciated.

One option you could consider to bulk add routes is copy-pasting the routes into the advanced commands text field for the connection. The syntax is "route <ip> <netmask> <gateway (optional)>" for IPv4, and "route-ipv6 <ip>/<prefix> <gateway (optional)>" for IPv6. For example:
Code: Select all
route-ipv6 2001::1/64
For more information please see:
https://www.sparklabs.com/support/kb/ar ... n-commands

James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1