Community discussions

MikroTik App

Search found 23 matches

by simonefil
Thu Jun 03, 2021 4:21 pm
Forum: General
Topic: Connect devices in different VLANs
Replies: 9
Views: 794

Re: Connect devices in different VLANs

Given that you have no access ports to the VLANs at the 3011 itself, I induce that there is either an external switch or an external access point (or more) to which the devices are connected. I cannot find any explanation of what you experience in the configuration of the 3011, so I expect some iss...
by simonefil
Tue Jun 01, 2021 8:28 pm
Forum: General
Topic: Connect devices in different VLANs
Replies: 9
Views: 794

Re: Connect devices in different VLANs

Fai le cose "Berbenne" c'è un IP orfano?
(orphan IP?)
/ip address
add address=192.168.4.1/24 interface=bridge1 network=192.168.4.0
Yes, you are right, the orphan IP was a member of subnet 192.168.4.0/24 no longer used and deleted. I also removed the orphan IP.
by simonefil
Tue Jun 01, 2021 4:51 pm
Forum: General
Topic: Connect devices in different VLANs
Replies: 9
Views: 794

Re: Connect devices in different VLANs

Given that you have no access ports to the VLANs at the 3011 itself, I induce that there is either an external switch or an external access point (or more) to which the devices are connected. I cannot find any explanation of what you experience in the configuration of the 3011, so I expect some iss...
by simonefil
Thu May 27, 2021 4:33 pm
Forum: General
Topic: Connect devices in different VLANs
Replies: 9
Views: 794

Re: Connect devices in different VLANs

When you bother to post a complete config I will bother to comment. I apologize. I thought I'd make your job easier to remove the uninteresting parts. This is the complete code MMM MMM KKK TTTTTTTTTTT KKK MMMM MMMM KKK TTTTTTTTTTT KKK MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK MMM MM MM...
by simonefil
Thu May 27, 2021 1:05 pm
Forum: General
Topic: Connect devices in different VLANs
Replies: 9
Views: 794

Connect devices in different VLANs

Goodmorning everyone. I have a configuration with an untagged LAN and several vlans all into bridge1. My configuration is this: /interface bridge add arp=proxy-arp comment="LAN untagged + VLAN" name=bridge1 vlan-filtering=yes /interface ethernet set [ find default-name=ether9 ] comment=ISP...
by simonefil
Wed May 19, 2021 10:38 pm
Forum: General
Topic: Problems to reach routerboard with PPTP tunnel [SOLVED]
Replies: 8
Views: 849

Re: Problems to reach routerboard with PPTP tunnel [SOLVED]

That NAT rule will send any packets for TCP port 11500 to 192.168.3.43 (hint, you may wish to qualify the rule for packets arriving from the WAN interface or interface list, otherwise none of your LAN devices will be able to access anything on the internet using that port), however the source addre...
by simonefil
Mon May 17, 2021 8:17 pm
Forum: General
Topic: Problems to reach routerboard with PPTP tunnel [SOLVED]
Replies: 8
Views: 849

Re: Problems to reach routerboard with PPTP tunnel [SOLVED]

That NAT rule will send any packets for TCP port 11500 to 192.168.3.43 (hint, you may wish to qualify the rule for packets arriving from the WAN interface or interface list, otherwise none of your LAN devices will be able to access anything on the internet using that port), however the source addre...
by simonefil
Mon May 17, 2021 10:29 am
Forum: General
Topic: Problems to reach routerboard with PPTP tunnel [SOLVED]
Replies: 8
Views: 849

Re: Problems to reach routerboard with PPTP tunnel [SOLVED]

I would expect 192.168.3.107 is the address of your PC, did you set arp=proxy-arp on bridge1 The routes parameter was a separate issue I noticed. Forgive me, I take your availability again to ask you for a little advice. Now from the PCs connected to the subnet 192.168.3.0/24 I can reach the web in...
by simonefil
Sun May 16, 2021 1:48 pm
Forum: General
Topic: Problems to reach routerboard with PPTP tunnel [SOLVED]
Replies: 8
Views: 849

Re: Problems to reach routerboard with PPTP tunnel [SOLVED]

I would expect 192.168.3.107 is the address of your PC, did you set arp=proxy-arp on bridge1

The routes parameter was a separate issue I noticed.
I have enabled the proxy arp on bridge1 interface and now it works!! Thank you so much for your help! You have been very kind :)
by simonefil
Sun May 16, 2021 12:09 am
Forum: General
Topic: Problems to reach routerboard with PPTP tunnel [SOLVED]
Replies: 8
Views: 849

Re: Problems to reach routerboard with PPTP tunnel [SOLVED]

ARP only applies to IP-over-ethernet. If you overlap subnet address on ethernet and non-ethernet interfaces then use proxy-arp on the ethernet interface, or parent bridge if the interface is a member of a bridge, so the Mikrotik replies to ARP requests from ethernet-connected devices on behalf of t...
by simonefil
Sat May 15, 2021 6:22 pm
Forum: General
Topic: Remote connect to mikrotik behind NAT
Replies: 16
Views: 34252

Re: Remote connect to mikrotik behind NAT

Hello, it is not possible as your ISP provide you private ip address, so you are Natted. You need to ask him for a public IP (it can be dynamic), but the risk is to pay more than now. Can i use VPN or ppoe client or other service for this problem? I can't get valid ip, (my ISP can't give valid ip) ...
by simonefil
Sat May 15, 2021 2:26 pm
Forum: General
Topic: Problems to reach routerboard with PPTP tunnel [SOLVED]
Replies: 8
Views: 849

