Title: Static route green interface Post by: ilserver 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. Title: Re: Static route green interface Post by: ilserver 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 Title: Re: Static route green interface Post by: timupci 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.
Title: Re: Static route green interface Post by: ilserver on Friday 15 June 2012, 12:25:33 am Thanx a lot! I'll try your way also.
|