Ethernet Interfaces
Document revision: | 1.2 (Fri Apr 16 12:35:37 GMT 2004) |
Applies to: | V2.8 |
General Information
Summary
MikroTik RouterOS supports various types of Ethernet Interfaces. The complete list of supported Ethernet NICs can be found in the Device Driver List.
Specifications
Packages required: systemLicense required: Level1
Submenu level: /interface ethernet
Standards and Technologies: IEEE 802.3
Hardware usage: Not significant
Related Documents
Additional Resources
Ethernet Interface Configuration
Submenu level: /interface ethernetProperty Description
name (name; default: etherN) - assigned interface name, whrere 'N' is the number of the ethernet interface arp (disabled | enabled | proxy-arp | reply-only; default: enabled) - Address Resolution Protocol mtu (integer; default: 1500) - Maximum Transmission Unit disable-running-check (yes | no; default: yes) - disable running check. If this value is set to 'no', the router automatically detects whether the NIC is connected with a device in the network or not mac-address (read-only: MAC address) - Media Access Control address of the card auto-negotiation (yes | no; default: yes) - when enabled, the interface "advertises" its maximum capabilities to achieve the best connection possible full-duplex (yes | no; default: yes) - defines whether the transmission of data appears in two directions simultaneously long-cable (yes | no; default: no) - changes the cable length setting (only applicable to NS DP83815/6 cards). For cable lengths of more than 50m, set "long-cable=yes" speed (10 Mbps | 100 Mbps | 1000 Mbps) - sets the data transmission speed of the interface. By default, this value is the maximal data rate supported by the interfaceNotes
For some Ethernet NICs it is possible to blink the LEDs for 10s. Type /interface ethernet blink ether1 and watch the NICs to see the one which has blinking LEDs.
When disable-running-check is set to no, the router automatically detects whether the NIC is connected to a device in the network or not. When the remote device is not connected (the leds are not blinking), the route which is set on the specific interface, becomes invalid.
Example
[admin@MikroTik] > interface print Flags: X - disabled, D - dynamic, R - running # NAME TYPE RX-RATE TX-RATE MTU 0 X ether1 ether 0 0 1500 [admin@MikroTik] > interface enable ether1 [admin@MikroTik] > interface print Flags: X - disabled, D - dynamic, R - running # NAME TYPE RX-RATE TX-RATE MTU 0 R ether1 ether 0 0 1500 [admin@MikroTik] > interface ethernet [admin@MikroTik] interface ethernet> print Flags: X - disabled, R - running # NAME MTU MAC-ADDRESS ARP 0 R ether1 1500 00:0C:42:03:00:F2 enabled [admin@MikroTik] interface ethernet> print detail Flags: X - disabled, R - running 0 R name="ether1" mtu=1500 mac-address=00:0C:42:03:00:F2 arp=enabled disable-running-check=yes auto-negotiation=yes full-duplex=yes long-cable=no speed=100Mbps [admin@MikroTik] interface ethernet>
Monitoring the Interface Status
Command name: /interface ethernet monitorProperty Description
status (link-ok | no-link | unknown) - status of the interface, one of the:no-link - the card has not connected to the network
unknown - the connection is not recognized
incomplete - negotiation failed
Notes
See the IP Addresses and ARP section of the manual for information how to add IP addresses to the interfaces.
Example
[admin@MikroTik] interface ethernet> monitor ether1,ether2 status: link-ok link-ok auto-negotiation: done done rate: 100Mbps 100Mbps full-duplex: yes yes
Troubleshooting
Description
Interface monitor shows wrong information
In some very rare cases it is possible that the device driver does not show correct information, but it does not affect the NIC's performance (of course, if your card is not broken)