How Do I Add a Route to a Table in Linux?
Contents

How do I add a route to my table?

In the navigation pane, choose Route Tables, and select the route table. Choose Actions, Edit routes. To add a route, choose Add route. For Destination enter the destination CIDR block, a single IP address, or the ID of a prefix list.

How do I use routing table in Linux?

The current recommended way of printing the routing table in Linux is with the ip command followed by route, as demonstrated below. If you’re in a hurry you can also shorten this to ‘ip r’ which will print the same output.

Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest