improve feedback of ip route add nat command failure

Bug #1467073 reported by Karl-Philipp Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iproute2 (Ubuntu)
In Progress
Low
Tammy Miller

Bug Description

Support for `nat` routes has been dropped in 2.6 according to `man ip route`, yet invoking `sudo ip route add nat 192.168.178.30 via 192.168.179.1` prints `RTNETLINK answers: Invalid argument` which should be `support for adding NAT routes has been dropped in Linux 2.6, see 'man ip route' for more details. Consider using [the alternative to nat routes] instead` because there's no sense in giving less feedback than possible.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: iproute2 3.16.0-2ubuntu1
Uname: Linux 4.0.5-040005-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Sat Jun 20 12:20:55 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-04-20 (60 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: iproute2
UpgradeStatus: Upgraded to vivid on 2015-04-24 (56 days ago)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This report should probably be verified upstream and then sent there, as it doesn't make sense for Ubuntu to diverge from other distributions on this.

tags: added: needs-upstream-report
Changed in iproute2 (Ubuntu):
importance: Undecided → Low
Tammy Miller (tgmiller5)
Changed in iproute2 (Ubuntu):
assignee: nobody → Tammy Miller (tgmiller5)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.