I'm having a few problems with connecting 2 mikrotik devices (it will be 3) to the internet.
I'm testing my config with GNS3 while the devices don't arrive until next week. Maybe this a GNS3 problem, or I'll have issues to config this next week....
I'm adding a picture to explain. GW and DC2 are Mikrotik devices.
GW is the gateway, connecting to 2 diferent ISP's with 2 default gateways with different distances. Networks 192.168.1.0/24 and 192.168.2.0/24.
This is the config that I have:
[admin@GW] > 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 A S 0.0.0.0/0 192.168.1.254 1
1 S 0.0.0.0/0 192.168.2.254 10
2 ADC 192.168.1.0/24 192.168.1.1 ether1 0
3 ADC 192.168.2.0/24 192.168.2.1 ether2 0
4 ADC 192.168.6.0/24 192.168.6.254 BridgeLAN 0
[admin@GW] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK INTERFACE
0 192.168.2.1/24 192.168.2.0 ether2
1 192.168.1.1/24 192.168.1.0 ether1
2 192.168.6.254/24 192.168.6.0 BridgeLAN
[admin@GW] > routing ospf route print
DST-ADDRESS STATE COST GATEWAY INTERFACE
0 0.0.0.0/0 imported-ext-1 1
1 192.168.1.0/24 intra-area 10 0.0.0.0 ether1
2 192.168.2.0/24 intra-area 10 0.0.0.0 ether2
3 192.168.6.0/24 intra-area 10 0.0.0.0 BridgeLAN
[admin@DC2] > 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 ADo 0.0.0.0/0 192.168.6.254 110
1 ADo 192.168.1.0/24 192.168.6.254 110
2 ADo 192.168.2.0/24 192.168.6.254 110
3 ADC 192.168.6.0/24 192.168.6.253 Bridge-DC2-GW 0
[admin@DC2] > ip address print
Flags: X - disabled, I - invalid, D - dynamic
ADDRESS NETWORK INTERFACE
0 192.168.6.253/24 192.168.6.0 Bridge-DC2-GW
[admin@DC2] > routing ospf route print
DST-ADDRESS STATE COST GATEWAY INTERFACE
0 0.0.0.0/0 ext-1 11 192.168.6.254 Bridge-DC2-GW
1 192.168.1.0/24 intra-area 20 192.168.6.254 Bridge-DC2-GW
2 192.168.2.0/24 intra-area 20 192.168.6.254 Bridge-DC2-GW
3 192.168.6.0/24 intra-area 10 0.0.0.0 Bridge-DC2-GW
GW works without problems.
DC2 is able to ping the outter address of GW (192.168.1.1 and 192.168.2.1) connected to the ISP's. but it fails to reach the ISP 192.168.1.254 or 8.8.8.8 for example....
I've tryed to setup OSPF in order to make DC2 to be able to connect to the internet without sucess, but it seams OSPF is working because I can see the GW routes on DC2.
I think because DC it's because DC uses the same network has GW, and the DC2 Bridge address is onthe same network has GW, 192.168.6.254 (GW) and 192.168.6.253 (DC2).
Any advice to fix this?
