Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 25 November 2024, 06:20:18 am

Login with username, password and session length

Download the latest community FREE version  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Static route green interface
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Static route green interface  (Read 12401 times)
ilserver
Jr. Member
*
Offline Offline

Posts: 4


« on: Saturday 09 June 2012, 01:33:45 am »

Hi,
I read all the post regarding adding static routes on green if. All I have read didn't work. Adding command route add -net network/mask gw gwaddr if br0 on rc.interface.up before exit 0 don't have result

Anyone can explain how make permanent this type of routes??? efw vers. 2.5.1

Thanks a lot.

Logged
ilserver
Jr. Member
*
Offline Offline

Posts: 4


« Reply #1 on: Monday 11 June 2012, 06:58:05 pm »

If someone have same problem I just find a working way:

Create a start.local file under /var/efw/inithooks/ folder;
Put inside the route command but *IMPORTANT* don't forgot to give full path to route command.

For example:
to add a route:
route add -net 192.168.x.x/24 gw 192.168.x.gw dev IFACE
use instead:
/sbin/route add -net 192.168.x.x/24 gw 192.168.x.gw dev IFACE

Probably the path var is not set when /var/efw/inithooks/start.local is processed


Logged
timupci
Full Member
***
Offline Offline

Posts: 34


« Reply #2 on: Wednesday 13 June 2012, 03:00:43 am »

Use the GUI. Set Source to blank and then set destination and gateway. This will solve your issues.
Logged
ilserver
Jr. Member
*
Offline Offline

Posts: 4


« Reply #3 on: Friday 15 June 2012, 12:25:33 am »

Thanx a lot! I'll try your way also.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.078 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com