[Gllug] DHCP + DNS updates
Formi
formi at blueyonder.co.uk
Thu Feb 20 13:54:54 UTC 2003
It isn't as easy as that, that's my current setup, I have 2 subnets,
10.2.0 and 192.168, I want the dhcp server to check the mac address and
if it corresponds to the wireless card assign an ip on the 192 range.
And obviously if it is the pcmcia card an ip on the 10 range.
And the next step, update the dns record for the laptop.
Formi
FreeBSD 4.7 ThinkPad 570
Linux Registered User #235743
On Thu, 20 Feb 2003, Doug Winter wrote:
> On Thu 20 Feb Formi wrote:
> > Now, the laptop gets its ip from the dhcp server, what I want to do is
> > to have the dhcp server recognize the mac address of the card, and act
> > accordingly updating the bind conf with the proper address/subnet.
>
> The easiest way to achieve this is to put a static entry in the DNS for
> your laptop, and then tell the DHCP server to issue a static lease,
> based on the MAC address of the laptop.
>
> in your dhcpd.conf:
>
> host foo {
> hardware ethernet 00:50:da:d3:96:6d;
> fixed-address 172.16.1.11;
> }
>
> doug.
>
> --
> All programmers are optimists -- Frederick P. Brooks, Jr.
> key 1024D/6973E2CF print 2C95 66AD 1596 37D2 41FC 609F 76C0 A4EC 6973 E2CF
> http://www.britishsteal.com doug at pigeonhold.com
>
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list