Static Routing - persistent path

Static Routing - persistent path

Static Routing - persistent path
Static Routing - persistent path
2024-11-11 17:37:16 - last edited 2024-11-12 09:18:30
Model: ER707-M2  
Hardware Version: V1
Firmware Version: 1.2.3

Hi,

 

I'm trying to set up few static routes between ER707 and ER605. Everything works fine unless those two devices looses their connection. Which is typical afaik, once there is no connection, the static route got terminated form the table.

Unfortunately, once the connection is back online, the static route does not get back into the table.

 

Is there a way to set up Persistent Static Route, which will try to forward packages no matter if the link is up or down (and drop packages when the link is down ofc)?

I've tried to find any info on that in manuals, this forum or reddit. No luck tho. I know such setting is possilbe in Cisco for example...

 

Thanks for any help,

Cheers

  0      
  0      
#1
Options
1 Accepted Solution
Re:Static Routing - persistent path-Solution
2024-11-12 09:15:32 - last edited 2024-11-12 09:18:30

Hi @RaRu 

Thanks for posting in our business forum.

RaRu wrote

  @Clive_A 

 

I'll check the Wireguard later this week, thanks :)

Thank you for your input and test!

 

Are there any plans for implementing persistent routing in the future or not yet?

 

Cheers

RaRu

Not yet. Based on my discussion with the dev, no plans or any prior requests on this.

 

He recommended you consider IPsec while you have a dilemma here with the public IP. That's not gonna work. I come up if you may have a better result with the WG.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  2  
  2  
#9
Options
8 Reply
Re:Static Routing - persistent path
2024-11-12 02:04:47

Hi @RaRu 

Thanks for posting in our business forum.

Screenshots of the issue you described.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#2
Options
Re:Static Routing - persistent path
2024-11-12 06:21:56 - last edited 2024-11-12 06:29:24

  @Clive_A 

 

Hi,

Thank you for picking it up. I'll try to cover that with screenshots.

 

So, I have a VPN connection between ER707 (server) and ER605 (client). It is old L2TP setup (for now, for testing).

Whenever VPN connection drops and get reconnected automatically, the static routing stops working. Here you can see, that VPN connection is established (after reconnecting automatically):

 

Text

 

And in theory, there is proper record in Routing Table (as it should be):

 

But if you would like to access the subnet 192.168.10.X, you get time out (ping) and no route (tracert) - or to be more specific, the traffic goes to WAN...

 

In order make it work, I have to go back to Routing settings, edit the setting (change value and change it back) and save:

 

It doesn't matter if I choose direct IP (192.168.20.20) or general (192.168.20.1).

 

After that the Routing is back up and running:

 

Until the next VPN reconnect...

 

Any idea how I could fix that? to make is running all the time (whenever VPN reconnect?

 

Cheers

  0  
  0  
#3
Options
Re:Static Routing - persistent path
2024-11-12 06:31:07

Hi @RaRu 

Thanks for posting in our business forum.

Diagram of the network with IP specified is needed.

It's IPsec site-to-site, more specially speaking?

 

When the VPN is disconnected, and it reconnects, what's the difference in the routing table?

 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#4
Options
Re:Static Routing - persistent path
2024-11-12 06:46:33

  @Clive_A 

 

Not the best diagram but hope it's good enough :)

 

The connection is L2TP Client-to-Site since the site B has private IP address from ISP.

 

After VPN reconnection there is no difference in Routing Table, at least according to what Omada Controller's interface shows. But the routing itself doesn't work. editing the routing rule restore the connectionbut still, shows exactly the same value in Routing Table.

  0  
  0  
#5
Options
Re:Static Routing - persistent path
2024-11-12 07:08:12

Hi @RaRu 

Thanks for posting in our business forum.

RaRu wrote

  @Clive_A 

 

Not the best diagram but hope it's good enough :)

 

 

The connection is L2TP Client-to-Site since the site B has private IP address from ISP.

 

After VPN reconnection there is no difference in Routing Table, at least according to what Omada Controller's interface shows. But the routing itself doesn't work. editing the routing rule restore the connectionbut still, shows exactly the same value in Routing Table.

With the given information, it is pretty clear but strange. I will bring this case and consult with the dev.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#6
Options
Re:Static Routing - persistent path
2024-11-12 08:47:47

Hi @RaRu 

Thanks for posting in our business forum.

RaRu wrote

  @Clive_A 

 

Not the best diagram but hope it's good enough :)

 

 

The connection is L2TP Client-to-Site since the site B has private IP address from ISP.

 

After VPN reconnection there is no difference in Routing Table, at least according to what Omada Controller's interface shows. But the routing itself doesn't work. editing the routing rule restore the connectionbut still, shows exactly the same value in Routing Table.

I consulted with the dev and this is expected behavior at this time.

When the tunnel is up and the routing entry is there, this static routing will be effective until the VPN tunnel(interface) is lost/disabled.

We indeed don't support the persistent routing entry yet. This is reproduced in the lab and we monitored its background process.

 

If possible, will you try the WireGuard VPN if that's an alternative type to address the issue you have now?

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  0  
  0  
#7
Options
Re:Static Routing - persistent path
2024-11-12 09:03:08

  @Clive_A 

 

I'll check the Wireguard later this week, thanks :)

Thank you for your input and test!

 

Are there any plans for implementing persistent routing in the future or not yet?

 

Cheers

RaRu

  0  
  0  
#8
Options
Re:Static Routing - persistent path-Solution
2024-11-12 09:15:32 - last edited 2024-11-12 09:18:30

Hi @RaRu 

Thanks for posting in our business forum.

RaRu wrote

  @Clive_A 

 

I'll check the Wireguard later this week, thanks :)

Thank you for your input and test!

 

Are there any plans for implementing persistent routing in the future or not yet?

 

Cheers

RaRu

Not yet. Based on my discussion with the dev, no plans or any prior requests on this.

 

He recommended you consider IPsec while you have a dilemma here with the public IP. That's not gonna work. I come up if you may have a better result with the WG.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  2  
  2  
#9
Options

Information

Helpful: 0

Views: 247

Replies: 8

Related Articles