SHOW:
|
|
- or go back to the newest paste.
1 | Mikrotik | |
2 | ================ | |
3 | ||
4 | /routing ospf area | |
5 | add area-id=0.0.0.2 name=area1 | |
6 | /routing ospf instance | |
7 | set [ find default=yes ] router-id=10.33.33.34 | |
8 | /routing filter | |
9 | add action=accept chain=ospf-in set-in-nexthop-direct=antirkn | |
10 | /routing ospf interface | |
11 | add authentication-key-id=0 dead-interval=15s hello-interval=5s interface=br1400 network-type=broadcast retransmit-interval=6s transmit-delay=2s | |
12 | /routing ospf network | |
13 | add area=area1 network=10.33.33.32/30 | |
14 | add area=backbone network=10.10.90.91/32 | |
15 | ||
16 | ||
17 | Quagga | |
18 | ================= | |
19 | ||
20 | /routing ospf area | |
21 | add area-id=0.0.0.2 name=area1 | |
22 | /routing ospf instance | |
23 | set [ find default=yes ] router-id=10.33.33.34 | |
24 | /routing filter | |
25 | add action=accept chain=ospf-in set-in-nexthop-direct=antirkn | |
26 | /routing ospf interface | |
27 | add authentication-key-id=0 dead-interval=15s hello-interval=5s interface=br1400 network-type=broadcast retransmit-interval=6s transmit-delay=2s | |
28 | /routing ospf network | |
29 | add area=area1 network=10.33.33.32/30 | |
30 | add area=backbone network=10.10.90.91/32 | |
31 | ||
32 | - | Алексей Копылов, [25.04.19 15:23] |
32 | + | |
33 | ip ospf dead-interval 15 | |
34 | ip ospf hello-interval 5 | |
35 | ip ospf mtu-ignore | |
36 | ip ospf priority 200 | |
37 | ip ospf retransmit-interval 6 | |
38 | ip ospf transmit-delay 2 | |
39 | ipv6 nd suppress-ra | |
40 | ||
41 | interface eth2 | |
42 | ip ospf dead-interval 15 | |
43 | ip ospf hello-interval 5 | |
44 | ip ospf mtu-ignore | |
45 | ip ospf priority 200 | |
46 | ip ospf retransmit-interval 6 | |
47 | ip ospf transmit-delay 2 | |
48 | ipv6 nd suppress-ra | |
49 | ||
50 | router ospf | |
51 | redistribute kernel route-map ospf | |
52 | network 10.33.33.32/30 area 0.0.0.2 | |
53 | network 91.202.12.224/30 area 0.0.0.1 | |
54 | ! | |
55 | ip prefix-list bgp seq 80 deny 0.0.0.0/0 | |
56 | ip prefix-list bgp seq 101 permit 0.0.0.0/0 le 32 | |
57 | ip prefix-list ospf seq 100 deny any | |
58 | ip prefix-list ospf seq 98 deny 224.0.0.0/24 le 32 | |
59 | ip prefix-list ospf seq 99 deny 0.0.0.0/0 le 8 | |
60 | ip prefix-list ospf seq 100 permit 0.0.0.0/0 le 32 | |
61 | ! | |
62 | route-map filter permit 1 | |
63 | match ip address prefix-list ospf | |
64 | ! | |
65 | route-map bgp permit 1 | |
66 | match ip address prefix-list bgp | |
67 | ! | |
68 | route-map ospf permit 1 | |
69 | match ip address prefix-list ospf | |
70 | ! | |
71 | ip forwarding | |
72 | ipv6 forwarding | |
73 | ! | |
74 | ip protocol ospf route-map filter |