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.
Our office consists of 1 file server (linux w/samba) and 3 client computers using Windows. All computers, as well as our internet connection, are connected through a 4 port router. I would like to be able to occasionally add a laptop to that network, primarily to access internet.
Without purchasing a new router with more connections, can I utilize the 4 port switch that we have in our office. in other words, can i connect our switch to one of the connections on the router? Also, if I do this, what affect will the new configuration have on our samba config?
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Yes, you can "daisy-chain" switches. The only issue to be aware of is that some times a normal Ethernet cable won't work to connect switches and in fact you need to use a cross-over cable (an Ethernet cable with some of the wires flipped). Try the normal cable first; if you don't get a link-light on the switch within a few seconds, try a cross-over cable.
If I daisy chain the switch and router, will that make the switch a subnet?
Will I have to change my samba settings to add those clients to the network?
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
A switch is a physical device, so it doesn't have an IP address of it's own and doesn't do any kind of routing or translation, it simply forwards traffic. Chaining switches together does not require separate subnets or networks of any kind.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.