Community discussions

MikroTik App

Search found 28 matches

by dskillin
Mon Jan 08, 2018 7:10 am
Forum: Scripting
Topic: Child bedtime control - scripts
Replies: 3
Views: 3010

Child bedtime control - scripts

I'm sure many of us have bits and pieces we've put together for added functionality, here's an example of one I've done. I hope that someone finds it useful. It would be interesting to see what others have cobbled together to solve "odd" problems. My scenario: Control of the children's net...
by dskillin
Thu Mar 30, 2017 7:12 am
Forum: General
Topic: Bridge with dstnat
Replies: 2
Views: 2028

Re: Bridge with dstnat

First, make sure you can ping the remote gateway. If you can ping it, try changing your ip route to use the IP of that gateway.

/ip route
add distance=1 dst-address=192.168.2.0/24 gateway=192.168.3.x pref-src=192.168.3.203
by dskillin
Tue Mar 28, 2017 5:26 pm
Forum: Beginner Basics
Topic: Vlan help
Replies: 7
Views: 1889

Re: Vlan help

Hmmm, next...

Torch ether17 to see if packets are coming out VLAN tagged.
by dskillin
Tue Mar 28, 2017 5:28 am
Forum: Beginner Basics
Topic: Vlan help
Replies: 7
Views: 1889

Re: Vlan help

Try this, make sure to add the VLAN to the bridge. /interface bridge add name=bridge-vlan800 /interface bridge port add bridge=bridge-vlan800 interface=ether17 /interface vlan add interface=ether12 name=eth12-vlan800 vlan-id=800 /interface bridge port add bridge=bridge-vlan800 interface=eth12-vlan80...
by dskillin
Tue Mar 21, 2017 8:17 am
Forum: Beginner Basics
Topic: DHCP server offering lease without success
Replies: 30
Views: 52196

Re: DHCP server offering lease without success

On a VLAN? Set the MTU to 1504.
by dskillin
Tue Mar 21, 2017 8:01 am
Forum: Beginner Basics
Topic: 1 wan unlimited, 2nd wan ONLY AS BACKUP
Replies: 9
Views: 8484

Re: 1 wan unlimited, 2nd wan ONLY AS BACKUP

I'm glad the script is working for you. I used a local bridge for simplicity, it's hard to guess exactly what you have on your side...some devices don't have switch options, and other configs may have distracted or confused the issue. Ports off my router are trunks, someone else may be using them as...
by dskillin
Sun Mar 19, 2017 12:17 am
Forum: Beginner Basics
Topic: 1 wan unlimited, 2nd wan ONLY AS BACKUP
Replies: 9
Views: 8484

Re: 1 wan unlimited, 2nd wan ONLY AS BACKUP

What exactly this does? I have setup failover at a customer without this rule. It flags the routes set with check-gateway, which: Periodically (every 10 seconds) check gateway by sending either ICMP echo request (ping) or ARP request (arp). If no response from gateway is received for 10 seconds, re...
by dskillin
Sat Mar 18, 2017 5:12 pm
Forum: Virtualization
Topic: CHR feature requests
Replies: 81
Views: 37080

Re: CHR feature requests

I've been utilizing on AWS, and some in house testing in vSphere. When we start talking "cloud", there is an expectation for rapid deployment and scalability. My vote would go to in-house license management, and central deployment/management. I should be able to configure an image to call ...
by dskillin
Sat Mar 18, 2017 4:52 am
Forum: Beginner Basics
Topic: 1 wan unlimited, 2nd wan ONLY AS BACKUP
Replies: 9
Views: 8484

Re: 1 wan unlimited, 2nd wan ONLY AS BACKUP

Here is a very simple example, essentially using route distances for decision making, and an open ended NAT. Putting in the check-gateway filter speeds the decision making up for the failover. /interface lte set [ find ] mac-address=36:4B:50:B7:EF:DA name=LTE-WAN /interface bridge add name=LOCAL-BRI...
by dskillin
Wed Mar 15, 2017 3:42 am
Forum: Beginner Basics
Topic: Simple Queues - What's Missing?
Replies: 1
Views: 1252

Simple Queues - What's Missing?

I have a large number of packets passing through without getting tagged, what am I missing? Important parts of the config. Networks and addresses: /ip address add address=10.15.24.1/24 interface=24-DESK-BRIDGE network=10.15.24.0 add address=10.24.254.1/29 interface=254-TV-FEED-BRIDGE network=10.24.2...
by dskillin
Tue Mar 14, 2017 11:32 pm
Forum: RouterBOARD hardware
Topic: 48 Port Switches
Replies: 16
Views: 9075

Re: 48 Port Switches

24/48 port EDGE switches would be nice...

POE with SFP/SFP+ options
by dskillin
Tue Mar 14, 2017 5:02 pm
Forum: Beginner Basics
Topic: 3 vlan network 3 dhcp servers RB3011
Replies: 10
Views: 3532

Re: 3 vlan network 3 dhcp servers RB3011

Remove the VLAN(s) from port 5, and place that port in a BRIDGE with VLAN(x). Looking at the old sample config, we see that ether5 is tagged with VLAN 10,20, and 40 in a TRUNK configuration. It's VLAN are added to BRIDGES "tie" the VLAN together. /interface vlan add interface=ether5 name=e...
by dskillin
Tue Mar 14, 2017 3:54 am
Forum: General
Topic: [SOLVED] Dhcp Server on Bridge with vlan doesn't work
Replies: 4
Views: 1824

Re: [SOLVED] Dhcp Server on Bridge with vlan doesn't work

