What's new

How to View Routing Table

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Mike S

Regular Contributor
How can I view the routing table on an Asus Router running the latest version of Asus-Merlin? I am trying to debug a routing problem, so I want to see all of the routes in the router, not just static routes that I have configured.
 
How can I view the routing table on an Asus Router running the latest version of Asus-Merlin? I am trying to debug a routing problem, so I want to see all of the routes in the router, not just static routes that I have configured.

look in the gui > system log > routing table

or, ssh to the router and run the command below, e.g.
ip route
default via x.x.x.x dev eth0
10.8.0.0/24 dev tun21 proto kernel scope link src 10.8.0.1
10.24.193.0/24 dev tun11 proto kernel scope link src 10.24.193.3
x.x.x.x/22 dev eth0 proto kernel scope link src x.x.x.x
x.x.x.x dev eth0 proto kernel scope link
127.0.0.0/8 dev lo scope link
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
192.168.5.0/24 dev wl1.1 proto kernel scope link src 192.168.5.1

or, if you want to know what interface will be used for a specific ip address then use command below, e.g.
ip route get 8.8.8.8
8.8.8.8 via x.x.x.x dev eth0 src x.x.x.x
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top