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.
In a nutshell: how can I disconnect a client that connects to my network using dhcp?
I can pinpoint the lease/IP the client gets via dhcpd and with it, the MAC address. Using this information only, how can I disconnect the client from my network? (just disconnect, not banish forever)
what does "disconnect" mean? Ideally you'd connect to the switch they are connected to an shut down that port. You can put out fake arps for their IP address so they can't do much, but outside of a physical sense, there really is no such thing as disconnecting them. They aren't connected to the network in any way other than physically. It's not like there is a connection to a service like AD which makes their world pretty limited if domain membership was revoked.
I think the only reliable way to prevent someone from accessing your network is to implement IEEE 802.1x. That would be an awful amount of work and expense. Every other measure you take could be subverted.
I assume (because of the DHCP reference) that the client is somewhere within your premises? I'd have security escort them from the building.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.