Community discussions

MikroTik App
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Could anyone help me to configure Untagged VLAN with Trunk?

Mon Sep 03, 2018 7:00 pm

Here is my Configuration.
1- Create Bonding1 Interface with Ether1 and Ether2
2- Create Bridge_Trunk then add Bonding1
3- Create VLAN10, VLAN20, VLAN30, VLAN100(Management) with Bridge_Trunk as VLAN Interface.
4- DHCP Server each VLAN.
All configure are working. But I want Untagged VLAN100 working with Trunk, So that UniFi Switch will getting DHCP IP through Trunk.
Can anyone help me for that please?Image

Sent from my PLE-701L using Tapatalk


Last edited by nsb on Mon Sep 03, 2018 7:00 pm, edited 1 time in total.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11280
Joined: Mon Dec 04, 2017 9:19 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Mon Sep 03, 2018 9:07 pm

Post your existing configuration to get the modification necessary to make VLAN100 on the bond untagged on the wire. See the recommendation how to do it in my automatic signature.
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Tue Sep 04, 2018 2:49 am

Post your existing configuration to get the modification necessary to make VLAN100 on the bond untagged on the wire. See the recommendation how to do it in my automatic signature.
Hello Sindy! Here are my configuration

interface bonding print
Flags: X - disabled, R - running
0 R name="Bonding1-LAN1&2" mtu=1500 mac-address=6C:3B:6B:60:60:36 arp=enabled
arp-timeout=auto slaves=ether1-LAN1,ether2-LAN2 mode=802.3ad primary=none
link-monitoring=mii arp-interval=100ms arp-ip-targets=""
mii-interval=100ms down-delay=0ms up-delay=0ms lacp-rate=30secs
transmit-hash-policy=layer-2-and-3 min-links=0

interface bridge print
Flags: X - disabled, R - running
0 R name="Bridge_Trunk" mtu=auto actual-mtu=1500 l2mtu=1580 arp=enabled
arp-timeout=auto mac-address=6C:3B:6B:60:60:34 protocol-mode=rstp
fast-forward=no igmp-snooping=no auto-mac=yes ageing-time=5m
priority=0x8000 max-message-age=20s forward-delay=15s
transmit-hold-count=6 vlan-filtering=no

interface vlan print
Flags: X - disabled, R - running
# NAME MTU ARP VLAN-ID INTERFACE
0 R VLAN10_LAN1 1500 enabled 10 Bridge_Trunk
1 R VLAN20_WiFi 1500 enabled 20 Bridge_Trunk
2 R VLAN30_Guest 1500 enabled 30 Bridge_Trunk
3 R VLAN100_MGMT 1500 enabled 100 Bridge_Trunk

ip dhcp-server print
Flags: D - dynamic, X - disabled, I - invalid
# NAME INTERFACE RELAY ADDRESS-POOL LEASE-TIME ADD-ARP
0 dhcp1 VLAN10_LAN1 dhcp_pool1 10m
1 dhcp2 VLAN20_WiFi dhcp_pool2 10m
2 dhcp3 VLAN30_Guest dhcp_pool3 10m
3 dhcp4 VLAN100_MGMT dhcp_pool4 10m
 
sid5632
Long time Member
Long time Member
Posts: 560
Joined: Fri Feb 17, 2017 6:05 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Tue Sep 04, 2018 3:06 am

Is that the output of "/export hide-sensitive" then?
No, it isn't.
Can you not read? Or do think you know better? In which case why are you asking for help?
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Tue Sep 04, 2018 3:18 am

Hi sid5632!
Is that the output of "/export hide-sensitive" then?
No, it isn't.
Can you not read? Or do think you know better? In which case why are you asking for help?
It is working but I cannot provide UniFi Switch with an IP address, so that I cannot manage UniFi Switch. So that I post for help. I don't know how to create Untagged VLAN through Bonding Interface or Bridge.

Sent from my PLE-701L using Tapatalk

 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11280
Joined: Mon Dec 04, 2017 9:19 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Tue Sep 04, 2018 10:37 am

