•
http://www.cisco.com/warp/public/473/27.html#tagging
•
http://www.cisco.com/warp/public/538/7.html
•
http://www.nwfusion.com/news/tech/2001/0305tech.html
•
http://www.intel.com/network/connectivity/resources/doc_library/tech_brief/virtual_lans.htm
VLAN Setup
Home menu level: /interface vlan
Property Description
arp ( disabled | enabled | proxy-arp | reply-only ; default: enabled ) - Address Resolution Protocol
setting
• disabled - the interface will not use ARP protocol
• enabled - the interface will use ARP protocol
• proxy-arp - the interface will be an ARP proxy
• reply-only - the interface will only reply to the requests originated to its own IP addresses, but
neighbor MAC addresses will be gathered from /ip arp statically set table only
interface ( name ) - physical interface to the network where are VLANs
mtu ( integer ; default: 1500 ) - Maximum Transmission Unit
name ( name ) - interface name for reference
vlan-id ( integer ; default: 1 ) - Virtual LAN identifier or tag that is used to distinguish VLANs.
Must be equal for all computers in one VLAN.
Notes
MTU should be set to 1500 bytes as on Ethernet interfaces. But this may not work with some
Ethernet cards that do not support receiving/transmitting of full size Ethernet packets with VLAN
header added (1500 bytes data + 4 bytes VLAN 14 bytes Ethernet header). In this situation
MTU 1496 can be used, but note that this will cause packet fragmentation if larger packets have to
be sent over interface. At the same time remember that MTU 1496 may cause problems if path
MTU discovery is not working properly between source and destination.
Example
To add and enable a VLAN interface named test with vlan-id=1 on interface ether1:
[admin@MikroTik] interface vlan> add name=test vlan-id=1 interface=ether1
[admin@MikroTik] interface vlan> print
Flags: X - disabled, R - running
#
NAME
MTU
ARP
VLAN-ID INTERFACE
0 X
test
1500 enabled
1
ether1
[admin@MikroTik] interface vlan> enable 0
[admin@MikroTik] interface vlan> print
Flags: X - disabled, R - running
#
NAME
MTU
ARP
VLAN-ID INTERFACE
0
R test
1500 enabled
1
ether1
[admin@MikroTik] interface vlan>
Page 358 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.