Bug 456149

Summary: route add fails with error "SIOCADDRT: No such process\n"
Product: [Fedora] Fedora Reporter: John Poelstra <poelstra>
Component: net-toolsAssignee: Radek Vokál <rvokal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: zprikryl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-01 09:18:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace none

Description John Poelstra 2008-07-21 18:52:31 UTC
Description of problem:

route add fails with error "SIOCADDRT: No such process\n" with my wireless
connection. I've seen it several times in /var/log/messaes resulting in my
notebook being unable to automatically set a default route and get outside my
local network

Version-Release number of selected component (if applicable):
net-tools-1.60-87.fc9.i386

How reproducible:
100%

Steps to Reproduce:
1. make sure wired network port is not connected
2. # route add default gw 192.168.1.10
3.
  
Actual results:
error

Expected results:
success

Additional info:
see attched strace log

Comment 1 John Poelstra 2008-07-21 18:52:31 UTC
Created attachment 312291 [details]
strace

Comment 2 John Poelstra 2008-07-21 18:55:44 UTC
note the wired network also does not work correctly with NetworkManager in that
a default route is not set automatically.  What is unique about the wired
network is that I CAN manually set the default route.

Comment 3 Zdenek Prikryl 2008-07-29 12:32:44 UTC
Please, can you describe here whole configuration of your network? I neam IP,
netmask, ...

Thanks.

Comment 4 John Poelstra 2008-07-31 18:12:44 UTC
After researching this further I have found that the problem appears to be with
my dhcp server (linksys running openwrt).  I was using static dhcp assignments
and when I disable the MAC address association everything works fine.  My
current theory is that I have a some stale MAC address associations that I can't
clear out of the router for some reason.

Is this still a bug?  IOW should 'route' return the error it does if it can't
set a route?

Comment 5 Zdenek Prikryl 2008-08-01 09:18:50 UTC
In my opinion, this is the configuration error, not a error in net-tools.
Returned error message reflect the problem which was caused by setting wrong
route, so I think that there is no problem with it. In any case I'm closing this
as NOTABUG.