Problems to reach routerboard with PPTP tunnel [SOLVED]

Goodmorning everyone. Introduction: I insert a picture of the network connections with the names of the devices named below https://i.postimg.cc/Dwxs8t7s/doc1.jpg I have a routerboard (in picture called rb2) with 4G connectivity with ISP IP under NAT. To reach its interface from the outside I though...
by simonefil
Mon Apr 26, 2021 10:31 pm
Forum: General
Topic: manage vlan and untagged on the same port
Replies: 1
Views: 290

manage vlan and untagged on the same port

Goodmorning everyone. Currently I have a routerboard with a 192.168.3.0/24 subnet and a vlan100 with 192.168.1.0/24 subnet. Many devices are connected to the ether1 port associated with the 3.0/24 subnet, including some unifi AP, they generate an ssid tagged on the vlan100. I would like to assign th...
by simonefil
Fri Apr 23, 2021 8:24 pm
Forum: Scripting
Topic: Failover Scripting It does not work properly
Replies: 7
Views: 946

Re: Failover Scripting It does not work properly

I do not know why someone has wrotten one script to do what can be made with simply two settings... (cross-routes check is another question, but in this case one wan are by pppoe) do not use any script, simply: REMOVE ALL STATIC ROUTE(S) with 0.0.0.0/0 (generated by script) set pppoe-out1 default r...
by simonefil
Fri Apr 23, 2021 11:15 am
Forum: Scripting
Topic: Failover Scripting It does not work properly
Replies: 7
Views: 946

Re: Failover Scripting It does not work properly

I did not study the script in detail, I only noted the common mistake of using the ethernet interface name as the indication of the internet interface where PPPoE is used.
ok thanks for your help anyway :)
by simonefil
Thu Apr 22, 2021 11:27 pm
Forum: Scripting
Topic: Failover Scripting It does not work properly
Replies: 7
Views: 946

Re: Failover Scripting It does not work properly

When you are using PPPoE, your interface name is not ether10 but like pppoe-out1 (or different when you have renamed it). Thank you for your answer. My pppoe interface is called "pppoe-out1" I reloaded the whole script with these values through the terminal: # ------------- start editing ...
by simonefil
Thu Apr 22, 2021 7:06 pm
Forum: Scripting
Topic: Failover Scripting It does not work properly
Replies: 7
Views: 946

Failover Scripting It does not work properly

Goodmorning everyone. On my routerboard I am using the failover scripting present in the official guide: https://wiki.mikrotik.com/wiki/Failover_Scripting I have adapted the gateways of the guide to my gateways: : local GatewayISP1 ether10 (I use a pppoe) : local GatewayISP2 192.168.78.1 And the scr...
by simonefil
Mon Apr 19, 2021 5:16 pm
Forum: Scripting
Topic: Create script to clean udp connections
Replies: 5
Views: 767

Re: Create script to clean udp connections

https://forum.mikrotik.com/viewtopic.php?f=9&t=154606#p853803 Thank you for reporting this thread already open to me. Unfortunately, the link to farlock.org you report does not work. I saw your function you posted to close connections without errors, I am trying to try it manually, entering it ...
by simonefil
Mon Apr 19, 2021 11:52 am
Forum: Scripting
Topic: Script to Clean Firewall->Connections after public IP Changes
Replies: 4
Views: 2704

Re: Script to Clean Firewall->Connections after public IP Changes

In the script from http://www.farlock.org/mikrotik/mikrotik-load-balancer-and-failover-and-traffic-prioritization/ you'll find some rules to clear connections. Maybe you can use it. Hello. I also have this problem and would like to create a script to clear udp connections. Unfortunately, however, t...
by simonefil
Mon Apr 19, 2021 11:50 am
Forum: Scripting
Topic: Create script to clean udp connections
Replies: 5
Views: 767

Create script to clean udp connections

Hi everyone. I'm testing a configuration with two WANs in failover mode. Currently when the main connection "WAN1" goes down, WAN2 is activated immediately and all data traffic runs smoothly, with the exception of the voice traffic which is interrupted. To restart the voice traffic too, I ...
by simonefil
Wed Apr 14, 2021 10:34 pm
Forum: Beginner Basics
Topic: Forcing IP requests to a specific WAN
Replies: 8
Views: 608

Re: Forcing IP requests to a specific WAN

If you change from /ip firewall nat add action=masquerade chain=srcnat out-interface="ether1 WAN1" add action=masquerade chain=srcnat out-interface="ether2 WAN2" to: /ip firewall nat add action=masquerade chain=srcnat out-interface="ether1 WAN1" You will only have one ...
by simonefil
Wed Apr 14, 2021 9:23 pm
Forum: Beginner Basics
Topic: Forcing IP requests to a specific WAN
Replies: 8
Views: 608

Re: Forcing IP requests to a specific WAN

Sorry no can helpee unless you show the config as all items have relationships!! /export hide-sensitive file=anynameyhouwish. How many lan subnets do you have by the way?? Here I uploaded the export file https://drive.google.com/file/d/1YDbGj-phamW5IH_yId1G1F6pNjfVkrUl/view?usp=sharing I have only ...
by simonefil
Wed Apr 14, 2021 7:32 pm
Forum: Beginner Basics
Topic: Forcing IP requests to a specific WAN
Replies: 8
Views: 608

Forcing IP requests to a specific WAN

Goodmorning everyone. I have a configuration with two WANs and a bridge. The WANs are configured in load balancing with PCC and everything works correctly. I need from the devices inside the bridge to reach a one public ip 138.68.XXX.XXX only from a single WAN (only WAN1) I created this rule in the ...