diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 22:43:14 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 22:43:14 +0200 |
commit | ea6dec1329b08109387f091b60a13d1b40839317 (patch) | |
tree | 39db613e3f6982d109a01247b72617a7b4529236 /config/network | |
parent | 5eefbc1a53e34db35c9a567d147c6d0bd341cf18 (diff) |
add support for configuring static routes
Diffstat (limited to 'config/network')
-rw-r--r-- | config/network | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/network b/config/network index 5514b0b..782557b 100644 --- a/config/network +++ b/config/network @@ -52,3 +52,9 @@ config interface test option proto static option ipaddr 192.168.5.1 option netmask 255.255.255.0 + +config route + option target 192.168.0.1 + option netmask 24 + option gateway 192.168.5.2 + option interface wan |