This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
сервисы_gateway_и_routing [2022/09/06 16:26] val [Debian/Ubuntu] |
сервисы_gateway_и_routing [2022/12/05 06:44] val [Linux] |
||
---|---|---|---|
Line 44: | Line 44: | ||
# ip route help | # ip route help | ||
- | # ip r add 192.168.Y.0/24 via 172.16.1.Y | + | gate.isp.un# ip r add 192.168.Y.0/24 via 172.16.1.Y |
+ | |||
+ | gate# ip r add 192.168.110.0/24 via 192.168.X.201 | ||
+ | gate# ip r add 192.168.120.0/24 via 192.168.X.202 | ||
+ | gate# ip r add 192.168.130.0/24 via 192.168.X.203 | ||
# ip r del 192.168.Y.0/24 | # ip r del 192.168.Y.0/24 | ||
+ | |||
+ | ip route add|del blackhole|unreachable 192.168.100+X.201 | ||
</code> | </code> | ||