Hi guys
I’m completely new with Mikrotik.
I’m trying to make my new 750GL to function as Layer 3 switch.
I tried to configure ports: 3, 4 and 5 to be assigned to VLAN 10, when port 5 is configured as trunk port (tagged) and 3 and 4 as access ports (untagged).
It doesn’t work, that is why i’m here ![]()
In order to create my setup i used the following links:
http://wiki.mikrotik.com/wiki/Manual:Switch_Chip_Features
http://wiki.mikrotik.com/wiki/Manual:Interface/VLAN
This is the setup:
[admin@MikroTik] > export
# jan/02/1970 00:01:10 by RouterOS 6.4
# software id = ZHF4-A9GG
#
/interface ethernet
set 0 name=ether1-gateway
set 1 name=ether2-master-local
/ip neighbor discovery
set ether1-gateway discover=no
/interface vlan
add interface=ether5 l2mtu=1594 name=vlan10 vlan-id=10
/interface ethernet
set 2 master-port=ether5
set 3 master-port=ether5
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m mac-cookie-timeout=3d
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=vlan10 ranges=192.168.255.20-192.168.255.30
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=ether2-master-local name=default
add address-pool=vlan10 disabled=no interface=vlan10 name=vlan10
/interface ethernet switch port
set 2 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
set 3 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
set 4 vlan-header=add-if-missing vlan-mode=secure
set 5 vlan-mode=secure
/interface ethernet switch vlan
add independent-learning=no ports=ether4,ether3,ether5 switch=switch1 vlan-id=10
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=ether2-master-local network=192.168.88.0
add address=192.168.255.249/24 interface=vlan10 network=192.168.255.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=ether1-gateway
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" dns-server=192.168.88.1 gateway=192.168.88.1
add address=192.168.255.0/32 dns-server=192.168.255.250 domain=wan.local gateway=192.168.255.250 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3
add interface=ether4
add interface=ether5
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3
add interface=ether4
add interface=ether5
What could be wrong???
Regards