...
Info |
---|
RouterOS MACVLAN interfaces are not supported by Container, as it exclusively utilizes VETH (Virtual Ethernet) interfaces for its networking. |
...
Code Block | ||
---|---|---|
| ||
/interface macvlan add interface=ether1 name=macvlan1 /interface macvlan print Flags: R - RUNNING Columns: NAME, MTU, INTERFACE, MAC-ADDRESS, MODE # NAME MTU INTERFACE MAC-ADDRESS MODE 0 R macvlan1 1500 ether1 76:81:BF:68:69:83 bridge |
Now, a DHCP client can be created on ether1 and macvlan1 interfaces:
...
Property | Description |
---|---|
arp (disabled | enabled | local-proxy-arp | proxy-arp | reply-only; Default: enabled) | Address Resolution Protocol setting
|
arp-timeout (auto | integer; Default: auto) | How Sets for how long the ARP record is kept in the ARP table after no packets are received from IP. Value auto equals to the value of arp-timeout in IP/Settings / ip/settings/ , default is 30s. |
comment (string; Default: ) | Short description of the interface. |
disabled (yes | no; Default: no) | Changes whether the interface is disabled. |
interface (name; Default: ) | Name of the interface on top of which MACVLAN will work. MACVLAN interfaces can be created on Ethernet or VLAN interfaces, adding VLAN on MACVLAN is not supported. |
loop-protect (on | off | default; Default: default) | Enables or disables loop protect on the interface, the default works as turned off. |
loop-protect-disable-time (time interval | 0; Default: 5m) | Sets how long the selected interface is disabled when a loop is detected. 0 - forever. |
loop-protect-send-interval (time interval; Default: 5s) | Sets how often loop protect packets are sent on the selected interface. |
mac-address (MAC; Default: ) | Static MAC address of the interface. A randomly generated MAC address will be assigned when not specified. |
mode (private | bridge; Default: bridge) | Sets MACVLAN interface mode:
|
mtu (integer; Default: 1500) | Sets Layer3 Layer 3 Maximum Transmission Unit. For the MACVLAN interface, it cannot be higher than the parent interface. |
name (string; Default: ) | Interface name. |
...