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.
I am setting up a network and wanted to understand why for example I would need to subnet my network. I understand with subnetting I get a many more networks and less hosts but is there a reason or benefit to why I should do it.
Distribution: Various versions of Red Hat Fedora Core and Ubuntu
Posts: 40
Rep:
Subnets limit the amount of traffic across a network. With todays hardware (switches and high bandwidth nics), you can add more and more systems. It is not uncommon fo a 22 bit network (1022 hosts) to opeate efficiantly. Its a bit of a loaded questions depending on the amount of systems you are going to have, network infrastructre (switches) and applications you are going to run.
In a nutshell, if yuo are running les than 250 systems, uses a 24 bit mask and you will be fine.
A more technical factor is, it is used to decide which packets are sent to a router or gateway.
Thanks. Would limiting traffic be the only reason or possibly getting more value out of your range of IP addresses? What other reasons would I have to subnet? I would appreciate it if you could provide examples. Thanks
Subnetting creates seperate broadcast domains. So they're completely different LANs. To pass data from one to the other you have to route between them. A simple switching hub (with no VLAN support) only creates seperate collision domains. The network can still become saturated with broadcast traffic.
Thanks for your reply but I don't see why one would one to subnet? I understand they create separate LANs'.
I didn't quite understand what you meant by 'A simple switching hub (with no VLAN support) only creates seperate collision domains. The network can still become saturated with broadcast traffic.'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.