Article 5RWSB the ip command does not like my prefix length

the ip command does not like my prefix length

by
Skaperen
from LinuxQuestions.org on (#5RWSB)
the command i tried and its result:
Code:lt2a/root /root 19# ip route add 23.216.241.55/23 via 172.31.0.1
Error: Invalid prefix for given prefix length.
lt2a/root /root 20#i could route each single IP one at a time. it does accept /32. i would do that for /29. but /23 (512 IPs) is way too big for that. how can i do this routing with the ip command, that has been said can do "everything".latest?d=yIl2AUoC8zA latest?i=JaNfh_-FQaE:57XflaBMR_U:F7zBnMy latest?i=JaNfh_-FQaE:57XflaBMR_U:V_sGLiP latest?d=qj6IDK7rITs latest?i=JaNfh_-FQaE:57XflaBMR_U:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments