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".
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".