1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

How to View Routing Table

Discussion in 'Asuswrt-Merlin' started by Mike S, May 26, 2020.

  1. Mike S

    Mike S Occasional Visitor

    Joined:
    Feb 1, 2020
    Messages:
    46
    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.
     
  2. JonEngland

    JonEngland Occasional Visitor

    Joined:
    Mar 31, 2018
    Messages:
    38
    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
     
    sentinelvdx likes this.