Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15133

Beginner Basics • Problem with VLAN and WebFig

$
0
0
Hi, this is my first time using RouterOS, so excuse me if this is a very basic question, but I can't find a solution, I've tried following a lot of tutorials but I keep having this problem

I have set VLAN 50 on port ether11 and defined an address range (192.168.50.1/24) however I cannot access the router by navigating to address 192.168.50.1, what am I doing wrong (Of course, I have configured the vlan tag on my PC and all other traffic to the Internet works properly)? I have disabled all the firewall rules but nothing. If instead I go to define an address range directly on a port without using VLANs everything seems to work correctly

Is there anyone who can help me? Thank you
Code:
/interface ethernetset [ find default-name=ether1 ] comment=WAN/interface vlanadd interface=ether11 name=vlan-client vlan-id=50add interface=sfp-sfpplus2 name=vlan-guest vlan-id=200add interface=sfp-sfpplus2 name=vlan-iot vlan-id=107add interface=sfp-sfpplus2 name=vlan-management vlan-id=2/interface listadd name=WANadd name=LAN/ip dhcp-serveradd interface=vlan-management lease-time=1d name=dhcp_server-management/ip pooladd name=dhcp_pool-client ranges=192.168.50.2-192.168.50.200add name=dhcp_pool-guest ranges=192.168.200.2-192.168.200.254add name=dhcp_pool-iot ranges=192.168.107.125-192.168.107.254add name=dhcp_pool-management ranges=192.168.2.250-192.168.2.254/ip dhcp-serveradd address-pool=dhcp_pool-client interface=vlan-client lease-time=1d name=dhcp_server-clientadd address-pool=dhcp_pool-guest interface=vlan-guest lease-time=1d name=dhcp_server-guestadd address-pool=dhcp_pool-iot interface=vlan-iot lease-time=1d name=dhcp_server-iot/portset 0 name=serial0set 1 name=serial1/interface detect-internetset detect-interface-list=WAN/interface list memberadd interface=ether1 list=WANadd interface=ether2 list=LANadd interface=ether3 list=LANadd interface=ether4 list=LANadd interface=ether5 list=LANadd interface=ether6 list=LANadd interface=ether7 list=LANadd interface=ether8 list=LANadd interface=ether9 list=LANadd interface=ether10 list=LANadd interface=ether11 list=LANadd interface=ether12 list=LANadd interface=ether13 list=LANadd interface=ether14 list=LANadd interface=ether15 list=LANadd interface=ether16 list=LANadd interface=sfp-sfpplus2 list=LANadd interface=sfp-sfpplus1 list=LAN/ip addressadd address=192.168.2.1/24 interface=vlan-management network=192.168.2.0add address=192.168.50.1/24 interface=vlan-client network=192.168.50.0add address=192.168.107.1/24 interface=vlan-iot network=192.168.107.0add address=192.168.200.1/24 interface=vlan-guest network=192.168.200.0add address=192.168.88.1/24 interface=ether2 network=192.168.88.0/ip dhcp-clientadd interface=ether1/ip dhcp-server networkadd address=192.168.2.0/24 dns-server=1.1.1.1 gateway=192.168.2.1add address=192.168.50.0/24 dns-server=1.1.1.1 gateway=192.168.50.1add address=192.168.107.0/24 dns-server=1.1.1.1 gateway=192.168.107.1add address=192.168.200.0/24 dns-server=1.1.1.1 gateway=192.168.200.1/ip firewall address-listadd address=10.0.0.0/8 list=PRIVATEadd address=172.16.0.0/12 list=PRIVATEadd address=192.168.0.0/16 list=PRIVATE/ip firewall filteradd action=accept chain=forward comment=er connection-state=established,related disabled=yes out-interface=all-vlanadd action=accept chain=input comment=tbr disabled=yes dst-port=80 in-interface-list=all protocol=tcpadd action=drop chain=input disabled=yes in-interface-list=WANadd action=drop chain=forward disabled=yes dst-address-list=PRIVATE in-interface=vlan-iotadd action=drop chain=forward disabled=yes dst-address-list=PRIVATE in-interface=vlan-guestadd action=accept chain=forward disabled=yes dst-port=80 out-interface=vlan-iot protocol=tcpadd action=accept chain=forward disabled=yes dst-port=443 out-interface=vlan-iot protocol=tcpadd action=accept chain=forward disabled=yes dst-address=192.168.107.3 dst-port=1883 out-interface=vlan-iot protocol=tcpadd action=drop chain=forward disabled=yes out-interface=all-vlan/ip firewall natadd action=masquerade chain=srcnat out-interface=ether1/ip serviceset telnet disabled=yesset ftp disabled=yes/system health settingsset fan-control-interval=15s fan-target-temp=62C/system identityset name=CCR/system noteset show-at-login=no/system routerboard settingsset enter-setup-on=delete-key

Statistics: Posted by Unpaired9257 — Sun Feb 04, 2024 11:09 pm



Viewing all articles
Browse latest Browse all 15133

Trending Articles