03-29-2010
Add the route in your init script, create a init script for the routes
eg:
vi /etc/rc2.d/S76static-routes
chmod 755 /etc/rc2.d/S76static-routes
Reboot and check the routes are added or not [U]
which entry i should add in the file.the below command should i add or should i create a emp.ty file.
suppose if i create a empty file how it will recognized the 172.20.1.60 .
route add 172.20.1.60 -netmask 255.255.255.0 172.20.255.253
9 More Discussions You Might Find Interesting
1. IP Networking
I am trying to add a permanent route on my server, but whenever i reboot it dissapears.
Please does anyone know the correct command to use.
route add XXX.XXX.XXX.XXX DDD.DDD.DDD.DDD
the above is what i have done.
ednut:)
using IRIX SGI software. (2 Replies)
Discussion started by: Ednut
2 Replies
2. IP Networking
Good day :)
I recently checked some stuff on my gateway and discovered what I believe is an unneeded route entry.
# route -n
Kernel IP routing table
Destination Gateway Genmask ... Iface
287.265.45.0 0.0.0.0 255.255.255.0 ... eth0
192.168.0.0 0.0.0.0 ... (3 Replies)
Discussion started by: J.P
3 Replies
3. AIX
Hi,
We are running AIX 5.2.
Our default gateway used to be IP Address A.
Our new default gateway is IP Address B.
A netstat revealed that our default route was IP address A.
We manually added default route with IP address B and removed the default route with IP address A.
However,... (3 Replies)
Discussion started by: DenD
3 Replies
4. Solaris
How do I make a route permanent, other than default route on a Solaris server? (1 Reply)
Discussion started by: jontom
1 Replies
5. IP Networking
In my college dorm, there is a file sharing network in the entire building. Problem is, there is only a manual for windows with the settings on how to connect... :mad:
They say that you have to give the following command in cmd in windows:
route add 172.16.71.0 mask 255.255.255.0... (2 Replies)
Discussion started by: Japie89
2 Replies
6. Solaris
Does anyone know how to delete a an ip off the routing table ? i tried route delete 10.0.0.0 and gateway but it still comes back. i have 2 zones sharing one interface. help... (4 Replies)
Discussion started by: 23patrick
4 Replies
7. UNIX for Advanced & Expert Users
Hello
Hope someone can help with this problem. We are running Solaris 10 with a current kernel patch of 142900-09.
We appear to be getting a serious issue with the routing table as shown below:
Output from netstat -rnv
Destination ....Mask ............Gateway ........Device... (2 Replies)
Discussion started by: gregsih
2 Replies
8. Solaris
Greetings,
I am using solaris10 x86 OS. I configured IP address using the command.
>ifconfig e1000g0 plumb
>ifconfig e1000g0 200.200.0.1 up
How to make this configured IP as permanent.. to solaris os. (2 Replies)
Discussion started by: bhargav90
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all. Linux noob here.
I was hoping someone could help me with configuring some routing rules on my router, an Asus AC68.
The router is connected to two gateways, wan0_gateway and wan1_gateway.
I have rules set up in the router gui that will push all traffic from every IP other than my own... (0 Replies)
Discussion started by: Bishi
0 Replies
LEARN ABOUT CENTOS
nrparms
NRPARMS(8) Linux System Managers Manual NRPARMS(8)
NAME
nrparms - Configure the NET/ROM interface.
SYNOPSIS
nrparms -nodes node +|- ident quality count port neighbour [digicall...]
nrparms -routes port nodecall [digicall...] +|- quality
nrparms -version
DESCRIPTION
This program is used to manipulate the routing tables of the NET/ROM network layer, or to get and set many of the network and transport
layer parameters for the NET/ROM protocol. The program has three basic modes of operation, node setting, neighbour setting and general
parameter setting. The syntax for the node and neighbour setting is taken from the original NET/ROM manual and is therefore not very UNIXy
but should be familiar to those familiar with NET/ROMs or TheNet.
To set up a new route to a NET/ROM node in the routing tables you must use the nodes option. All of the parameters are needed to add the
node. It is probably best to illustrate with an example:
nrparms -nodes GB7BPQ + NMCLUS 120 6 vhf G8ROU-3
This creates a new route to a distant node with the callsign GB7BPQ and the alias NMCLUS, it has a quality of 120 (out of 255) and has an
obsolescence count of six and packets for that node should be sent on the AX.25 port named vhf to my immediate neighbour G8ROU-3. The call-
signs of the node and the neighbour may be the same. For example to set up the node G8ROU-3 which is also my immediate neighbour, I would
use:
nrparms -nodes G8ROU-3 + MATLCK 200 6 vhf G8ROU-3
If the ident of the remote node is not known, it is possible to add a node with a blank ident. To do this an ident of '*' must be entered
on the command line. Because of the command line expansion that shells do, the * must be escaped by enclosing it in quotes.
It is also possible to remove a route to a distant node with the same command except that the + is replaced by a -. The other parameters
must also be present. If the node has not other routes then the node will be deleted, and the neighbour node that the connections go via
may also be deleted if no other node route uses it, and it is not a locked neighbour entry.
When setting up a new node, a new neighbour entry may also be created. This will have a default value. For that neighbour to be meaningful
in the automatic routing process, it must have a more reasonable entry in the neighbours list. To do this the routes option of the command
must be used. An example:
nrparms -routes ax0 G8ROU-3 + 120
This will create (or update) the neighbour entry for G8ROU-3 with a quality of 120 and it will be locked, it will not create a node entry
for the neighbour. This quality will be used by the netromd(8) program when calculating route qualities via this neighbour. Normally once a
neighbour has zero node routes going via it, it will be deleted. Locking a neighbour prevents the deletion from occurring. To unlock a
neighbour entry, the same command is used but with the + replaced by a -.
FILES
/etc/ax25/axports
/etc/ax25/nrports
SEE ALSO
call(1), netrom(4), nrports(5), axparms(8), netromd(8), nrparms(8).
AUTHOR
Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
Linux 25 January 1997 NRPARMS(8)