[afnog] config dhcp
Dany Mustapha
cristophe06 at yahoo.fr
Thu Sep 25 15:54:34 UTC 2008
i use ubuntu for dhcp server
do someone know the syntaxe how to add different gateways for different host in the network
i know taht ' option routers 192.168.69.1 ' is for default gateway
--- En date de : Jeu 25.9.08, Charles Wyble <charles at thewybles.com> a écrit :
De: Charles Wyble <charles at thewybles.com>
Objet: Re: [afnog] config dhcp
À: cristophe06 at yahoo.fr
Cc: "AFNOG" <afnog at afnog.org>
Date: Jeudi 25 Septembre 2008, 16h27
Dany Mustapha wrote:
> thank charles
>
> I don't know it is possible for example in determining the IP
> address in dhcp.conf
>
You can set the IP address per MAC address. For example:
host www9 {
hardware ethernet 00:11:25:3E:38:1A;
fixed-address 192.168.61.109;
}
is a stanza I have in my dhcpd.conf file.
>
>
> to add something by saying that this machine has to go through this
> gateway
>
Yes you can do that. Not sure the exact syntax. Check your vendors dhcpd
documentation
for details. I used dhcpd to hand out routes to desktops at one
organization I worked for. We
had a relatively large nation wide WAN and needed to give different
machines different routes
based on there functional requirements.
--
Charles Wyble (818) 280 - 7059
http://charlesnw.blogspot.com
CTO Known Element Enterprises / SoCal WiFI project
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20080925/f1dc15ba/attachment-0002.html>
More information about the afnog
mailing list