LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2012, 08:25 AM   #1
jcvasquez
LQ Newbie
 
Registered: Oct 2007
Location: Guatemala
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
How to disconnect a client


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)
 
Old 02-02-2012, 08:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 02-02-2012, 10:45 AM   #3
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
I agree with Chris.

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.
 
Old 02-02-2012, 10:50 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Everytime I hear someone say they are "logged on to the network" I want to strangle them. 802.1x notwithstanding.
 
  


Reply

Tags
dhcpd, disconnect, leases



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba client shares disconnect over openvpn connection claude56 Linux - Networking 1 06-24-2010 11:14 AM
Reboot Linux Client on Network Disconnect grande25 Linux - Newbie 5 10-20-2008 07:00 PM
Can't disconnect raysr Linux - Networking 2 05-23-2004 10:00 AM
how to disconnect a client connect by proxy squid? echox Linux - Software 0 04-06-2003 08:35 PM
Can't disconnect!!! Nik Linux - Software 1 12-15-2002 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration