Sponsored Content
Operating Systems Linux Red Hat Centos-quick way to check if static routes are persistent Post 302954972 by coolatt on Monday 14th of September 2015 01:58:28 AM
Old 09-14-2015
Linux Centos-quick way to check if static routes are persistent

Hi All,

Is there a quick way to check whether the current routes on my centos are
persistent or not before rebooting ?

i can take a route -n output but i may completely lost access to my server if the routes are gone.

thanks.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

quick check of my awk syntax

I've made an awk command that works successfully. However I'd like to add one character to it. For example instead of /what_i_have_now/ I'd like to change just ONE field to the opposite with an exclamation point. Like this: ! /what_i_have_now/ My question, where am I supposed to place... (1 Reply)
Discussion started by: yongho
1 Replies

2. AIX

Static Routes question

I added a static route through smit using: Communications applications and Services ==> TCIP/IP ==> Further Configuration ==> Static Routes ==> Add a Static Route ==> Route Type of host Filled in Destination Address, Default Gateway Address and Network Interface of en0. This... (2 Replies)
Discussion started by: jyoung
2 Replies

3. UNIX for Advanced & Expert Users

Linux - Persistent routes not working

Hello, I'm having problems with persistent routes. I have the route added to route-eth1. But when I run the 'route' command to display the routes, it does not show the newly added route. I did restart the network service. That did not help. I also rebooted the server, but still did not... (1 Reply)
Discussion started by: hemangjani
1 Replies

4. Solaris

Add Static Routes to new physical address

Hi, I need help to add new route: 10.252.0.138, GW 10.252.0.129 to e1000g1 and 10.252.0.10, GW 10.252.0.1 to e1000g2 tnx (4 Replies)
Discussion started by: mehrdad68
4 Replies

5. IP Networking

I need HELP to Set up Coyote Linux router with 1 static IP & 64 internal static IP

hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first. ... (0 Replies)
Discussion started by: dlwoaud
0 Replies

6. UNIX for Advanced & Expert Users

quick remote health check SAP systems from UNIX commandline

Hi folks Howto do quick remote health check for SAP systems on UNIX commandline? To see if a SAP system is down or in maintenace mode (no login). I am searching something like "tnsping"/Oracle for SAP systems. (2 Replies)
Discussion started by: slashdotweenie
2 Replies

7. Programming

Even the Static cURL Library Isn't Static

I'm writing a program which uses curl to be run on Linux PCs which will be used by a number of different users. I cannot make the users all install curl on their individual machines, so I have tried to link curl in statically, rather than using libcurl.so. I downloaded the source and created a... (8 Replies)
Discussion started by: BrandonShw
8 Replies

8. SCO

Static routes in SCO

Hi, Just a question of thought. Why one needs to add static routes on Unix servers ? If I had ethernet card, it already has the settings for gateway for incoming and outgoing requests. We donot have to explicitly set the route it should take. Then what is the use... (3 Replies)
Discussion started by: dextergenious
3 Replies

9. Red Hat

How to set static routes for packets, within the same Network?

I have three systems A,B,C. I want to configure A in such a way that all packets from A to C goes via B. I tried: 1. ip route add 'ip of C' via 'ip of B' 2. route add -net 'net address' netmask gw 'ip of B' These commands work initially when I try a ping or traceroute and expire after... (2 Replies)
Discussion started by: kanak
2 Replies

10. Shell Programming and Scripting

Good way to check firewall port on Linux centos 7

Hi, I need to know what kind of firewall settings does the linux box have? Is port 25 blocked in any way? Linux techx 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I'm coming from this thread. (1 Reply)
Discussion started by: mohtashims
1 Replies
ROUTE6D(8)						    BSD System Manager's Manual 						ROUTE6D(8)

NAME
route6d -- RIP6 routing daemon SYNOPSIS
route6d [-adDhlnqsS] [-R routelog] [-A prefix/preflen,if1[,if2...]] [-L prefix/preflen,if1[,if2...]] [-N if1[,if2...]] [-O prefix/preflen,if1[,if2...]] [-T if1[,if2...]] [-t tag] DESCRIPTION
The route6d is a routing daemon which supports RIP over IPv6. Options are: -a Enables aging of the statically defined routes. With this option, any statically defined routes will be removed unless corresponding updates arrive as if the routes are received at the startup of route6d. -R routelog This option makes route6d log route changes (add/delete) to the file routelog. -A prefix/preflen,if1[,if2...] This option is used for aggregating routes. prefix/preflen specifies the prefix and the prefix length of the aggregated route. When advertising routes, route6d filters specific routes covered by the aggregate and advertises the aggregated route prefix/preflen to the interfaces specified in the comma-separated interface list if1[,if2...]. route6d creates a static route to prefix/preflen, with the RTF_REJECT flag set, into the kernel routing table. -d Enables output of debugging messages. This option also instructs route6d to run in foreground mode (i.e., it does not become a daemon process). -D Enables extensive output of debugging messages. This option also instructs route6d to run in foreground mode (i.e., it does not become a daemon process). -h Disables split horizon processing. -l By default, route6d will not exchange site local routes for safety reasons. This is because the semantics of site local address space are rather vague, as the specification is still being worked on, and there is no good way to define the site local boundary. With -l, route6d will exchange site local routes as well. It must not be used on site boundary routers, since -l assumes that all interfaces are in the same site. -L prefix/preflen,if1[,if2...] Filter incoming routes from interfaces if1,[if2...]. route6d will accept incoming routes that are in prefix/preflen. If multiple -L options are specified, all routes that match any of the options are accepted. ::/0 is treated specially as default route, not ``any route that has longer prefix length than, or equal to 0''. If you would like to accept any route, specify no -L option. For exam- ple, with ``-L 3ffe::/16,if1 -L ::/0,if1'' route6d will accept the default route and routes in the 6bone test address range, but no others. -n Do not update the kernel routing table. -N if1[,if2...] Do not listen to, or advertise, route from/to interfaces specified by if1,[if2...]. -O prefix/preflen,if1[,if2...] Restrict route advertisement toward interfaces specified by if1,[if2...]. With this option route6d will only advertise routes that match prefix/preflen. -q Makes route6d use listen-only mode. No advertisement is sent. -s Makes route6d advertise the statically defined routes which exist in the kernel routing table when route6d is invoked. Announcements obey the regular split horizon rule. -S This option is the same as -s, except that the split horizon rule does apply. -T if1[,if2...] Advertise only the default route toward if1,[if2...]. -t tag Attach the route tag tag to originated route entries. tag can be decimal, octal prefixed by 0, or hexadecimal prefixed by 0x. Upon receipt of signal SIGINT or SIGUSR1, route6d will dump the current internal state into /var/run/route6d_dump. FILES
/var/run/route6d_dump contains the internal state dumps created if route6d receives a SIGINT or SIGUSR1 signal SEE ALSO
G. Malkin and R. Minnear, RIPng for IPv6, RFC 2080, January 1997. NOTES
route6d uses the advanced IPv6 API, defined in RFC 3542, for communicating with peers using link-local addresses. Internally route6d embeds interface identifiers into bits 32 to 63 of link-local addresses (fe80::xx and ff02::xx) so they will be visible in the internal state dump file (/var/run/route6d_dump). Routing table manipulation differs from IPv6 implementation to implementation. Currently route6d obeys the WIDE Hydrangea/KAME IPv6 kernel, and will not be able to run on other platforms. Currently, route6d does not reduce the rate of the triggered updates when consecutive updates arrive. BSD
May 25, 2006 BSD
All times are GMT -4. The time now is 02:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy