Project

General

Profile

How to configure mikrotik network equipment » History » Version 4

Nico Schottelius, 05/21/2020 03:22 PM

1 1 Nico Schottelius
h1. How to configure mikrotik network equipment
2
3
4
h2. Status
5
6
This document is **PRE PRODUCTION**.
7
8
h2. Setting up a newly arrived Mikrotik switch
9
10
This part is specific for mikrotik-crs326 devices and should
11
12
After arriving within 1 work day do:
13
14
* Unpack
15
* Find out which name the switch should have
16
** go to https://netbox.ungleich.ch
17
** search for crs326
18
** identify the last used number
19
** Create a new device
20
*** go to devices 
21
*** devices
22
*** add
23
**** name: "mikrotik-crs326-XX"
24
**** device-role: a device role
25
**** device-type: CRS326
26
**** serial-number: <from the device>
27
**** site: placeX -
28
**** create
29
* Add a physical label with its name
30
** Do not continue before you have done that!
31
* configure your notebook with the ipv4 address 192.168.88.23/24 
32
* connect to the crs326: @ssh admin@192.168.88.1@
33
* Configure the switch
34
** Set identity: @/system identity set name=mikrotik-crs326-XX@ # use the correct name
35
** Set password: @/user set admin password=@ # use the password for mikrotik in the place that you are, use password store
36
** Enable IPv6: @/system package enable ipv6@
37
** Reboot so that IPv6 is enabled: @/system reboot@
38 2 Nico Schottelius
** Add a place indendent, unrouted IPv6 address: @/ipv6 address add eui-64=yes advertise=no interface=bridge address=2a0a:e5c0:1:c::/64@
39
** Get the assigned IPv6 address: @/ipv6 address print@
40
** Disconnect from the switch
41
* Assign your notebook the IPv6 address *2a0a:e5c0:1:c::23/64*
42 1 Nico Schottelius
* Connect to the switch via IPv6
43 3 Nico Schottelius
** Remove the IPv4 address 192.168.88.1 to avoid collisions with other switches: @/ip address remove numbers=0@
44
*** Verify: @/ip address print@
45
* Verify / update entries in netbox:
46
** Verify that the serial number is correct: @:put [ /system routerboard get serial-number ]@
47 4 Nico Schottelius
** Netbox
48
*** go to the ipv6 prefix https://netbox.ungleich.ch/ipam/prefixes/216/
49
**** create a new ipv6 address
50
**** set the DNS name to *mikrotik-crs326-XX*