Error: any valid prefix is expected rather than

You can not set IP out of IP range:
The reason each number can only reach up to 255 is that each of the numbers is really an eight digit binary number (octet).

sudo ip addr add 192.168.256.100/24 dev tap1 # Bad
sudo ip addr add 192.168.255.100/24 dev tap1 # OK

Leave a Reply

Your email address will not be published. Required fields are marked *