Community discussions

MikroTik App
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Static routing doesen't work

Sun Aug 12, 2012 5:07 pm

Hello guys !
I have routing problem, my ISP routed to my MT a subnet 82.xx.xx.128/25 IPv4 public throught a public IP ( 86.xx.xx.185/27 ).
For aprx. 12 moths the RB worked well with these settings:

Routing table:
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 86.xx.xx.177 1
1 ADC 82.xx.xx.128/25 82.xx.xx.130 vlan1 0
2 ADC 86.xx.xx.177/32 86.xx.xx.185 WAN 0
Detaile:
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
0 A S dst-address=0.0.0.0/0 gateway=86.xx.xx.177 gateway-status=86.xx.xx.177 reachable via WAN distance=1 scope=30 target-scope=10

1 ADC dst-address=82.xx.xx.128/25 pref-src=82.xx.xx.130 gateway=vlan1 gateway-status=vlan1 reachable distance=0 scope=10

2 ADC dst-address=86.xx.xx.177/32 pref-src=86.xx.xx.185 gateway=WAN gateway-status=WAN reachable distance=0 scope=10

vlan1 = eth1 = 82.xx.xx.130 (this is the gateway that i want to use in my public subnet) , vlan1 = eth1 = eth2 = eth3 - Bridged (Routerboard 450G with v5.14 )
WAN = eth0 = 86.xx.xx.185 ( this is the public IP from WAN port - that faced the ISP )

They said that from their side all it's o.k and nothig was changed (don't think so) i tested and tested with diferent configuration but no results. Know i use masquarading as a standby solution. Please help!

Best Regards!
Vlad
You do not have the required permissions to view the files attached to this post.
 
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Apr 10, 2011 1:25 am

Re: Static routing doesen't work

Sun Aug 12, 2012 6:17 pm

Can you check the IP addresses allocated to your interfaces (and perhaps show the output/configuration here)?
2 ADC 86.xx.xx.177/32 86.xx.xx.185 WAN 0
From your description, I would have expected the above to be:
2 ADC 86.xx.xx.160/27 86.xx.xx.185 WAN 0
I imagine you cannot currently ping 86.x.x.177 from the router either?

Regards,
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Sun Aug 12, 2012 7:02 pm

Can you check the IP addresses allocated to your interfaces (and perhaps show the output/configuration here)?
2 ADC 86.xx.xx.177/32 86.xx.xx.185 WAN 0
From your description, I would have expected the above to be:
2 ADC 86.xx.xx.160/27 86.xx.xx.185 WAN 0
I imagine you cannot currently ping 86.x.x.177 from the router either?
@cupis: I can ping 86.x.x.177(this is ISP GATEWAY) from the router but i don't have access to the internet , i can ping even the DNS but all trafic goes just over 86.x.x.185 (this is my public ip throught subnet is routed).

Regards,
output as requested:

Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
82.x.x.130/25 82.x.x.128 eth1
1 86.x.x.185/32 86.x.x.177 WAN

Best regads,
Vlad
 
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Apr 10, 2011 1:25 am

Re: Static routing doesen't work

Sun Aug 12, 2012 7:25 pm

I have routing problem, my ISP routed to my MT a subnet 82.xx.xx.128/25 IPv4 public throught a public IP ( 86.xx.xx.185/27 ).
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
82.x.x.130/25 82.x.x.128 eth1
1 86.x.x.185/32 86.x.x.177 WAN
So shouldn't your WAN interface be 86.x.x.185/27, not 86.x.x.185/32 ?

Regards,
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Sun Aug 12, 2012 9:35 pm

I have routing problem, my ISP routed to my MT a subnet 82.xx.xx.128/25 IPv4 public throught a public IP ( 86.xx.xx.185/27 ).
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
82.x.x.130/25 82.x.x.128 eth1
1 86.x.x.185/32 86.x.x.177 WAN
So shouldn't your WAN interface be 86.x.x.185/27, not 86.x.x.185/32 ?

Regards,

It is /32 because it's the ISP interface(WAN) and i have just 1 (one) ip from the 86.x.x.176/28 (sorry it's not /27 it's /28) that's why i have 86.x.x.185/32 and even i modfy this it doesen't work:


Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
82.77.199.130/25 82.77.199.128 eth1
1 86.120.31.185/28 86.120.31.176 WAN

I set it as /28 ( subnetmask is: 255.255.255.240) but it's not working. :(

Best regards,
Vlad
 
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Apr 10, 2011 1:25 am

Re: Static routing doesen't work

Sun Aug 12, 2012 10:21 pm

