Community discussions

MUM Europe 2020
 
w0lt
Member
Member
Topic Author
Posts: 486
Joined: Wed Apr 02, 2008 2:12 pm
Location: Minnesota USA

Deleted Static Routes Reappearing ROS 4.4 (x86)

Wed Dec 30, 2009 3:56 pm

I seem to keep getting previously deleted static routes reappear after a system reboot. Can't figure out why. Currently using ROS 4.4 (x86).
MTCNA - 2011

" The Bitterness of Poor Quality Remains Long After the Sweetness of Low Price is Forgotten "

Image
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6618
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Wed Dec 30, 2009 4:33 pm

It is very strange case. Do you have anything specific on your configuration? Is there any clue how to reproduce the same issue on our routers?
 
w0lt
Member
Member
Topic Author
Posts: 486
Joined: Wed Apr 02, 2008 2:12 pm
Location: Minnesota USA

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Wed Dec 30, 2009 10:33 pm

Nothing special other than one IPSec link. After exporting all to a .rsc file, and doing a reset-config, I reloaded the .rsc file , re-imported the certificates for the IPSec link, and all seems to be working without the phantom routes showing up. One note, it is very easy to get the IPSec link screwed up unless you import the certificates in the same order as you previously had listed in the IPSec Peers dialog box. That had me a bit confused for a few minutes till I remembered I imported them in the opposite order as I had originally. It's not very intuitive to use "cert1" or "cert2". Any chance of basing the name off of the certificate itself?

Thanks,

-tp
MTCNA - 2011

" The Bitterness of Poor Quality Remains Long After the Sweetness of Low Price is Forgotten "

Image
 
rpress
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Thu May 07, 2009 5:13 am

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Wed Dec 30, 2009 10:57 pm

You can change the name of the certificate after import.

/certificate set 0 name="vpn_1"
 
w0lt
Member
Member
Topic Author
Posts: 486
Joined: Wed Apr 02, 2008 2:12 pm
Location: Minnesota USA

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Wed Dec 30, 2009 11:11 pm

Perfect, I didn't think to try that. Works Perfectly !!

-Thanks Rpress !!
MTCNA - 2011

" The Bitterness of Poor Quality Remains Long After the Sweetness of Low Price is Forgotten "

Image
 
void
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Fri Nov 07, 2008 5:28 pm

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Thu Dec 31, 2009 4:49 pm

I have the same issue on a RB493AH. Static routes that were deleted are coming back on 4.4 after a reboot.
 
User avatar
astounding
Member Candidate
Member Candidate
Posts: 121
Joined: Tue Dec 16, 2008 12:17 am

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Thu Dec 31, 2009 9:50 pm

I've seen this on a RB433AH box too with 4.4. I removed a secondary default route, rebooted, and it showed up again.

I did notice that while deleting one of the static routes, the delete command (via SSH cli) hung for a bit before completing, and on another 4.4 RB411 (or was it a 433?) box, a static route removal timed out completely.

So I wonder if perhaps this is related.

Here's my latest attempt at old default route removal:
[admin@RB433AH] > /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          10.20.30.41    10.20.30.40       1
 1   S  0.0.0.0/0          10.20.30.41    10.20.30.1        2
 2   S  0.0.0.0/0          10.50.60.22    10.50.60.1        2
[admin@RB433AH] /ip route> /ip route remove 2
action timed out - try again, if error continues contact MikroTik support and send a supout file (13)
[admin@RB433AH] > /system resource print
                   uptime: 21h2m56s
                  version: "4.4"
              free-memory: 117116kB
             total-memory: 127408kB
                      cpu: "MIPS 24K V7.4"
                cpu-count: 1
            cpu-frequency: 680MHz
                 cpu-load: 7
           free-hdd-space: 30972kB
          total-hdd-space: 61440kB
  write-sect-since-reboot: 187
         write-sect-total: 448228
               bad-blocks: 1
        architecture-name: "mipsbe"
               board-name: "RB433AH"
[admin@RB433AH] > /system routerboard print
       routerboard: yes
             model: "433AH"
     serial-number: "1234567890AB"
  current-firmware: "2.23"
  upgrade-firmware: "2.23"
[admin@RB433AH] >
In the case of the old default route I was removing above, the 10.50.60.0/24 network and IP address had already been removed from the MikroTik. I don't know if that is relevant or not.

Also, AFTER the command times out, doing another "/ip route print" will NOT show the removed route. It appears to be deleted, although it will reappear again after reboot.

When others have encountered this problem, did any of you have the command time-out?

Aaron out.
 
w0lt
Member
Member
Topic Author
Posts: 486
Joined: Wed Apr 02, 2008 2:12 pm
Location: Minnesota USA

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Mon Jan 04, 2010 5:01 am

This seems to still be happening.
Deleted routes reappear after system reboot ( like ghosts from the past :shock: )

ROS 4.4 x86
MTCNA - 2011

" The Bitterness of Poor Quality Remains Long After the Sweetness of Low Price is Forgotten "

Image
 
professor
just joined
Posts: 5
Joined: Sat Aug 22, 2009 1:34 am

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Mon Jan 04, 2010 2:52 pm

ditto
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24337
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Mon Jan 04, 2010 2:52 pm

we just fixed it for v4.5
No answer to your question? How to write posts
 
professor
just joined
Posts: 5
Joined: Sat Aug 22, 2009 1:34 am

Re: Deleted Static Routes Reappearing ROS 4.4 (x86)

Mon Jan 04, 2010 3:15 pm

Sweet. Thanks Normis :D

Who is online

Users browsing this forum: MSN [Bot] and 93 guests