Re: dhcp class identifier with modified settings

2012-01-04 Thread J. Bakshi
On Wed, 04 Jan 2012 18:34:18 +1100
Scott Ferguson  wrote:

> On 04/01/12 18:18, J. Bakshi wrote:
> > 
> > Dear list,
> > 
> > I have attached an Access Point to my DHCP server. I like to arrange
> > an identifier in my dhcp configuration for the access point by
> > matching its MAC address, so that I can define a different gateway
> > for that access point. All the hosts connects with that access points
> > should go through that defined gateway. How can I set it ?
> > 
> > Thaanks
> > 
> > 
> 
> That's certainly possible - probably not the answer you're looking for
> but... you set it in:-
> /etc/dhcp/dhcpd.conf
> 
> See:-
> man dhcpd.conf (also man dhcpd)
> and the examples in:-
> /usr/share/doc/isc-dhcp-server/examples/
> 
> 
> Cheers
> 

well..from the example I have found a class option as below


class "foo" {
  match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
}

shared-network 224-29 {
  subnet 10.17.224.0 netmask 255.255.255.0 {
option routers rtr-224.example.org;
  }
  subnet 10.0.29.0 netmask 255.255.255.0 {
option routers rtr-29.example.org;
  }
  pool {
allow members of "foo";
range 10.17.224.10 10.17.224.250;
  }
  pool {
deny members of "foo";
range 10.0.29.10 10.0.29.230;
  }
}


Now I just like to set a route for the access point so that laptops/mobile 
connected with that AP
should go through the defined gateway. Don't need the range,netmask etc as 
those are already defined globally,
so only the route.

Also how can I get the substring of my wireless router ?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120104150128.4fe33...@shiva.selfip.org



Re: dhcp class identifier with modified settings

2012-01-03 Thread Scott Ferguson
On 04/01/12 18:18, J. Bakshi wrote:
> 
> Dear list,
> 
> I have attached an Access Point to my DHCP server. I like to arrange
> an identifier in my dhcp configuration for the access point by
> matching its MAC address, so that I can define a different gateway
> for that access point. All the hosts connects with that access points
> should go through that defined gateway. How can I set it ?
> 
> Thaanks
> 
> 

That's certainly possible - probably not the answer you're looking for
but... you set it in:-
/etc/dhcp/dhcpd.conf

See:-
man dhcpd.conf (also man dhcpd)
and the examples in:-
/usr/share/doc/isc-dhcp-server/examples/


Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f0400fa.8090...@gmail.com



dhcp class identifier with modified settings

2012-01-03 Thread J. Bakshi

Dear list,

I have attached an Access Point to my DHCP server. I like to arrange an 
identifier in my dhcp configuration
for the access point by matching its MAC address, so that I can define a 
different gateway for that access point.
All the hosts connects with that access points should go through that defined 
gateway. How can I set it ?

Thaanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120104124814.18174...@shiva.selfip.org



Re: dhcp class identifier with modified settings

2012-01-02 Thread Camaleón
On Mon, 02 Jan 2012 15:27:56 +0530, J. Bakshi wrote:

> I have attached an Access Point to my DHCP server. I like to arrange an
> identifier in my dhcp configuration for the access point by matching its
> MAC address, so that I can define a different gateway for that access
> point. All the hosts connects with that access points should go through
> that defined gateway. How can I set it ?

Mmm... maybe you mean to this:

http://wiki.debian.org/DHCP_Server#Assign_fixed_addresses

But I'm not sure you can define an "option routers xxx.xxx.xxx.xxx" for 
just one host but on a per subnet basis.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2012.01.02.17.13...@gmail.com



dhcp class identifier with modified settings

2012-01-02 Thread J. Bakshi

Dear list,

I have attached an Access Point to my DHCP server. I like to arrange an 
identifier in my dhcp configuration
for the access point by matching its MAC address, so that I can define a 
different gateway for that access point.
All the hosts connects with that access points should go through that defined 
gateway. How can I set it ?

Thaanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120102152756.1f2bc...@shiva.selfip.org