Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can someone tell me what 127.0.1.1 is and is this a recent addition? It's not localhost, and it's not the ip on any of my NICs, so what purpose does it serve?
Let me tag on a similarly straightforward question.
On all my PCs, I have a firewall rule, ... accept all connections from 192.168.123.0/24 ... It allows any PC on my router to communicate for purposes of FTP, etc. I used to set the acceptable ip to 192.168.123.0/8 which also apparently worked, but someone told me that was wrong, it should be 192.168.123.0/24
Let me tag on a similarly straightforward question.
On all my PCs, I have a firewall rule, ... accept all connections from 192.168.123.0/24 ... It allows any PC on my router to communicate for purposes of FTP, etc. I used to set the acceptable ip to 192.168.123.0/8 which also apparently worked, but someone told me that was wrong, it should be 192.168.123.0/24
Has anyone seen a thread that explains that?
Wouldn't 192.168.123.0/8 allow anything through from 192.*.*.* whereas 192.168.123.0/24 allows only from 192.168.123.* ? IOW, netmask is 0xff000000 rather than the desired 0xffffff00.
192.168.123.0/8 might considered wrong simply because you have some of the host bits set, but its essentially the same as 192.0.0.0/8. The number following the / is the number of bits used in the network designation.
The number after the slash ("/") is the number of bits that must match in the IP to be tested starting from the MSB. A "/2" would be 0xc0000000, a "/16" would be 0xffff0000 and so on. A bit set ON says the bit must be on in the tested IP. A bit set OFF says that the bit can be either ON or OFF in the tested IP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.