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.008in my settings to connect, but to no avail." – Where did you enter this exactly? – Kamil Maciorowski Jun 01 '20 at 21:5510.0.0.4is the same as10.4, tryping 10.4;) – Gizmo Jun 02 '20 at 07:03ping 10.4not ping the address10.0.0.4? I just got the same result on OpenBSD, OSX, and several Linux distributions. – user4556274 Jun 02 '20 at 09:0065536*0 + 256*0 + 4 = 4. – MSalters Jun 02 '20 at 12:24:0:, or even a double colon:::. – Davidw Jun 02 '20 at 16:37ping 0x08080808Hehehe – Zan Lynx Jun 02 '20 at 23:42ping 0x7F000001– Toby Bartels Jun 04 '20 at 19:47