[afnog] config dhcp
Charles Wyble
charles at thewybles.com
Thu Sep 25 15:27:59 UTC 2008
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
More information about the afnog
mailing list