Community discussions

MikroTik App

Search found 30 matches

by perni
Tue Dec 15, 2020 5:07 pm
Forum: Scripting
Topic: C# API - tik4net on GitHub
Replies: 186
Views: 89807

Re: C# API - tik4net on GitHub

Thanks.
I also found a dedicated class for it - the EthernetMonitor
EthernetMonitor em = EthernetMonitor.GetSnapshot(connection, "ether3");
string linkspeed = em.Rate;
by perni
Mon Dec 14, 2020 6:16 pm
Forum: Scripting
Topic: C# API - tik4net on GitHub
Replies: 186
Views: 89807

Re: C# API - tik4net on GitHub

Hello I have tried to use the tik4net library to get the actual link speed of an interface. From cli i would use /interface ethernet monitor ether2 I tried the following ITikCommand monitor = connection.CreateCommandAndParameters("/interface/ethernet/monitor", "interface", "...
by perni
Thu Apr 18, 2013 7:07 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

Hi all When I wrote my first post and dind't get theNTP to work, i had a switch in between my RB750 and my ISP. While working a bit on that switch, I wrote that the NTP client started to work. I later on had to take back my statement as it stopped working. A couple of Days ago, I made some changes t...
by perni
Thu Feb 07, 2013 10:16 pm
Forum: General
Topic: mac address list
Replies: 1
Views: 873

mac address list

In /ip firewall rules, it is possible to create IP address lists.

Is it is some way possible to create MAC address lists?
by perni
Mon Oct 15, 2012 11:26 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

I found the cause.
I upgraded the firmware of my switch and after that the NTP synchronizes nicely in my setup.
Actually this was not the root cause. The NTP client stopped working after a while.....
by perni
Mon Oct 15, 2012 11:24 am
Forum: General
Topic: Why is default gateway reachable through two interfaces?
Replies: 9
Views: 3178

Re: Why is default gateway reachable through two interfaces?

Both addresses are from the same subnet, that is the problem. Either you use VRFs or two routers, one for each address. My two interfaces WAN1 and WAN2 both reach the gateway as they have addresses on the same subnet. In this case RouterOS selects an arbitrary one of them. I want my default route c...
by perni
Wed Jul 18, 2012 1:00 am
Forum: General
Topic: Why is default gateway reachable through two interfaces?
Replies: 9
Views: 3178

Re: Why is default gateway reachable through two interfaces?

Unfortunately these suggestions does not help. Both with mangle and routing rule I can specify different routes (by using different routing marks). BUT, I have one gateway with one route that is reachable through two interfaces and hence RouterOS treats this as an ECMP route. It is possible to speci...
by perni
Wed May 23, 2012 10:47 pm
Forum: General
Topic: Why is default gateway reachable through two interfaces?
Replies: 9
Views: 3178

Re: Why is default gateway reachable through two interfaces?

Have you considered tagging the traffic normal internet traffic and the incoming traffic with different routing marks. Adding routing filter to modify your dynamic route then editing your other route? Yes, I've been thinking about this, but I don't really know how to do. If I mangle 0.0.0.0/0 with ...
by perni
Wed May 23, 2012 10:27 pm
Forum: General
Topic: Why is default gateway reachable through two interfaces?
Replies: 9
Views: 3178

Re: Why is default gateway reachable through two interfaces?

can you change the dhcp client on wan2 to have a higher default gateway cost? I don't want to route to WAN2. But if i tell the dhcp client to add a default route but at a high cost then WAN1 is selected. This works, but I feel that this solution is to "fool" the RouterOS to do what I want...
by perni
Tue May 22, 2012 10:50 pm
Forum: General
Topic: Why is default gateway reachable through two interfaces?
Replies: 9
Views: 3178

Why is default gateway reachable through two interfaces?

I have two interfaces (WAN1 and WAN2) connected to my ISP. I would like to use WAN1 for normal internet access and WAN2 for incoming tunnels like PPTP and SSTP for example. I use one dhcp client for each of the interfaces to gain two external IP addresses. One of the clients are told to add-default-...
by perni
Wed May 16, 2012 2:10 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

I found the cause.

I upgraded the firmware of my switch and after that the NTP synchronizes nicely in my setup.

Firmware bug in a switch.... I've not bumped into that before.
by perni
Tue May 15, 2012 10:50 pm
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

I've come to a conclution that I don't understand. If I place a switch between my RouterBoard and my CPS, the NTP client don't synchronize. If I connect my RouterBoard directly to my CPS, the NTP synchronizes. With the switch in between all other communication works as expected. Can anyone explain t...
by perni
Mon May 14, 2012 4:10 pm
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

I've asked my ISP. No answers yet. They claim not to block on their FAQ but I asked any way.
The RouterBoard is connected directly to my CPS.
I've caught the network communication using Wireshark and NTP packages leaves the RB, but no replies can be seen.
by perni
Mon May 14, 2012 11:11 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

Tried the new 5.16 and it still does not work. Of course I can post my server part (using the ntp package) /system ntp server print enabled: no broadcast: no multicast: no manycast: yes broadcast-addresses: But as I don't use it (as the clock isn't synchronized) it won't do anything. The client look...
by perni
Wed May 09, 2012 1:25 pm
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

OK. I just downgraded to 5.14 and my problem remains.
So, how do I figure out what the problem is?
Does anyone have an idea?
by perni
Wed May 02, 2012 11:05 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

I have tested a couple of different NTP servers form the pool.ntp.org and some other. None of them worked. Neither using the ntp client in the system package, nor by the ntp-5.15-mipsbe.npk package. Though, I can see that /system clock is set to 1970 when I use the system packaged ntp client and its...
by perni
Sun Apr 29, 2012 9:24 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

When i upgraded to 5.15 I did it by uploading the package routeros-mipsbe-5.15.npk to RB and rebooted. Then I extracted the ntp-5.15-mipsbe.npk from the all_packages-5.15.zip file, uploaded to RB and rebooted. Is this the proper way of using the ntp package, or shall I take all packages that i need ...
by perni
Tue Apr 24, 2012 12:04 pm
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

Hello I just upgraded to the newly released RouterOS 5.15 and here the built in NTP client does not update my clock. It seems that it gets in contact with the NTP server but the system clock isn't updated. I use the same settings as before. [admin@xyz] /system ntp client> /system ntp client export #...
by perni
Fri Apr 20, 2012 12:19 am
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

Re: NTP client in ntp package not working but built in clien

The working /system ntp client on the built-in ntp [admin@xyz] > system ntp client export # jan/02/1970 01:01:03 by RouterOS 5.14 # software id = IPS6-N1JY # /system ntp client set enabled=yes mode=unicast primary-ntp=79.136.87.162 secondary-ntp=193.11.185.39 [admin@xyz] > /system ntp client print e...
by perni
Thu Apr 19, 2012 1:28 pm
Forum: General
Topic: NTP client in ntp package not working but built in client is
Replies: 36
Views: 35408

NTP client in ntp package not working but built in client is

Hello

When I install the ntp package, the ntp-client does not work.
If I disable the ntp package and use the ntp client built into RouterOS (5.14), the time is updated correctly.
I use the same ntp servers in both cases.

Have anyone else had the same problem?
by perni
Mon Mar 12, 2012 3:18 pm
Forum: General
Topic: DHCP Server does not respond with a Subnet mask
Replies: 4
Views: 2908

DHCP Server does not respond with a Subnet mask

I found out that one of my dhcp clients does not send a Parameter Request List (Option 55) in the discover packet. In this situation, the MicroTik dhcp server does not include the Subnet Mask (Option 1) in the offer. Other dhcp servers sends this Subnet Mask in any way, (which sounds pretty decent)....
by perni
Tue Mar 06, 2012 3:53 pm
Forum: General
Topic: mipsbe 5.0 to 5.12 strange DHCP OFFER problem
Replies: 5
Views: 2022

Re: mipsbe 5.0 to 5.12 strange DHCP OFFER problem

I have the same problem. Though, I found out that my client (not yours either) does not send a Parameter Request List (Option 55) in the discover packet. Therefore, the MicroTik dhcp server does not add the Subnet Mask (Option 1) in the offer. Other dhcp servers sends this Subnet Mask in any way, (w...
by perni
Fri Feb 11, 2011 8:32 am
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Re: Why wont check-gateway work for DHCP assigned internet a

Hi. I realized that i had the protocol="" specified. If I remove that part (disabling the protocols in WinBox) the default routes get the check-gateway set to "ping" . When I now disable connection to my wired internet, the route gets inactive after a short vile, _BUT_ my alterna...
by perni
Wed Feb 09, 2011 10:00 pm
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Re: Why wont check-gateway work for DHCP assigned internet a

Was the information what you requested?
Did you get any ideas from it?
by perni
Wed Feb 09, 2011 8:56 am
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Re: Why wont check-gateway work for DHCP assigned internet a

Hello Im runing RouterOS 4.13 > /ip route print terse where dynamic dst-address=0.0.0.0/0 0 ADS dst-address=0.0.0.0/0 gateway=192.168.110.1 gateway-status=192.168.110.1 reachable ether1 distance=0 scope=30 target-scope=10 1 DS dst-address=0.0.0.0/0 gateway=10.112.113.251 gateway-status=10.112.113.25...
by perni
Tue Feb 08, 2011 8:58 pm
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Re: Why wont check-gateway work for DHCP assigned internet a

No, the check-ping is empty in the default route !!!

/Per
by perni
Tue Feb 08, 2011 1:50 pm
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Re: Why wont check-gateway work for DHCP assigned internet a

Now I tried, but unfortunately I cannot get it to work. If I unplug my wired internet from my RouterBoard, the dynamic route gets inactive and my 3G route becomes the active one. Conclusion: When the RB looses the ehternet link it reacts by changeing route. I have my RB connected via a switch to my ...
by perni
Tue Feb 08, 2011 1:36 pm
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Re: Why wont check-gateway work for DHCP assigned internet a

Thanks allot. I'll try.... Also, for some reason, I cannot ping my 3G gateway. I don't know why, so it might be impossible to do the ping-check unless you can just check one of the interfaces. Is there a posibility for that? (I can set the default distance under dhcp-client for my wired internet, bu...
by perni
Mon Feb 07, 2011 10:00 pm
Forum: General
Topic: Why wont check-gateway work for DHCP assigned internet acess
Replies: 10
Views: 5539

Why wont check-gateway work for DHCP assigned internet acess

Hello I wanted to implement failover on my RB433UAH by using http://wiki.mikrotik.com/wiki/Two_gateways_failover I plug in my primary internet conection to Eth1 and get IP settings assigned by DHCP. As a secondary internet I use an USB 3G modem also getting settings by DHCP. If my primary internet g...
by perni
Tue Nov 09, 2010 11:40 am
Forum: Wireless Networking
Topic: Setup of 3G modems - documentation?
Replies: 1
Views: 884

Setup of 3G modems - documentation?

Hello

RouterBoards can use 3G USB dongles.
Is there anywhere documented how to set it up?