cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
404
Views
4
Helpful
2
Replies

How to add a static route on sensor

tednie
Level 1
Level 1

Does anyone know how to add a static route, other then default, on a sensor running 4.1.x?

Thanks

Tom

2 Replies 2

marcabal
Cisco Employee
Cisco Employee

This is not officially supported by Cisco.

If this is something you would like to see officially supported, then contact the TAC and ask them to create an enhancement request for this.

In the meantime, there is an unsupported method for doing this, but it requires going through the service account. Once you use the service account, you will not be supported by the TAC, because they have no way of tracking changes that happen through the service account and will not be able to tell if a problem is because of changes you may have made through the service account.

With that said here is the method:

Login to the service account.

Switch to user root (same password as the service account)

Use the standard Linux route command to add the static route. (Use the man pages on a RedHat Linux box if you need help to create the route command).

Once you've figured out the route command you can paste it into a file.

You will now want to have that file called everytime the system reboots.

You will need to put a link to the file in either the /etc/rc2.d or /etc/rc3.d (don't remember which at the moment) so that it will be called on reboot.

It will need to be called after the S99local file that starts the cids programs so it will need a name like S99myRoute so it will come alphabetically after S99local.

Great! Thanks much.