documentation:configuration:config_files:config_network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
documentation:configuration:config_files:config_network [2015/05/18 10:25]
admin [routes]
documentation:configuration:config_files:config_network [2015/05/18 10:37]
admin
Line 10: Line 10:
 | [[config_network#​switch_vlan|switch_vlan]] | switch-vlan configuration | | [[config_network#​switch_vlan|switch_vlan]] | switch-vlan configuration |
 | [[config_network#​interface|interface]] | logical networks | | [[config_network#​interface|interface]] | logical networks |
 +| [[config_network#​route|route]] | static routing |
 +| [[config_network#​rule|rule]] | policy based routing |
  
 ==== globals ==== ==== globals ====
Line 202: Line 204:
 </​file>​ </​file>​
 and it will be recognized by the uci parser but not applied by the ''/​etc/​init.d/​network''​ script. and it will be recognized by the uci parser but not applied by the ''/​etc/​init.d/​network''​ script.
 +
 +===== rule =====
 +
 +Rules are required to define policy based routing. ​
 +
 +
 +Example:
 +<​code>​
 +config rule
 + option mark   '​0xFF'​
 +        option in     '​lan'​
 + option dest   '​172.16.0.0/​16'​
 + option lookup '​100'​
 +</​code>​
 +
 +
  
documentation/configuration/config_files/config_network.txt ยท Last modified: 2018/05/24 09:05 (external edit)