It is /32 because it's the ISP interface(WAN) and i have just 1 (one) ip from the 86.x.x.176/28 (sorry it's not /27 it's /28) that's why i have 86.x.x.185/32 and even i modfy this it doesen't work:
Based on the information you've given so far, it sounds to me like it should be /28, not /32, otherwise your device will not have a route to get to 86.x.x.177.
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
82.77.199.130/25 82.77.199.128 eth1
1 86.120.31.185/28 86.120.31.176 WAN
Okay, now you have provided the actual IP addresses involved, I would say that there is a problem with your providers configuration, as I can trace a route to your WAN IP, but not to your /25 allocation - the traffic seems to stop as your providers border, suggesting that their do not have a route for your /25 in their internal routing table.
$ traceroute -n 86.120.31.185
traceroute to 86.120.31.185 (86.120.31.185), 30 hops max, 60 byte packets
 1  x.x.x.x  97.131 ms  95.464 ms  93.575 ms
 2  x.x.x.x  50.067 ms  51.675 ms  55.787 ms
 3  * * *
 4  * * *
 5  195.66.224.46  68.364 ms  70.357 ms  70.474 ms
 6  213.154.135.134  109.974 ms  71.309 ms  71.719 ms
 7  213.154.135.194  462.593 ms  770.338 ms *
 8  86.120.31.185  74.221 ms  76.595 ms  76.595 ms
$ traceroute -n 82.77.199.130
traceroute to 82.77.199.130 (82.77.199.130), 30 hops max, 60 byte packets
 1  x.x.x.x  31.891 ms  29.450 ms  127.465 ms
 2  x.x.x.x  62.830 ms  68.190 ms  69.052 ms
 3  x.x.x.x  73.289 ms  73.630 ms  75.391 ms
 4  * * *
 5  195.66.224.46  81.858 ms  82.089 ms  82.346 ms
 6  * * *
 7  * * *
 8  * * *
...
$ host 195.66.224.46
46.224.66.195.in-addr.arpa domain name pointer xr01.london.rdsnet.ro.
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Sun Aug 12, 2012 10:47 pm

Hello guys,

So from your investigation and from my point of view the ISP has "mismatched" the routes (because until Saturday at 3PM GMT+3 the routed subnet worked) ?

Correct me if i am wrong !?

Best regards!
Vlad
 
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Apr 10, 2011 1:25 am

Re: Static routing doesen't work

Sun Aug 12, 2012 11:20 pm

Based on the information you've provided, I think you need to refer this to your provider for further investigation.
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Sun Aug 12, 2012 11:38 pm

Based on the information you've provided, I think you need to refer this to your provider for further investigation.

Tomorrow morning (because it's 11:30 PM) i will call the ISP and i'll be back with updates and solution that they provided.
Thank you for your help and time spent for this investigation.

Best regards,
Vlad
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Mon Aug 13, 2012 1:32 pm

Problem solved , the routing problem was at providers side and not mine , thank you very much for your help and time spent to help me in my problem!

Best regards,
Vlad
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Sat Dec 29, 2012 12:18 am

Hy guy's thank you for your time and help!

I'm back with another problem , i bought an new MT and want to re-route a subnet(/28) from my entire subnet(/25).

Here's my configuration on first (central MT) where is the problem:

ros code

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                                   86.120.31.177             1
 1 ADC  10.0.0.0/24                10.0.0.1        eth1                      0
 2 ADC  82.77.199.128/26     82.77.199.130   vlan1                     0
 3 A S  82.77.199.208/28        10.0.0.1        10.0.0.2                  2
 4 ADC  86.120.31.176/28      86.120.31.185   WAN                       0
In the file attached it can be seen what i am doing...

I can ping the 82.xx.xx.209 interface from internet , but from the second MT i can't ping the internet through the 82.xx.xx.209 interface :( somthing is not right ...also i can ping the 86.120.31.185 (WAN from first MT) but the GW of ISP is not responding from the second MT... some ideas?

P.S in the image i have the "82.xx.xx.194/26" it's not right , the right assigned ip is: "82.xx.xx.194/28" just 16 ip's i need pleaning to buy a new MT to make a ring :)

Best Regards
You do not have the required permissions to view the files attached to this post.
 
vladturbuleasa
just joined
Topic Author
Posts: 15
Joined: Thu Mar 22, 2012 1:23 pm

Re: Static routing doesen't work

Wed Jan 02, 2013 8:38 pm

Hi guy's ,

Please an ideea? ...i need urgently help pls!
 
cupis
Frequent Visitor
Frequent Visitor
Posts: 74
Joined: Sun Apr 10, 2011 1:25 am

Re: Static routing doesen't work

Wed Jan 16, 2013 11:40 pm

Can you show us the routing table on both routers, and just double check the diagram and make sure it is correct/accurate, please?

Regards,

Who is online

Users browsing this forum: No registered users and 15 guests