Skip to contentSkip to conversation

New: ip route add with src failes with RTNETLINK answers: Invalid argument

Bug 107071 Stephen Hemminger 2 participants 2 messages Nov 3, 2015

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

This is a 4.3 kernel bug, not iproute2

Begin forwarded message:

Date: Tue, 3 Nov 2015 04:37:03 +0000
From: "[email protected]" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Bug 107071] New: ip route add with src failes with RTNETLINK answers: Invalid argument

https://bugzilla.kernel.org/show_bug.cgi?id=107071

            Bug ID: 107071
           Summary: ip route add with src failes with RTNETLINK answers:
                    Invalid argument
           Product: Networking
           Version: 2.5
    Kernel Version: 4.3.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IPV4
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

when I try to add sudo ip route add 10.248.5.0/24 dev bond0.250 table vlan_250 src 10.248.5.154

I get RTNETLINK answers: Invalid argument

On latest 4.3 compiled from source on ubuntu 14.04

strace:
https://bpaste.net/show/78afc27a1bb7

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw
Quoted 4 lines · Stephen Hemminger

when I try to add sudo ip route add 10.248.5.0/24 dev bond0.250 table vlan_250 src 10.248.5.154

I get RTNETLINK answers: Invalid argument

Probably a side effect of one my patches for VRF. I'll take a look.