ip route & ip rule

Discussion in 'Tomato Firmware' started by ggmm1985, Dec 13, 2007.

  1. ggmm1985

    ggmm1985 LI Guru Member

    ip route delete table 10
    ip route add 0/0 via table 10

    after the above command, and I type "ip route show table 10", it show me nothing:frown:

    any help?

    and I want to add a rule to this routing table(ip rule add from table 10)

    it throw "RTNETLINK answers: Invalid argument"

    the same command I exec in dd-wrt is OK,why can't tomato?
  2. ggmm1985

    ggmm1985 LI Guru Member

    cd tomato/linux/linux
    make menuconfig
    then select the advance router
    compile the source
    all work fine!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice