routeros - interface setting

 

目錄

  • Loop Protect
  • ARP Setting
  • slave

 


Loop Protect

 

原理

Prevent Layer2 loops by sending loop protect protocol packets and

    shutting down interfaces in case they receive loop protect packets originated from themself.

The feature works by checking source MAC address of received loop protect packet

    against MAC addresses of loop protect enabled interfaces.

設定

  • loop-protect (on | off ; Default: off)                                    # Enables or disables loop protect on selected interface.
  • loop-protect-send-interval (time interval; Default: 5s)          # Sets how often loop protect packets are sent on selected interface.
  • loop-protect-disable-time (time interval | 0; Default: 5m)     # Sets how long selected interface is disabled when loop is detected. 0 - forever

log msg

04:52:40 interface,warning ether2-master received loop protect packet originated from 6C:3B:6B:XX:XX:XX (ether2-master)
04:52:40 interface,info ether2-master link down
04:57:43 interface,info ether2-master link up (speed 1G, full duplex)

 


ARP Setting

 

Reply Only

router only replies to ARP requests.

Neighbour MAC addresses will be resolved using /ip arp statically,

but there will be no need to add the router's MAC address to other hosts' ARP tables like in case if arp is disabled.

Local Proxy Arp

The router performs proxy ARP to/from this interface only.

the router will respond to all client hosts with the router's own interface MAC address instead of the other host's MAC address.

(In a normal LAN, the default behaviour is for two network hosts to communicate directly with each other, without involving the router.)

 


slave

 

slave                                                # Slave of another interface (for example Bonding)

master-port (name; Default: none)     # Sets interface to be a slave of this named switch group master interface

 


 

Creative Commons license icon Creative Commons license icon