It is likely the problem will return, nearly the same thing plagued me for a while... In a post somewhere (I'd give credit if I remembered where), I read that changing the MTU of the VLAN to 1504 would solve the problem. It did....
by dskillin
Mon Mar 13, 2017 6:01 am
Forum: General
Topic: CCR1016-12G Layer 3 VLAN Routing for school
Replies: 2
Views: 1434

Re: CCR1016-12G Layer 3 VLAN Routing for school

I would look a step up at the 1036, netting much more throughput for ~$300 additional. With the 2S+ model, you can also bring 10G to your servers, and have headway to increase the RAM on the router, both giving you room for growth.
by dskillin
Wed Mar 08, 2017 3:24 pm
Forum: Beginner Basics
Topic: 3 vlan network 3 dhcp servers RB3011
Replies: 10
Views: 3532

Re: 3 vlan network 3 dhcp servers RB3011

Try this: Connect after reset with winbox to the MAC not the IP. Select the option to clear the config in that first connection. Open the console, in winbox. Bring your WAN online. Check for and apply updates. Winbox will also give you the ability to browse around the router to look for conflicts. h...
by dskillin
Wed Mar 08, 2017 8:01 am
Forum: Beginner Basics
Topic: 3 vlan network 3 dhcp servers RB3011
Replies: 10
Views: 3532

Re: 3 vlan network 3 dhcp servers RB3011

I mocked a CHR up in my lab, and configured it as you've laid out here. Be aware that there is no protection enabled on this template, and it shouldn't be used for production without locking it down. Based on your comments, I took some guesses in the example, and provided methods for TRUNK ports and...
by dskillin
Wed Mar 08, 2017 2:07 am
Forum: Beginner Basics
Topic: ipv6
Replies: 7
Views: 1438

Re: ipv6

This should get you pointed in the right direction. As said earlier you need a tunnel. Hurricane Electric offers a free service.

https://wiki.mikrotik.com/wiki/Manual:H ... e_for_Home
by dskillin
Wed Mar 08, 2017 1:50 am
Forum: Beginner Basics
Topic: 3 vlan network 3 dhcp servers RB3011
Replies: 10
Views: 3532

Re: 3 vlan network 3 dhcp servers RB3011

You're putting the IP on the VLAN, then placing the servers on to eth6. Try putting them on the respective VLAN.

Also your pool objects have the same name as the VLAN. I'd suggest something like 10-office-vlan and 10-office-pool.
by dskillin
Tue Mar 07, 2017 5:11 am
Forum: Beginner Basics
Topic: Proper way for IPTV routing
Replies: 2
Views: 8275

Re: Proper way for IPTV routing

I used the lazy-man method to push IPTV around the house, I'm curious to watch this thread to see if there is a better way... I have a CCR sitting on the public IP, providing my NAT, VLAN, and various services. Then I carved out a VLAN, TV-IN, provided DHCP, and tagged an access port on the switch a...
by dskillin
Tue Mar 07, 2017 4:47 am
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]

Set to resolved, and put the answer in the original post. Again, thanks everyone for taking the time to troubleshoot.
by dskillin
Tue Mar 07, 2017 1:27 am
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC)

Nope, no go. Someone else posted a similar problem in general. It looks like there is a bug. Thanks for the effort in trying to track this one down.

viewtopic.php?f=2&t=119189
by dskillin
Mon Mar 06, 2017 11:21 pm
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC)

Removing the static didn't work. I dropped the simplified config on to a CRS109, with the same result. It does, however, look like the problem is limited to Windows. OSX worked fine. I'm almost willing at this point to call it a bug, the problem is where the problem lays... I'd love to put a finger ...
by dskillin
Mon Mar 06, 2017 10:48 pm
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC)

I didn't have one, and added it just because. I agree with you here, I don't see it mattering. In end, it doesn't. The same results. I'm truly scratching my head here... I unplug the cable, then plug it in to the CRS-226 sitting on the desk, which trunks back to a CCR-1036, and the desktop works fla...
by dskillin
Mon Mar 06, 2017 10:18 pm
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC)

Torching the interface shows the DNS packets arriving. Wireshark does not show them returning. I've also visually confirmed the cable.
by dskillin
Mon Mar 06, 2017 9:39 pm
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC)

Thanks for the suggestion, I tried...still no luck. I took the suggestion to extreme levels after testing the specific masquerade rule. In the new config, I've removed all bridges, putting the IP and DHCP services on ETH2, which I wire directly in to. There are no longer any tagging rules, or anythi...
by dskillin
Mon Mar 06, 2017 8:59 pm
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

Re: DNS Cache - Broken (6.38.3 + RC)

First, thanks soonwai for the sanity check on the config. Going with the idea that it could be firewall rules, I disabled the rules. [admin@MikroTik] > /ip firewall filter print Flags: X - disabled, I - invalid, D - dynamic 0 XI chain=input action=passthrough protocol=udp dst-address=192.168.35.1 ds...
by dskillin
Mon Mar 06, 2017 6:46 pm
Forum: Beginner Basics
Topic: Bypass VPN for Netflix?
Replies: 16
Views: 14419

Re: Bypass VPN for Netflix?

The magic is in the MANGLE, if you place a prerouting rule for the device prior to the prerouting rule for the PureVPN, then uncheck the box for passthrough on your new rule, it will not pick up the Routing Mark which the VPN Masquerade is binding on. Without that mark, it will take the default rout...
by dskillin
Mon Mar 06, 2017 6:24 pm
Forum: Beginner Basics
Topic: DNS Cache - Broken (6.38.3 + RC) [SOLVED!]
Replies: 15
Views: 4722

DNS Cache - Broken (6.38.3 + RC) [SOLVED!]

EDIT: So others may benefit, the answer to the problem has been placed at the end of this post. Playing 6.39rc41 on a RouterBoard 951G 2HnD, I ran in to an issue with DNS, where the router would resolve correctly, and the client would time out. I stepped back to 6.38.3, where the problem persisted....