Thread (3 messages) flat view 3 messages, 2 authors, 2016-02-23

iproute2 query

From: Marcus Furlong <hidden>
Date: 2016-02-19 09:12:24

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.27.0/24 dev eth0 scope link src 192.168.27.27

192.168.27.0/24 and 192.168.27.27/24 describe the same subnet?

Regards,
Marcus.

-- 
Marcus Furlong
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help