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

Notices


Reply
  Search this Thread
Old 02-18-2004, 07:47 PM   #1
laclac01
Member
 
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
192.168.0.0/24 dev eth0 proto static
default via 192.168.101.3 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 10.10.10.1

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.
Thanks
 
Old 02-20-2004, 09:51 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Quote:
ip route show table 127 gives me
192.168.0.0/24 dev eth0 proto static
default via 192.168.101.3 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 09:53 AM.
 
  


Reply



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 09:01 PM
IP Routing Tables collern2 Linux - Security 1 05-23-2005 10:48 AM
two routing tables fugzi Linux - Networking 7 12-03-2004 06:02 PM
routing tables help hadoque Linux - Networking 0 08-28-2004 09:10 AM
routing tables dunkyb Linux - Networking 3 05-25-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:54 AM.

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