Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-18-2004, 08:47 PM   #1
Registered: Feb 2004
Posts: 36

Rep: Reputation: 15
changing non-main routing tables ?

Some software I am running uses the 127 routing table
ip route show table 127 gives me dev eth0 proto static
default via dev tap0 proto static scope link

I need the default to point to some other number, and some other device. How do I change this entry??

I know how to do it with the "main" routing table.
route add default gw

I have never heard of this 127 routing table, could some one fill me in on what it is and what is it doing?

BTW i am using RH7.3 with 2.4.18-3 kernel on a Dell laptop.
Please any help would be appreciated.
Old 02-20-2004, 10:51 AM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
ip route show table 127 gives me dev eth0 proto static
default via dev tap0 proto static scope link
To change it, do
ip route replace default via x.x.x.x dev tap0 table 127

Routing for a while has been using the ip_route2 programme which uses these tables.
ip rule list will give you the active rules and the tables they use.

Tables are usually in /etc/iproute2/rt_tables...

Last edited by peter_robb; 02-20-2004 at 10:53 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing tables TPB Linux - Networking 3 07-27-2005 10:01 PM
IP Routing Tables collern2 Linux - Security 1 05-23-2005 11:48 AM
two routing tables fugzi Linux - Networking 7 12-03-2004 07:02 PM
routing tables help hadoque Linux - Networking 0 08-28-2004 10:10 AM
routing tables dunkyb Linux - Networking 3 05-25-2003 03:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration