Ahojte
Mám nasledovný problém
Od poskytovatela mam 2 nezavisle linky, mam to nastavené takto:
/ip firewall nat
add chain=dstnat comment="dns forward" dst-port=53 in-interface="!ether2" protocol=udp src-address=192.168.101.250 to-addresses=192.168.101.250 to-ports=53
add action=dst-nat chain=dstnat comment="dns forward" dst-port=53 in-interface="!ether2" protocol=udp src-address=192.168.0.0/16 to-addresses=192.168.101.250 to-ports=53
add action=src-nat chain=srcnat src-address-list=net_1 to-addresses=91.x.x.193
add action=dst-nat chain=dstnat dst-address=91.x.x.193 to-addresses=192.168.0.0/16
/ip route
add distance=40 gateway=91.x.y.1
/routing bgp network
add network=91.x.x.192/26 synchronize=no
/routing bgp peer
add name=Primary nexthop-choice=force-self remote-address=185.x.x.77 remote-as=57248 ttl=default
ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADb 0.0.0.0/0 185.x.x.77 20
1 S 0.0.0.0/0 91.x.y.1 40
nastavenie ip
/ip address
add address=192.168.100.169/29 interface=Vinice network=192.168.100.168
add address=91.x.y.11/28 interface="ether1 - secundary" network=91.x.y.0
add address=91.x.x.193/29 interface=ether5 network=91.x.x.192
add address=192.168.100.57/30 interface=KD_18GHz network=192.168.100.56
add address=192.168.100.249/29 interface="ether3 -11GHz" network=192.168.100.248
add address=192.168.0.81/29 interface="ether6 - Vinice" network=192.168.0.80
add address=192.168.100.177/29 interface="ether6 - Vinice13GHz" network=192.168.100.176
add address=10.255.250.1 interface=loopback network=10.255.250.1
add address=185.x.x.78/30 interface="ether2 - primary" network=185.x.x.76
OSPF mam nastavené takto:
/routing ospf area
set [ find default=yes ]
/routing ospf instance
set [ find default=yes ] disabled=yes
add distribute-default=always-as-type-1 metric-default=1 name=Vinice router-id=10.255.250.1
/routing ospf area
add area-id=0.0.0.2 instance=Vinice name=Vinice
add area-id=0.0.0.1 instance=Vinice name=KD
/routing ospf interface
add cost=11 interface="ether6 - Vinice" network-type=broadcast
add cost=13 interface=Vinice network-type=broadcast
add cost=8 interface="ether3 - 11GHz" network-type=broadcast
add cost=9 interface=KD network-type=broadcast
/routing ospf network
add area=Vinice network=192.168.100.160/27
add area=Vinice network=192.168.20.0/22
add area=Vinice network=192.168.100.0/28
add area=KD network=192.168.8.0/21
add area=KD network=192.168.16.0/23
add area=KD network=192.168.100.64/26
add area=KD network=192.168.100.208/28
add area=KD network=192.168.100.224/27
add area=KD network=91.x.x.248/29
add area=KD network=192.168.100.56/30
toto je nastavenie hlavneho routra.
Takto mam nastaveny router na Viniciach:
/routing ospf area
set [ find default=yes ] disabled=yes
/routing ospf instance
set [ find default=yes ] disabled=yes
add name=Vinice router-id=10.255.250.2 redistribute-static=as-type-1
/routing ospf area
add area-id=0.0.0.2 instance=Vinice name=Vinice
/routing ospf interface
add cost=11 interface="ether3 - Uplink_13GHz" network-type=broadcast
add cost=13 interface="ether2 - Uplink_5GHz" network-type=broadcast
/routing ospf network
add area=Mana_Vinice network=192.168.100.160/27
add area=Mana_Vinice network=192.168.20.0/22
add area=Mana_Vinice network=192.168.100.0/28
Takto mam nastaveny router v KD:
/routing ospf instance
add name=KD redistribute-connected=as-type-1 \
redistribute-static=as-type-1 router-id=10.255.250.4
/routing ospf area
add area-id=0.0.0.1 instance=KD name=KD
/routing ospf interface
add cost=8 interface="ether2 - Uplink_11GHz" network-type=\
broadcast
add cost=9 interface="ether1 - Uplink_18GHz" network-type=\
broadcast
/routing ospf nbma-neighbor
add address=192.168.0.57 instance=KD priority=4
/routing ospf network
add area=KD network=91.x.x.248/29
add area=KD network=192.168.8.0/21
add area=KD network=192.168.16.0/23
add area=KD network=192.168.100.64/26
add area=KD network=192.168.100.208/28
add area=KD network=192.168.100.224/27
add area=KD network=192.168.100.56/30
Mám problém s tym ze OSPF mi nechodi. Neviem preco. Menil som aj
distribute-default=always-as-type-1
ale nic nepomohlo. Co tam mám zle ? Nejak mi dosli nápady
Dalsi problem je ze neopingam gateway = 185.x.x.77 z mojho pc. Z hlavneho routra to ide
Casom som zistil ze neopingam ani IP adresy 91.x.y.11 a 91.x.x.193 z vonku siete. a neviem preco. Viete mi poradit ?
Ak by sa to podarilo vyriesit potreboval by som tu linku na KD vid obrazokv <--- ia0 -->routingOSPF.png<--- ia0 -->
kde je licenc 500M a 200M dat do mpls. Tu som sa snazil na testovacich routroch nastavit ale neslo mi to. Viete poradit ako ?
Ale prvom rade by som rad vyriesil tie problemy vyssie ako to MPLS to ma az tak neboli
Ďakujem za kazdu radu
Michal