dtctl router
The router commands create and manage routers, which connect your networks to each other and to an external network for internet access. Attach internal interfaces to route between networks, set an external gateway for outbound access (with SNAT), and add static routes.
Commands
- router list: List routers
- router show: Show a router
- router create: Create a router
- router update: Rename a router
- router update-static-route: Update a static route
- router delete: Delete a router
- router delete-external-gateway: Remove the external gateway
- router delete-interface: Detach an interface
- router delete-static-route: Delete a static route
- router add-static-route: Add a static route
- router attach-external-gateway: Attach an external gateway
- router attach-interface: Attach an internal interface
- router externals: List networks with external access
- router interfaces: List a router's interfaces
- router restart: Restart a router
- router static-routes: List a router's static routes