alball Posts 1
|
If you are running into a situation where the web gui is on one network and all the snmp traffic is on another, there is an easy way to make this happen.
vi /etc/rc.conf
Add the following lines to the conf file:
static_routes="native" route_native="-net 192.168.1.0/24 192.168.1.1" defaultrouter="172.168.1.1"
The first line sets labels to the the routes which are referenced below. The second line tells the route command what route to add. This example 192.168.1.0/24 network has a default gateway of 192.168.1.1. This way when the request to poll the devices on the native network the beacon system will route to the correct network. The last line is your route of last resort or default route. This is for the web interface of the beacon system.
All of this is documented at : http://www.freebsd.org/doc/en/books/handbook/network-routing.html Look under section 31.2.5.2.
|