Community discussions

MikroTik App
 
jacekarwal
just joined
Topic Author
Posts: 17
Joined: Mon Jun 13, 2011 11:57 am
Contact:

routing problem ( 3 routers )

Sat May 12, 2012 7:37 pm

My configuration is
router1

ip route> print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf 
 #     DST-ADDRESS        PREF-SRC        G GATEWAY         DISTANCE INTERFACE
 0 ADC 192.168.14.0/24        192.168.14.191                         LAN1      
 2 A S 10.18.0.0/22                       r 192.168.150.1            WAN_2
 3 ADC 192.168.100.0/24   192.168.100.1                              WAN_1
 4 ADC 192.168.150.0/24   192.168.150.10                             WAN_2
 5 A S 192.168.160.0/24                   r 192.168.150.1            WAN_2
 8 A S 0.0.0.0/0                          r 192.168.100.1            WAN_1

ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic 
 0   chain=srcnat action=masquerade 

tool> traceroute 192.168.160.1
     ADDRESS                                    STATUS
   1 192.168.150.1   10ms 1ms 1ms 
   2 192.168.160.1   39ms 7ms 6ms 

tool> traceroute 10.18.1.187  
     ADDRESS                                    STATUS
   1 192.168.150.1   9ms 11ms 7ms 
   2 0.0.0.0         timeout timeout timeout 
   3 0.0.0.0         timeout timeout timeout 


router2

/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.160.1      1           
 3 A S  10.18.0.0/22                       192.168.160.1      1       
 4 ADC  192.168.150.0/24   192.168.150.1   LAN1		      0       
 5 ADC  192.168.160.0/24   192.168.160.201 WAN1               0  

/ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic 
 1   chain=srcnat action=masquerade src-address=192.168.150.0/24 
     dst-address=192.168.160.0/24

tool> traceroute 10.18.1.187
     ADDRESS                                    STATUS
   1     10.18.1.187 61ms 110ms 77ms 


router3

ip route> print
Flags: X - disabled, A - active, D - dynamic, 
C - connect, S - static, r - rip, b - bgp, o - ospf, 
B - blackhole, U - unreachable, P - prohibit 
 #      DST-ADDRESS        PREF-SRC        G GATEWAY         DIS
 1 A S  0.0.0.0/0                          r 10.18.1.1       1  
 2 ADC  192.168.14.0/24        192.168.14.1                  0  
 4 ADC  10.18.0.0/22       10.18.1.187                       0  
 7 ADC  192.168.160.0/24   192.168.160.1                     0  

ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic 

 1   chain=srcnat action=masquerade out-interface=WAN1
     src-address=192.168.160.0/24 

Image

Problem is that from computer connected to router1 ( or from router1 ) I cannot access WAN1 on router3 ( traceroute shows timeout ), but I can access LAN1 on router3 , from router2 I can access WAN1 on router3

Who is online

Users browsing this forum: Bing [Bot], sjdurand and 198 guests