I was setting up my Ubuntu with brother printer driver and was trying to use my printer's IP to connect my pc to the printer.
On my printer, the IP address is 192.168.000.008
. So I entered this in my settings to connect, but to no avail.
However, when I entered 192.168.0.8
it worked. I can also connect to localhost:192.168.0.8
to connect to the printer settings server.
Does this mean that by default, if an IP address has 000
it simplifies to 0
? If there are zeros before a number, like 008
will it simplify to 8
?
What are the simplification rules for IP addresses? Are there any others that I am missing? If I am wrong, then why did the simplified 192.168.0.8
work while 192.168.000.008
did not?
update:
I was following this tutorial here:https://kbpdfstudio.qoppa.com/install-printer-driver-on-linux/
when I got to Step7 in the above tutorial, I entered Y (in my default terminal, not web browser @Kamil Maciorowski @T.J. Crowder), and then selected "enter IP address" to connect. I initially didn't include this since I mainly wanted to know what's up with the IP shortening thing. Sorry for this missing information! I had a tough time downloading printer driver for ubuntu so hopefully, this helps out some people!
192.168.000.008
in my settings to connect, but to no avail." – Where did you enter this exactly?ping 10.4
not ping the address10.0.0.4
? I just got the same result on OpenBSD, OSX, and several Linux distributions.