Skip to contentSkip to conversation

Error on ip route replace command

DISCUSSION Francesco Saverio Giudice 2 participants 3 messages Feb 22, 2008 – Feb 23, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi All,

I have a problem with kernel 2.6.24.

Having a running configuration using Shorewall and restarting it I got follow error:
RTNETLINK answers: File exists

Tom Eastep, Shorewall creator, told me to inform you about the problem.

Here is the mail:
------------------------------------------------------------

Quoted 4 lines · Francesco Saverio Giudice

Hi Tom,

I get the error:

Quoted 8 lines

---------

# ip route add 1.2.4.5 dev eth3
# ip route replace 1.2.4.5 dev eth3
RTNETLINK answers: File exists
---------

I have to patch kernel or something else ?

You should report it at [email protected] (that's where the Linux networking developers hang out). This failure does not occur with kernel 2.6.22 and iproute2 ss070710:

gateway:~ # ip route add 1.2.4.5 dev eth0
gateway:~ # ip route replace 1.2.4.5 dev eth0
gateway:~ # ip route del 1.2.4.5

-Tom

Signature · 10 lines
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [email protected]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

------------------------------------------------------------

Best Regards

Francesco Saverio Giudice
#1 lore raw

2008/2/23, Francesco Saverio Giudice <[email protected]>:

Quoted 45 lines

Hi All,

I have a problem with kernel 2.6.24.

Having a running configuration using Shorewall and restarting it I got follow error:
RTNETLINK answers: File exists

Tom Eastep, Shorewall creator, told me to inform you about the problem.

Here is the mail:
------------------------------------------------------------

Quoted 4 lines · Francesco Saverio Giudice

Hi Tom,

I get the error:

Quoted 8 lines

---------

# ip route add 1.2.4.5 dev eth3
# ip route replace 1.2.4.5 dev eth3
RTNETLINK answers: File exists
---------

I have to patch kernel or something else ?

You should report it at [email protected] (that's where the Linux networking developers hang out). This failure does not occur with kernel 2.6.22 and iproute2 ss070710:

gateway:~ # ip route add 1.2.4.5 dev eth0
gateway:~ # ip route replace 1.2.4.5 dev eth0
gateway:~ # ip route del 1.2.4.5

-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ [email protected]
PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key

------------------------------------------------------------

Best Regards

Quoted 9 lines

Francesco Saverio Giudice

--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Francesco,
It was fixed by 936f6f8e1bc46834bbb3e3fa3ac13ab44f1e7ba6 and c18865f39276435abb9286f9a816cb5b66c99a00.
Please try with lastest git source

Joonwoo.

#2 lore raw

----- Original Message ----- From: "Joonwoo Park" <[email protected]>
To: "Francesco Saverio Giudice" <[email protected]>
Cc: <[email protected]>
Sent: Saturday, February 23, 2008 7:44 AM
Subject: Re: Error on ip route replace command

Quoted 8 lines

Francesco,
It was fixed by 936f6f8e1bc46834bbb3e3fa3ac13ab44f1e7ba6 and c18865f39276435abb9286f9a816cb5b66c99a00.
Please try with lastest git source

Joonwoo.

Joonwoo,

I will give a try.

Thank you

Francesco