Manual:IP/Settings: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Line 67: Line 67:


{{Mr-arg-table
{{Mr-arg-table
|arg=ip-forwarding
|arg=ip-forward
|type=yes {{!}} no
|type=yes {{!}} no
|default=yes
|default=yes
|desc=Emable/disable packet forwarding between interfaces. Resets all configuration parameters to defaults according to RFC1812 for routers.
|desc=Enable/disable packet forwarding between interfaces. Resets all configuration parameters to defaults according to RFC1812 for routers.
}}
}}


{{Mr-arg-table
{{Mr-arg-table
|arg=rp_filter
|arg=rp-filter
|type=loose {{!}} no {{!}} strict
|type=loose {{!}} no {{!}} strict
|default=no
|default=no
Line 99: Line 99:
}}
}}


{{Mr-arg-table-end
{{Mr-arg-table
|arg=tcp_syncookies
|arg=tcp-syncookies
|type=yes {{!}} no
|type=yes {{!}} no
|default=no
|default=no
Line 108: Line 108:
}}
}}


{{Mr-arg-table
|arg=max-neighbor-entries
|type=
|default=no
|desc=
}}
{{Mr-arg-table-end
|arg=oute-cache
|type=yes {{!}} no
|default=no
|desc=
}}


{{cont}}
{{cont}}

Revision as of 11:54, 1 November 2016

Version.png

Applies to RouterOS: v6+

Summary

Sub-menu: /ip settings


IP Settings allows to configure several IP related kernel parameters.



Properties

Property Description
accept-redirects (yes | no; Default: no) Whether to accept ICMP redirect messages. Typically should be enabled on host and disabled on routers.
accept-source-route (yes | no; Default: no) Whether to accept packets with SRR option. Typically should be enabled on router.
allow-fast-path (yes | no; Default: yes) Allows fast path
arp-timeout (time interval; Default: 30s) ARP timeout on all interfaces that use ARP. Can use postfix ms, s, m, h, d for milliseconds, seconds, minutes, hours or days. if no postfix is set then seconds (s) is used.
icmp-rate-limit (integer [0..4294967295]; Default: 10)
icmp-rate-mask ([0..FFFFFFFF]; Default: 0x1818)
ip-forward (yes | no; Default: yes) Enable/disable packet forwarding between interfaces. Resets all configuration parameters to defaults according to RFC1812 for routers.
rp-filter (loose | no | strict; Default: no) Disables enables source validation.
  • no - No source validation.
  • strict - Strict mode as defined in RFC3704 Strict Reverse Path. Each incoming packet is tested against the FIB and if the interface is not the best reverse path the packet check will fail. By default failed packets are discarded.
  • loose - Loose mode as defined in RFC3704 Loose Reverse Path. Each incoming packet's source address is also tested against the FIB and if the source address is not reachable via any interface the packet check will fail.
Current recommended practice in RFC3704 is to enable strict mode to prevent IP spoofing from DDos attacks. If using asymmetric routing or other complicated routing or VRRP, then loose mode is recommended.
secure-redirects (yes | no; Default: yes) Accept ICMP redirect messages only for gateways, listed in default gateway list.
send-redirects (yes | no; Default: yes) Whether to send ICMP redirects. Recommended to be enabled on routers.
tcp-syncookies (yes | no; Default: no) Send out syncookies when the syn backlog queue of a socket overflows. This is to prevent against the common 'SYN flood attack'. syncookies seriously violate TCP protocol, do not allow o use TCP extensions, can result in serious degradation of some services (f.e. SMTP relaying), visible not by you, but your clients and relays, contacting you.
max-neighbor-entries (; Default: no)
oute-cache (yes | no; Default: no)

[ Top | Back to Content ]