-
Notifications
You must be signed in to change notification settings - Fork 0
/
v4.conf
53 lines (53 loc) · 2.11 KB
/
v4.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# mar/10/2019 11:15:01 by RouterOS 6.42.2
# software id =
#
#
#
/interface bridge
add name=lo0
/interface ethernet
set [ find default-name=ether3 ] name=ether1
set [ find default-name=ether4 ] name=ether2
set [ find default-name=ether1 ] name=ether3
set [ find default-name=ether2 ] name=ether4
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing bgp instance
set default as=65000 router-id=198.51.100.3
/routing ospf instance
set [ find default=yes ] router-id=198.51.100.3
/ip address
add address=198.51.100.3 interface=lo0 network=198.51.100.3
add address=198.51.100.18/30 interface=ether2 network=198.51.100.16
add address=198.51.100.21/30 interface=ether1 network=198.51.100.20
add address=198.51.100.25/30 interface=ether3 network=198.51.100.24
add address=10.0.1.5/30 interface=ether4 network=10.0.1.4
/ip dns
set servers=203.0.113.2
/ip route vrf
add export-route-targets=65000:100 import-route-targets=65000:100 interfaces=ether4 route-distinguisher=65000:100 routing-mark=vrf_noc
/mpls ldp
set enabled=yes transport-address=198.51.100.3
/mpls ldp interface
add interface=ether1
add interface=ether2
add interface=ether3
/routing bgp instance vrf
add redistribute-connected=yes routing-mark=vrf_noc
/routing bgp peer
add address-families=vpnv4 comment=r1 name=r1 remote-address=198.51.100.0 remote-as=65000 update-source=lo0
add address-families=vpnv4 comment=r2 name=r2 remote-address=198.51.100.1 remote-as=65000 update-source=lo0
add address-families=vpnv4 comment=r3 name=r3 remote-address=198.51.100.2 remote-as=65000 update-source=lo0
add address-families=vpnv4 comment=r5 name=r5 remote-address=198.51.100.4 remote-as=65000 update-source=lo0
add address-families=vpnv4 comment=r6 name=r6 remote-address=198.51.100.5 remote-as=65000 update-source=lo0
/routing ospf interface
add interface=lo0 passive=yes
add interface=ether1 network-type=point-to-point
add interface=ether2 network-type=point-to-point
add interface=ether3 network-type=point-to-point
/routing ospf network
add area=backbone network=198.51.100.0/24
/system clock
set time-zone-name=America/New_York
/system identity
set name=r4