Community discussions

MikroTik App
 
Exactly
just joined
Topic Author
Posts: 18
Joined: Wed Dec 14, 2022 8:14 pm

IP ROUTE ROS7 between ROS6 problem

Wed Mar 08, 2023 12:10 pm

Hello everyone,
I need help with configuration ip route on ROS 7 between ROS6 (ikev2 tunnel)

When i update one router to version 7.8 i have a problem with ping second location.

On 1 router (ROS6) i have configuration only:

/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 xx.xx.xx.xx 1
1 ADC xx.xx.xx.xx/30 xx.xx.xx.xx WAN 0
2 A S 192.168.0.0/24 bridge1 1
3 ADC 192.168.1.0/24 192.168.1.1 bridge1 0

On second router (ROS7) i have the same configuration but when i add route ping doesn't work, when i delete route ping ok but i don't have communityto other side.

Flags: D - DYNAMIC; X, I, A - ACTIVE; c, s, y - COPY
Columns: DST-ADDRESS, GATEWAY, DISTANCE
# DST-ADDRESS GATEWAY DISTANCE
0 As 0.0.0.0/0 xx.xx.xx.xx 1
DAc xx.xx.xx.xx/30 WAN 0
1 As 192.168.0.0/24 bridge1 2
DAc 192.168.1.0/24 bridge1 0


Can you help me what i need to make on ROS7?
Last edited by Exactly on Wed Mar 08, 2023 12:42 pm, edited 2 times in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: PING doesn't work on ROS7

Wed Mar 08, 2023 12:39 pm

The topic title is wrong
 
Exactly
just joined
Topic Author
Posts: 18
Joined: Wed Dec 14, 2022 8:14 pm

Re: IP ROUTE ROS7 between ROS6 problem

Wed Mar 08, 2023 12:43 pm

I changed it, i hope now is ok.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IP ROUTE ROS7 between ROS6 problem

Wed Mar 08, 2023 12:54 pm

Setting the interface as a gateway over broadcast networks is an invalid setup.
 
Exactly
just joined
Topic Author
Posts: 18
Joined: Wed Dec 14, 2022 8:14 pm

Re: IP ROUTE ROS7 between ROS6 problem

Wed Mar 08, 2023 1:09 pm

Could you talk me what is wrong? Maybe can you show me example config?

When i use two software ROS6 i don't have this problem.
Last edited by Exactly on Wed Mar 08, 2023 1:38 pm, edited 1 time in total.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IP ROUTE ROS7 between ROS6 problem

Wed Mar 08, 2023 1:38 pm

I already mentioned what is wrong, you cannot use interfaces as gateways on broadcast networks, set IP address instead of an interface. Such setups didn't work reliably on any version including v6.
 
Exactly
just joined
Topic Author
Posts: 18
Joined: Wed Dec 14, 2022 8:14 pm

Re: IP ROUTE ROS7 between ROS6 problem

Wed Mar 08, 2023 1:42 pm

What gateway i must use ?
- public ip other side ?
- local /24 v6?
- local /24 v7?


v6 Router :
IP LOCAL: 192.168.0.0/24

v7 Router:
IP LOCAL: 192.168.1.0/24
 
Exactly
just joined
Topic Author
Posts: 18
Joined: Wed Dec 14, 2022 8:14 pm

Re: IP ROUTE ROS7 between ROS6 problem

Thu Mar 09, 2023 12:10 pm

I already mentioned what is wrong, you cannot use interfaces as gateways on broadcast networks, set IP address instead of an interface. Such setups didn't work reliably on any version including v6.
@mrz

Can u send example configuration for this ?
I use IPSEC IKEV2 and only IP ROUTE to connect to different location.
This is very important for me.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IP ROUTE ROS7 between ROS6 problem

Thu Mar 09, 2023 12:32 pm

Unfortunately, I cannot guess the IP addresses, the gateway should be the IP address of the host behind which the network is located.
 
Exactly
just joined
Topic Author
Posts: 18
Joined: Wed Dec 14, 2022 8:14 pm

Re: IP ROUTE ROS7 between ROS6 problem

Thu Mar 09, 2023 4:06 pm

What do i need when i have 3 location ipsec on one router?
Need I to change Scope and Scope Target for this ?

Who is online

Users browsing this forum: No registered users and 7 guests