Re: iproute2 query

2016-02-22 Thread Marcus Furlong
On 22 February 2016 at 07:05, Stephen Hemminger wrote: > On Fri, 19 Feb 2016 20:12:04 +1100 > Marcus Furlong wrote: > >> Hi, >> >> Just wondering if the following command should work: >> >> # ip route add 192.168.27.27/24 dev eth0 scope link src 192.168.27.27 >> RTNETLINK answers: Invalid argumen

Re: iproute2 query

2016-02-21 Thread Stephen Hemminger
On Fri, 19 Feb 2016 20:12:04 +1100 Marcus Furlong wrote: > Hi, > > Just wondering if the following command should work: > > # ip route add 192.168.27.27/24 dev eth0 scope link src 192.168.27.27 > RTNETLINK answers: Invalid argument > > However, this command works: > > # ip route add 192.168.2