Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Steve on February 28, 2000, 06:18:52 AM
-
I am doing testing with the e-smith v 4.0b3 system.
Is there any way to add a static network route to the e-smith server?
I see how to setup the security for multiple internal networks, but not how to setup a route. One of the previous posts suggested that the solution to this problem was wait for version 4.0......
-
Steve wrote:
> I am doing testing with the e-smith v 4.0b3 system. Is there
> any way to add a static network route to the e-smith server? I
> see how to setup the security for multiple internal networks,
> but not how to setup a route. One of the previous posts
> suggested that the solution to this problem was wait for
> version 4.0......
I can't see anywhere where that would happen either. This means
that multiple local networks will only currently work where e-smith is used in a dedicated server-only mode - all networks would then be reachable via the default gateway, or where the the e-smith is used in server/gateway mode, and the additional "local networks" are external Internet sites.
You can fix this in your system by writing a script /etc/e-smith/events/actions/add-local-routes, and dropping a symlink to it into /etc/e-smith/events/create-network - see http://www.e-smith.org/custom/ for documentation of the customisation process. To fix this more generally we would have to add a "Gateway" property into the local networks setup page.
Regards
Charlie
-
Thanks for the suggestions.
I'll have a look at the files tomorrow.
I'm impressed with how easy this distribution is to setup!!!
I hope it works out for this particular application.
It will be replacing an NT solutions that would cost
many times more.
Thanks again......
-
I created a shell script that runs route add and saved it in
/etc/e-smith/events/actions/add-local-routes
I dropped a symlink to it into
/etc/e-smith/events/network-create/S95add-local-routes
I finally realized that the network-create event doesn't take place
everytime the system is booted. Is there an event that I can copy
this to that will run each time the system comes up?
Thanks again for your help.
-
Steve wrote:
> I created a shell script that runs route add and saved it in
> /etc/e-smith/events/actions/add-local-routes I dropped a
> symlink to it into
> /etc/e-smith/events/network-create/S95add-local-routes
>
> I finally realized that the network-create event doesn't take
> place everytime the system is booted. Is there an event that I
> can copy this to that will run each time the system comes up?
Move your script to /etc/rc.d/rc.local.routes, then add one line to the bottom of /etc/rc.d/rc.local:
/etc/rc.d/rc.local.routes # Set up local static routes.
Charlie
-
That did it.
If all goes well, e-smith will be in several different companies
and they love paying for support.....