On 09/07/2010 01:11 PM, Frank Duignan wrote:
> In debian you have to edit the file
> to restrict the daemon to a particular interface
> Mine listens on eth1 so here are its contents
> # Defaults for dhcp initscript
> # sourced by /etc/init.d/dhcp
> # installed at /etc/default/dhcp3-server by the maintainer scripts
> # This is a POSIX shell fragment
>> # On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
> # Separate multiple interfaces with spaces, e.g. "eth0 eth1".
>> On 7 September 2010 11:52, Ger Hooton<g.hooton at ucc.ie> wrote:
>> I have a dhcp server running o a Debian machine.
>> The machine has two interfaces configured eth0 and eth2
>> In the syslog I get:
>> dhcpsrv dhcpd: DHCPREQUEST for 184.108.40.206 (220.127.116.11) from
>> 00:24:e8:46:72:cc via eth2: unknown lease 18.104.22.168.
>> Sep 7 11:47:33 dhcpsrv dhcpd: DHCPREQUEST for 22.214.171.124
>> (126.96.36.199) from 00:24:e8:46:72:cc via eth0: unknown lease
>>>> In the dhcpd.conf I have
>> INTERFACES="eth0" ;
>>>> I would like dhcp to only listen to eth0
>> Gerard Hooton.
>> Department of Electrical& Electronic Engineering
>> University College Cork.
>> College Road.
>>>> Tel: +353 21 4902225
>> Irish Linux Users' Group mailing list
>> About this list : http://mail.linux.ie/mailman/listinfo/ilug>> Who we are : http://www.linux.ie/>> Where we are : http://www.linux.ie/map/>>>>Hi Frank,
found something in huge net....could be usefull 4 yu....;=)
If more than one network interface is attached to the system, but the
DHCP server should only be started on one of the interfaces, configure
the DHCP server to start only on that device. In /etc/sysconfig/dhcpd,
add the name of the interface to the list of DHCPDARGS:
# Command line options here
regards from Hamburg
Pawel Slabiak Linux Services
mailto: p.slabiak at linux-services.org
Linux Services - Dienste rund um Linux...
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!