Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 MikroTik RouterOS Unifi Setup Guide

views
     
squall0833
post Jul 15 2023, 02:21 AM

Regular
******
Senior Member
1,473 posts

Joined: Oct 2006
From: Jupiter


I'm trying to make something like this but not sure if it is possible or maybe it's totally wrong, Im new to vlan, hope sifu help

What I wanted to do..
QUOTE
hap AC:
ether1 - WAN
ether2 - my PC
ether3 - trunk to  port 8 of TP link Smart switch SG108E v4 (with vlan support)
ether4 - not connected (was for VoIP gateway, but I want to move it to SG108E switch port 3
ether5 - IPTV

SG108E
Port 1-2,4-7 = normal access port
Port 3 = VoIP gateway
Port 8 = connect to hap AC ether3 trunk port


so my current hap AC vlan configuration are below

CODE

interface bridge print
R;;; defconf
    name="bridge" mtu=auto actual-mtu=1500 l2mtu=1594 arp=enabled arp-timeout=auto mac-address=xxxxxxxxxx protocol-mode=rstp
    fast-forward=yes igmp-snooping=no auto-mac=no admin-mac=xxxxxxxxxxx ageing-time=5m priority=0x8000 max-message-age=20s
    forward-delay=15s transmit-hold-count=6 vlan-filtering=yes ether-type=0x8100 pvid=1 frame-types=admit-all ingress-filtering=yes
    dhcp-snooping=no

interface bridge port print
Flags: I - INACTIVE; H - HW-OFFLOAD
Columns: INTERFACE, BRIDGE, HW, PVID, PRIORITY, PATH-COST, INTERNAL-PATH-COST, HORIZON
#    INTERFACE    BRIDGE  HW   PVID  PRIORITY  PATH-COST  INTERNAL-PATH-COST  HORIZON
;;; defconf
0    ether2       bridge  yes     1  0x80             10                  10  none  
;;; defconf
1    ether3       bridge  yes     1  0x80             10                  10  none  
;;; defconf
2 IH ether4-VoIP  bridge    yes     1  0x80             10                  10  none  
;;; defconf
3 I  ether5-IPTV  bridge    yes     1  0x80             10                  10  none  
;;; defconf
4    wlan1        bridge          1  0x80             10                  10  none  
;;; defconf
5 I  wlan2        bridge          1  0x80             10                  10  none  
6    vlan400      bridge          1  0x80             10                  10  none  
7    vlan600      bridge            1  0x80             10                  10  none  


interface bridge port vlan print
Flags: D - DYNAMIC
Columns: BRIDGE, VLAN-IDS, CURRENT-TAGGED, CURRENT-UNTAGGED
#   BRIDGE  VLAN-IDS  CURRENT-TAGGED  CURRENT-UNTAGGED
0 D bridge         1                  bridge          
                                     ether2          
                                     wlan1          
                                     vlan400        
                                     ether3          
1   bridge       400  bridge                          
                     ether3                                      



my TP Link SG108E 802.1Q VLAN configuration as below:

QUOTE
VLAN 1 (default)
Untagged Port 1-2,4-8
Tagged none
PVID=1  Port 1-2,4-8

VLAN 400 (VoIP)
Untagged Port 3
Tagged Port 8
PVID=400 Port 3
my VoIP gateway connected to SG108E port 3, VoIP Phone does not work, other ports do work as access ports, any Mikrotik sifu can help? did I miss something or do anything wrong?

This post has been edited by squall0833: Jul 15 2023, 02:23 AM

 

Change to:
| Lo-Fi Version
0.0135sec    0.69    6 queries    GZIP Disabled
Time is now: 26th November 2025 - 01:03 AM