Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcpd option remove for specific client

Reply
Thread Tools Display Modes

dhcpd option remove for specific client

 
 
iwetzel@gmx.net
Guest
Posts: n/a

 
      07-06-2005, 06:49 PM
hello

is there the possibility to remove a option of a subnet for a specific
client?

 
Reply With Quote
 
 
 
 
Chris Lowth
Guest
Posts: n/a

 
      07-09-2005, 03:56 PM
(E-Mail Removed) wrote:
> hello
>
> is there the possibility to remove a option of a subnet for a specific
> client?
>


No - you cant specify options to "exclude" from specific clients
directly, but you can get similar effects. For example, here's a
dhcpd.conf file that gives different default routes to a handful of
different devices in the 192.168.0.x subnet - based on their MAC address...
[addresses mangled to protect the guilty]


subnet 192.168.0.0 netmask 255.255.255.0
{
option subnet-mask 255.255.255.0;
option domain-name "mydomain.com";

# MOST people use 192.168.0.1 as their default route

option routers 192.168.0.1;

option domain-name-servers 192.168.0.222;
range dynamic-bootp 192.168.0.100 192.168.0.110;
default-lease-time 3600;
max-lease-time 7200;

# BUT a FEW use 192.168.0.201 instead..

group {
option routers 192.168.0.201;

host one { hardware ethernet 00:0a:e6:xx:xx:xx; }
host two { hardware ethernet 00:10:60:xx:xx:xx; }
host fifteen { hardware ethernet 00:40:d0:xx:xx:xx; }
}
}

Chris
--
http://www.lowth.com/rope/BlockingBittorrent
Free, GPL'ed blocking of P2P traffic using Linux, IpTables and the
ROPE match-module development language.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCPd with Option 82 and fixed-host statement Alexander Nesterov Linux Networking 0 12-24-2007 08:51 PM
Tiscali remove 1Mbit 30Gb a month option James B Broadband 3 06-06-2005 11:15 PM
ISC DHCPD and option 82 support... Clegg Linux Networking 2 01-21-2005 11:21 PM
DHCP option 43 (vendor specific) usage and how to retrieve 4 Windo =?Utf-8?B?RGF2aWQgQnVyZ2hncmFldmU=?= Windows Networking 5 12-01-2004 11:01 AM
option 129 & DHCPD oldandgrey Linux Networking 0 01-05-2004 08:47 PM



1 2 3 4 5 6 7 8 9 10 11