aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug.d/iface/10-routes
Commit message (Collapse)AuthorAgeFilesLines
* base-files: move network related scripts to a separate package to make the ↵Felix Fietkau2011-10-201-137/+0
| | | | | | transition to netifd easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: use uci_toggle_state() to prevent unwanted aggregation ↵Jo-Philipp Wich2011-07-151-1/+1
| | | | | | of state vars (#9711) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: fix sysctl handling, do not react on fake ifaces in ↵Jo-Philipp Wich2011-02-251-2/+5
| | | | | | route hotplug handler git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:Jo-Philipp Wich2011-02-111-0/+27
| | | | | | | | | - properly disable IPv6 on bridge ports - introduce accept_ra option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: add "mtu" option for route sections, allows setting ↵Jo-Philipp Wich2010-06-301-2/+6
| | | | | | per-route mtu values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files:Jo-Philipp Wich2010-06-021-1/+2
| | | | | | | | | | | - add aliases to device by default (not ifname) - introduce option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-file: move alias setup to route hotplug, this fixes alias ↵Jo-Philipp Wich2010-06-011-0/+28
| | | | | | sections for non-static interfaces like ppp, dhcp, 6in4 etc. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix broken logic in r15272, r15273Jo-Philipp Wich2009-04-191-5/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: (#4928)Jo-Philipp Wich2009-04-191-0/+7
| | | | | | | | | | handle "option gateway 0.0.0.0" and "option gateway interface" in route sections as "no gateway given" to allow defining gateway-less routes while still keeping the possibility to have static routes with a proper gateway on interfaces with# dynamic ips git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15272 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: remove redundant netmask handling in 10-routesJo-Philipp Wich2009-04-121-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow ipv4 routes without gateway in configurationJo-Philipp Wich2008-12-221-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/base-files: allow ipv6 routes without gateway specifiedJo-Philipp Wich2008-11-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use default gateway for routes that have no gw specified, Signed off by: ↵John Crispin2008-06-061-4/+2
| | | | | | Brian J. Murrell git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-031-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add route6 option to setup IPv6 routes (#2528)Florian Fainelli2007-10-161-0/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS resetFelix Fietkau2007-07-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix static routes for dynamic interfaces (#1446)Felix Fietkau2007-07-121-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add support for static routes - based on the patch from #1365Felix Fietkau2007-03-021-0/+40
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73