On 13 Aug, John Clarke wrote:
>  Now that's ugly, and you can't guarantee it'll work.  You can tell 
>  dhcpd to serve static addresses based on mac address, e.g.: 
>   
>      host posh 
>      { 
>          hardware ethernet xx:xx:xx:xx:xx:xx; 
>          fixed-address 192.168.1.100; 
>          option domain-name-servers 192.168.1.1; 
>          option domain-name "localdomain"; 
>          option routers 192.168.1.1; 
>      } 
>   
>      host coo 
>      { 
>          hardware ethernet xx:xx:xx:xx:xx:xx; 
>          fixed-address 192.168.1.101; 
>          option domain-name-servers 192.168.1.1; 
>          option domain-name "localdomain"; 
>          option routers 192.168.1.1; 
>      } 
>   
>  You can get the mac address with: 
>   
>      ifconfig eth0|awk '/HWaddr/ {print $5}' 

That looks brilliant - I'll see if  I can get that working.  (The
firewall is an appliance, so I'll see if there's a way to do that.)

luke

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to