What @sid5632 had in mind was that I have asked you for a configuration export and you've provided something else instead, so it is impossible to help you.
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Tue Sep 04, 2018 1:12 pm

What @sid5632 had in mind was that I have asked you for a configuration export and you've provided something else instead, so it is impossible to help you.
Hi @sindy and @sid5632, here are the exporting code, sorry for my bad English to understand what you mean.

/interface bonding
add mode=802.3ad name=Bonding1-LAN1&2 slaves=ether1-LAN1,ether2-LAN2 \
transmit-hash-policy=layer-2-and-3

/interface bridge
add fast-forward=no name=Bridge_Trunk
/interface bridge port
add bridge=Bridge_Trunk interface=Bonding1-LAN1&2

/interface vlan
add interface=Bridge_Trunk name=VLAN10_LAN1 vlan-id=10
add interface=Bridge_Trunk name=VLAN20_WiFi vlan-id=20
add interface=Bridge_Trunk name=VLAN30_Guest vlan-id=30
add interface=Bridge_Trunk name=VLAN100_MGMT vlan-id=100

/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=VLAN10_LAN1 name=dhcp1
add address-pool=dhcp_pool2 disabled=no interface=VLAN20_WiFi name=dhcp2
add address-pool=dhcp_pool3 disabled=no interface=VLAN30_Guest name=dhcp3
add address-pool=dhcp_pool4 disabled=no interface=VLAN100_MGMT name=dhcp4
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
add address=192.168.20.0/24 gateway=192.168.20.1
add address=192.168.30.0/24 gateway=192.168.30.1
add address=192.168.100.0/24 gateway=192.168.100.1
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Wed Sep 05, 2018 7:30 am

What @sid5632 had in mind was that I have asked you for a configuration export and you've provided something else instead, so it is impossible to help you.
Hi @sindy and @sid5632, here are the exporting code, sorry for my bad English to understand what you mean.

/interface bonding
add mode=802.3ad name=Bonding1-LAN1&2 slaves=ether1-LAN1,ether2-LAN2 \
transmit-hash-policy=layer-2-and-3

/interface bridge
add fast-forward=no name=Bridge_Trunk
/interface bridge port
add bridge=Bridge_Trunk interface=Bonding1-LAN1&2

/interface vlan
add interface=Bridge_Trunk name=VLAN10_LAN1 vlan-id=10
add interface=Bridge_Trunk name=VLAN20_WiFi vlan-id=20
add interface=Bridge_Trunk name=VLAN30_Guest vlan-id=30
add interface=Bridge_Trunk name=VLAN100_MGMT vlan-id=100

/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=VLAN10_LAN1 name=dhcp1
add address-pool=dhcp_pool2 disabled=no interface=VLAN20_WiFi name=dhcp2
add address-pool=dhcp_pool3 disabled=no interface=VLAN30_Guest name=dhcp3
add address-pool=dhcp_pool4 disabled=no interface=VLAN100_MGMT name=dhcp4
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
add address=192.168.20.0/24 gateway=192.168.20.1
add address=192.168.30.0/24 gateway=192.168.30.1
add address=192.168.100.0/24 gateway=192.168.100.1
Can anyone help me about this please? Thanks for any help.
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3348
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Wed Sep 05, 2018 10:29 am

If you are on 6.41, it looks like you miss the Bridge/VLAN configuration.
There you tells if VLAN should go tagged or not to port/bridge.
Look here: viewtopic.php?f=2&t=138232#p681222
and Sindys post here:
viewtopic.php?f=2&t=138232#p681018

example
/interface bridge vlan
add bridge=bridge-all-vlans vlan-ids=10 tagged=bridge-all-vlans,ether2,ether3 untagged=ether1
add bridge=bridge-all-vlans vlan-ids=20 tagged=bridge-all-vlans,ether1,ether3 untagged=ether2
add bridge=bridge-all-vlans vlan-ids=30 tagged=bridge-all-vlans,ether1,ether2 untagged=ether3
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Mon Sep 10, 2018 3:36 pm

