Community discussions

MikroTik App
 
AlvinAlvin
just joined
Topic Author
Posts: 3
Joined: Mon Feb 06, 2023 3:22 pm

Newbie question on VLAN

Mon Feb 06, 2023 5:51 pm

I'm playing with Mikrotik hAP ax3: my final goal is to setup an internal VLAN in order to segregate domotic devices from other PCs.
I would use the 2.4GHz WiFi interface for both VLAN and PCs: all devices in VLAN will have a static IP in a well defined subnet, other PCs will use DHCP on a different subnet.
The first step was the creation of a new VLAN interface
;;; defconf
5 R  bridge        bridge        1500   1568             48:A9:8A:0A:12:1B
6 R  bridge-trunk  bridge        1500  65535             48:A9:8A:0A:12:20
7 RS vlan-domotic  vlan          1500                    48:A9:8A:0A:12:20
8  S wifi1         wifi          1500                    48:A9:8A:0A:12:1F
9 RS wifi2         wifi          1500                    48:A9:8A:0A:12:20
vlan-domotic is my vlan on wifi2
#   NAME           MTU  ARP      VLAN-ID  INTERFACE
0 R vlan-domotic  1500  enabled       10  wifi2   
I added the following address range
Flags: D - DYNAMIC
Columns: ADDRESS, NETWORK, INTERFACE
#   ADDRESS           NETWORK       INTERFACE   
;;; defconf
0   192.168.88.1/24   192.168.88.0  bridge      
1 D 192.168.1.15/24   192.168.1.0   ether1      
2   192.168.33.30/27  192.168.33.0  vlan-domotic
Then I manually configured one of domotic devices as 192.168.33.2
I hoped to see some packets coming from 192.168.33.2 on vlan-domotic. This was not the case: I saw some packets coming from domotic device only on wifi2 interface.
What am I missing?
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2855
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: Newbie question on VLAN

Mon Feb 06, 2023 6:44 pm

 
AlvinAlvin
just joined
Topic Author
Posts: 3
Joined: Mon Feb 06, 2023 3:22 pm

Re: Newbie question on VLAN

Mon Feb 06, 2023 7:09 pm

Thanks for your zero effort answer.
I've already see that topic: if you want share an useful answer please give me a guideline on how to resolve my problem.
If you aren't able to do it please avoid this lazy reply
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18958
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Newbie question on VLAN

Mon Feb 06, 2023 7:35 pm

Please avoid your lazy assed question!!
1. provide network diagram
2. provide use cases ( requirements without any talk of the configuration)
a. identify user/devices group of users/devices
b. identify what each needs in terms of traffic flow.
c. identify what each should not be able to do......
3. Provide full export
/export file=anynameyouwish ( minus router serial # and any public WANIP information etc.).
 
gigabyte091
Forum Guru
Forum Guru
Posts: 1154
Joined: Fri Dec 31, 2021 11:44 am
Location: Croatia

Re: Newbie question on VLAN

Mon Feb 06, 2023 9:28 pm

Why assigning IP addresses manually on VLAN ? You can make dhcp server just for that interface and if needed, reserve IP address in dhcp leases.

Second thing, why is ether1 out of the bridge ?
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1345
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: Newbie question on VLAN

Mon Feb 06, 2023 11:03 pm

Thanks for your zero effort answer. I've already see that topic. If you want share an useful answer please give me a guideline on how to resolve my problem. If you aren't able to do it please avoid this lazy reply

BartoszP has shown you the greatest kindness. The linked article was literately created with his help for persons in your exact position. I recommend you find another community to visit or kindly apologize. Nobody here works for you. It is all on our own time.

Who is online

Users browsing this forum: BrateloSlava, Ellaham, GoogleOther [Bot] and 51 guests