User Tools

Site Tools


сервисы_gateway_и_routing

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 Both sides next revision
сервисы_gateway_и_routing [2022/01/29 12:31]
val [NetFilter iproute2 (Linux)]
сервисы_gateway_и_routing [2022/01/29 12:49]
val [NetFilter iproute2 (Linux)]
Line 284: Line 284:
  
 # ip rule add prio 100 from 192.168.X.0/​24 to 192.168.X.0/​24 table main # ip rule add prio 100 from 192.168.X.0/​24 to 192.168.X.0/​24 table main
-# ip rule add from 192.168.X.0/​25 table 101 +# ip rule add prio 200 from 192.168.X.0/​25 table 101 
-# ip rule add from 192.168.X.128/​25 table 102+# ip rule add prio 300 from 192.168.X.128/​25 table 102
  
 # ip rule show # ip rule show
Line 322: Line 322:
         ​         ​
         post-up ip rule add prio 100 from 192.168.X.0/​24 to 192.168.X.0/​24 table main         post-up ip rule add prio 100 from 192.168.X.0/​24 to 192.168.X.0/​24 table main
-        post-up ip rule add from 192.168.X.0/​25 table 101 +        post-up ip rule add prio 200 from 192.168.X.0/​25 table 101 
-        post-up ip rule add from 192.168.X.128/​25 table 102+        post-up ip rule add prio 300 from 192.168.X.128/​25 table 102
         ​         ​
         address 192.168.X.1         address 192.168.X.1
сервисы_gateway_и_routing.txt · Last modified: 2023/09/15 12:01 by val