Article 6JND7 Error: Invalid prefix for given prefix length

Error: Invalid prefix for given prefix length

by
tbarre
from LinuxQuestions.org on (#6JND7)
Using Ubuntu server, the following commands have been run:

sudo ip addr add 127.0.0.1/24 dev lo
sudo ip addr route 127.0.0.1/24 dev lo

The route command return the following error:

Error: Invalid prefix for given prefix length

I am not sure why.

Any thoughts?
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