modified on 21 lip 2010 at 09:04 ••• 4 378 views

Interfejs/Virtual-ethernet

Z MikroTik Wiki

Dla RouterOS:
v4.x

Spis treści

Summary

To connect your virtual routers to RouterOS host system you either have to assign interface for your guest (possible only on MetaROUTER) or you can add virtual Ethernet interface that is described in this document.

May contain either static or dynamic interface. Static interfaces should be configured here if under /kvm interface (for KVM or /metarouter interface for MetaROUTER. Dynamic interfaces will be recreated automatically each reboot and will contain new MAC address.

Requirements

This menu becomes available:

  • on x86 architeecture you have to have kvm packge installed
  • on mipsbe architecture RouterBOARDS
  • on ppc architecture RouterBOARDS, except RB333, RB600 and variants.

Virtual Ethernet creation

Menu: /interface virtual-ethernet add


Property Desciption
arp (disabled | enabled | proxy-arp | reply-only, default: enabled) ARP protocol resolution mode:
  • disabled - interface is not replying to ARP requests
  • enabled - interface is replaying to all ARP requests on its MAC address
  • proxy-arp - interface is replying to all ARP requests even if it is not interface MAC address
  • reply-only - interface replies only to known (static entries in ARP table) sources
comment (text) Short description of the item
copy-from (number) Item number to copy settings from to create new item
disabled (yes | no default: yes) identifies if entry is part of active coniguration
mac-address (MAC address default: automatically generated) MAC address of interface. If automatically generated, then this pattern will be used 02:XX:XX:XX:XX:XX
mtu (0 65536 default: 1500) maximal transmission unit of the interface
name (text default: tapX or vifX) Interface name where, if auto-generated, X is inreased if previous valid number already exists, starts with 1. tap is on x86 vif is on RouterBOARD platform.

See Also