If you are on 6.41, it looks like you miss the Bridge/VLAN configuration.
There you tells if VLAN should go tagged or not to port/bridge.
Look here: viewtopic.php?f=2&t=138232#p681222
and Sindys post here:
viewtopic.php?f=2&t=138232#p681018

example
/interface bridge vlan
add bridge=bridge-all-vlans vlan-ids=10 tagged=bridge-all-vlans,ether2,ether3 untagged=ether1
add bridge=bridge-all-vlans vlan-ids=20 tagged=bridge-all-vlans,ether1,ether3 untagged=ether2
add bridge=bridge-all-vlans vlan-ids=30 tagged=bridge-all-vlans,ether1,ether2 untagged=ether3
Thanks @Jotne, and how to make VLAN as access port on
VLAN10_LAN1 on Ether3
VLAN20_WiFi on Ether4
VLAN30_Guest on Ether5
VLAN100_MGMT on Ether6
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13130
Joined: Thu Mar 03, 2016 10:23 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Mon Sep 10, 2018 3:51 pm

... and how to make VLAN as access port on
VLAN10_LAN1 on Ether3
VLAN20_WiFi on Ether4
VLAN30_Guest on Ether5
VLAN100_MGMT on Ether6
.
/interface bridge vlan
add bridge=bridge-all-vlans vlan-ids=10 tagged=bridge-all-vlans untagged=ether3
add bridge=bridge-all-vlans vlan-ids=20 tagged=bridge-all-vlans untagged=ether4
add bridge=bridge-all-vlans vlan-ids=30 tagged=bridge-all-vlans untagged=ether5
add bridge=bridge-all-vlans vlan-ids=100 tagged=bridge-all-vlans untagged=ether6
.
The example above only brings VLANs to bridge and there you have to deal with them via vlan interfaces. If you want to bridge some particular VLANs to some other interface, you need to add that particular interface to either tagged or untagged list of ports for that particular VLAN.
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Wed Sep 12, 2018 4:54 pm

... and how to make VLAN as access port on
VLAN10_LAN1 on Ether3
VLAN20_WiFi on Ether4
VLAN30_Guest on Ether5
VLAN100_MGMT on Ether6
.
/interface bridge vlan
add bridge=bridge-all-vlans vlan-ids=10 tagged=bridge-all-vlans untagged=ether3
add bridge=bridge-all-vlans vlan-ids=20 tagged=bridge-all-vlans untagged=ether4
add bridge=bridge-all-vlans vlan-ids=30 tagged=bridge-all-vlans untagged=ether5
add bridge=bridge-all-vlans vlan-ids=100 tagged=bridge-all-vlans untagged=ether6
.
The example above only brings VLANs to bridge and there you have to deal with them via vlan interfaces. If you want to bridge some particular VLANs to some other interface, you need to add that particular interface to either tagged or untagged list of ports for that particular VLAN.
Thanks mkx, The above code doesn't work, sorry for may bad English to understand you.
 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11280
Joined: Mon Dec 04, 2017 9:19 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Wed Sep 12, 2018 5:06 pm

If English doesn't work, what would be the other languages of choice?
 
nsb
just joined
Topic Author
Posts: 18
Joined: Sun Mar 12, 2017 5:43 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Thu Sep 13, 2018 12:44 am

If English doesn't work, what would be the other languages of choice?
Thanks @sindy for your comments, I mean that I study English a little bit. if you know could you help with that please? I am stucking with that point[emoji47][emoji47][emoji47], I am really thank you @Sindy for your trying to help.

Anybody help me please?

Sent from my PLE-701L using Tapatalk

 
User avatar
sindy
Forum Guru
Forum Guru
Posts: 11280
Joined: Mon Dec 04, 2017 9:19 pm

Re: Could anyone help me to configure Untagged VLAN with Trunk?

Fri Sep 14, 2018 11:50 pm

You've said you didn't get @mkx's suggestion due to English problems, so I asked you for the list of other languages you understand, maybe I or someone else here can translate that suggestion to one of these languages better than Google Translate. What sense would it make to say the same again in another words but still in English if there is a problem with decoding English?