ip route list

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Vespian
DD-WRT User


Joined: 26 May 2009
Posts: 183
Location: N34 31.872 E69 10.821 for now.

PostPosted: Sun Sep 23, 2012 16:51    Post subject: ip route list Reply with quote
Alright, so I've done some digging in the wiki, and I'm trying to look up the routing tables... but it appears that the commands referenced in the wiki for policy based routing

ip route list table local
ip route list table main

Do nothing. What am I doing wrong? Where can I go to learn how to use the implementation of iproute that dd-wrt uses? Has it been stripped down?

How do I list the routing tables?

_________________
The Peacock Thread <-- New? READ THIS!
------

Current:
ASUS RT-N16 DD-WRT v24-sp2 mega(SVN revision 19519)Running OTRW - Take 2 on 8 GB Flash Disk. 128M swap + 7.5 GB ext2 on /opt
Past:
ASUS WL500GP v2 [DD-WRT v24-sp2 (06/17/09) mega-(SVN 12307M NEWD Eko)]

Registered Linux User #491768
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sun Sep 23, 2012 19:14    Post subject: Reply with quote
try

Code:
ip route

which lists the main table.
the rest is disabled and will be activated in the next beta

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Vespian
DD-WRT User


Joined: 26 May 2009
Posts: 183
Location: N34 31.872 E69 10.821 for now.

PostPosted: Sun Sep 23, 2012 19:43    Post subject: Reply with quote
Code:
ip route


That returns nothing. What I am trying to discover is what modifications openVPN makes to the routing table, and iptables when it comes up with redirect-gateway def1 enabled. I want to see how it does this. I have displayed the script contained in route-up.sh, but modifying this has had no effect.

All I want to do is figure out how to manually direct traffic from one interface, out the tunnel created by openVPN manually... so that I can modify which bridge (or which network) gets redirected. I'm sure the solution isn't extremely complicated.. but I've been working on this for days now and I've been having little luck.

_________________
The Peacock Thread <-- New? READ THIS!
------

Current:
ASUS RT-N16 DD-WRT v24-sp2 mega(SVN revision 19519)Running OTRW - Take 2 on 8 GB Flash Disk. 128M swap + 7.5 GB ext2 on /opt
Past:
ASUS WL500GP v2 [DD-WRT v24-sp2 (06/17/09) mega-(SVN 12307M NEWD Eko)]

Registered Linux User #491768
Vespian
DD-WRT User


Joined: 26 May 2009
Posts: 183
Location: N34 31.872 E69 10.821 for now.

PostPosted: Sun Sep 23, 2012 22:09    Post subject: Reply with quote
Proof:

root@DD-WRT:~# ip route
root@DD-WRT:~#

It this behavior of my build? DD-WRT v24-sp2 (04/07/12)Mega 18946M

_________________
The Peacock Thread <-- New? READ THIS!
------

Current:
ASUS RT-N16 DD-WRT v24-sp2 mega(SVN revision 19519)Running OTRW - Take 2 on 8 GB Flash Disk. 128M swap + 7.5 GB ext2 on /opt
Past:
ASUS WL500GP v2 [DD-WRT v24-sp2 (06/17/09) mega-(SVN 12307M NEWD Eko)]

Registered Linux User #491768
Vespian
DD-WRT User


Joined: 26 May 2009
Posts: 183
Location: N34 31.872 E69 10.821 for now.

PostPosted: Mon Sep 24, 2012 0:39    Post subject: Reply with quote
CONFIRMED:

ip route

-is broken in that build. It functions normally in build 17990.

_________________
The Peacock Thread <-- New? READ THIS!
------

Current:
ASUS RT-N16 DD-WRT v24-sp2 mega(SVN revision 19519)Running OTRW - Take 2 on 8 GB Flash Disk. 128M swap + 7.5 GB ext2 on /opt
Past:
ASUS WL500GP v2 [DD-WRT v24-sp2 (06/17/09) mega-(SVN 12307M NEWD Eko)]

Registered Linux User #491768
seaholland
DD-WRT Novice


Joined: 29 Sep 2012
Posts: 2

PostPosted: Sat Sep 29, 2012 17:53    Post subject: Reply with quote
Code:
route -n
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum