Network

How to update the Mikrotik NTP server ip address daily? [Mikrotik Scripting]

Fadıl

A frequent issue that we do not need to do a Mikrotik study on this issue, the system administrators need to update manually.
As you know, we update the NTP (Network Time Protocol) information in the SNTP Client service and keep the date/time of RouterOS up to date.

But this service provides free ntp.org and similar providers dynamically provide NTP server information via DNS.
RouterOS’de time server information (SNTP Client) in the field of this information can be entered as a rope, or even if the domain is entered as the current rope records the information.
In order to keep this information up-to-date on RouterOS, you can use the script below to update the DNS server information in 24 hours.

Configuring for Manageability, Part I

Fadıl

Route Caching

First, more details concerning interfaces.

If a WAN interface is less than 256K, you may want to add “no ip route-cache” to make more buffers available. When process switching (i.e. using the CPU to make the forwarding decisions), the main memory buffers are used (as opposed to shared memory allocated to an interface, or memory elsewhere in the system).

On fast LAN interfaces in 7000 models with Silicon Switch Processor (SSP), you may wish to add per-protocol commands such as:

Discovering Cisco Discovery Protocol

Fadıl

What Is Cisco Discovery Protocol?

Cisco Discovery Protocol, also known as CDP, is something Cisco has quietly added to its entire product line. If you haven’t read your release notes carefully, you might not have noticed this feature. It’s quietly there on your links, consuming a very small amount of bandwidth for a pretty good purpose.

The CDP protocol is media and network protocol independent. It works with Cisco bridges and switches. (Review question: what layer must it be operating at?) It provides a mechanism for two neighboring devices to learn about each other, even if they don’t both speak the same network protocol. At the end of this article, we’ll see what that might be useful for.

How to Mikrotik Automatic Backup

Fadıl

So if you wanna backup whole system (including passwords for example) use system backup. But if you need a quick look at configuration or part of the configuration you need to use export because system backup gives you the binary file you can’t read simply with a text editor.

This script takes backup and RSC (txt) format to overwrite the desired time intervals. Same time of the 1st of every month backup. So we get 12 backups a year.

Introduction to the Border Gateway Protocol (BGP) Part-3

Fadıl

iBGP

Scaling the iBGP mesh

  • Two methods:

BGP Confederations 

BGP Route Reflectors

BGP Confederations

  • Method to subdivide a single AS into multiple, internal sub-AS’s, yet still advertise a single AS to external peers
  • Reduces iBGP mesh

BGP Confederation

  • AS10
  • AS20
  • AS30
  • AS300

BGP Route Reflectors (RR)

  • Another method to reduce iBGP mesh
  • iBGP re-advertisement restrictions are relaxed
  • Single iBGP peer advertises (reflects) routes to subordinate iBGP peers
  • Clients must not peer with RR’s outside of cluster

Route Reflectors

  • (RR)
  • AS300
  • (RR)
  • (RR)

Asymmetric Routing Paradigm

  • In the Internet, it is impossible to control end-to-end routing and paths traversed
  • Packets may not always traverse same downstream path as they do when forwarded upstream

Asymmetric Routing

Achieving stability

  • Using loopbacks
  • BGP/IGP Interaction
  • Peer groups
  • Route-flap dampening
  • BGP soft reconfiguration

Stable iBGP Peering

  • Peer with loop-back addresses
  • iBGP session is not dependent on a single interface
  • Loop-back interface does not go down

Peering to Loop-Back Address