Sponsored Content
Full Discussion: how to clear router table
Operating Systems Linux how to clear router table Post 302187967 by qingsha on Tuesday 22nd of April 2008 11:10:12 AM
Old 04-22-2008
Quote:
Originally Posted by sysgate
I think you are referring to "route" command. route del will work, I don't know why it's slow. You can also wipe out the file /proc/net/route, which holds all the info.
Sysgate, thanks for you answer, however, since /proc/net/net is a read-only file, can I wipe it out?

PS: maybe SLOW is not a right word, and the right word may be COMBERSOME.
Say there are 5 records in the routing table, if I have to run "route del ..." 5 times to make the table empty, it is a little cumbersome, isn't it?
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

select values from db1 table and insert into table of DB2

Hi I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.) I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
Discussion started by: aemunathan
2 Replies

2. UNIX for Dummies Questions & Answers

Remote Unix printing to my WinXP works with no router. How can I make it work through my router?

I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies

3. Web Development

Getting Rid of Annoying Bootstrap Table Borders and Wayward Table Lines

Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer: <script> $(function(){ $('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
rdpd(1M)																  rdpd(1M)

NAME
rdpd - router discovery protocol daemon (OBSOLETE) SYNOPSIS
| | DESCRIPTION
the router discover protocol daemon, implements the host portion of the router discovery protocol (see More specifically o solicits router advertisements when it is first started so as to populate the kernel table as soon as possible. o listens on all ethernet interfaces (that are up) for ICMP router advertisement datagrams. o adds a default router to the kernel table based on whether the router is a neighbor and has the highest preference among all advertisements received. o ages the default router entry applied to the kernel table based on the lifetime value found in the advertisement message. can be started during boot-time initialization. To do so, see (But see below.) Options supports the following options: Display the version of Enable tracing of the following events: o setting of expiration timer for advertised entry. o expiration of a router advertisement entry (only the active entry has a timer running). o add/update of an advertised router to the kernel. o removal from kernel table of an advertised router. o reception of a router advertisement from the link. o transmission of a router solicitation message. o failure while attempting to transmit a solicitation. Enable verbose tracing, which in addition to the above, traces: o contents of the router advertisement message received. o contents of rdpd internal statics which includes: 1. total number of messages received, 2. total number advertisements received, 3. total number of advertisements with invalid number of addresses field, 4. total number of advertisements with invalid address size field, 5. total number of advertisements with invalid message lengths, 6. total number of advertisements with invalid lifetime fields, 7. total number of messages with number of bytes received <> header length field. LIMITATIONS
1. The maximum number of default routes retained is 10. Only one of which is applied to the kernel routing tables (the one with the high- est preference). In the event that the advertised router with the highest preference expires the retained advertised router list will be searched for the highest preference, still current entry and that entry will be applied to the kernel table. This allows for quick recovery from aged advertisements. 2. only becomes aware of link state changes when either a new Router Advertisement message is received or a timer pops to age a currently active default router added by This may cause a delay between an interface state change (e.g., down) and any necessary change to the kernel routing table. 3. The "all hosts on subnet" broadcast address is used for sending solicitations instead of either the all-routers multicast or limited- broadcast IP addresses. 4. The limited-broadcast address for inbound Advertisements is assumed. 5. Default routers added via the command can be altered due to Router Advertisements for the same router. 6. Adding default routes via the command can cause unpredictable results and should be avoided. OBSOLESCENCE
The functionality of has been subsumed in See the statements described in gated.conf(4). has been obsoleted in HP-UX 11i Version 2. WARNINGS
should not be used if is enabled when running AUTHOR
was developed by HP. SEE ALSO
gated(1M), gated.conf(4). [1] Deering, S., "ICMP Router Discovery Messages", RFC 1256 rdpd(1M)
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy