LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] DHCP Server

[ILUG] DHCP Server

Frank Duignan frank.duignan at gmail.com
Tue Sep 7 12:11:29 IST 2010


In debian you have to edit the file
/etc/default/dhcp3-server
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".
INTERFACES="eth1"
--------------------------------------

On 7 September 2010 11:52, Ger Hooton <g.hooton at ucc.ie> wrote:
> Hello,
> 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 143.239.202.157 (143.239.1.91) from
> 00:24:e8:46:72:cc via eth2: unknown lease 143.239.202.157.
> Sep  7 11:47:33 dhcpsrv dhcpd: DHCPREQUEST for 143.239.202.157
> (143.239.1.91) from 00:24:e8:46:72:cc via eth0: unknown lease
> 143.239.202.157.
>
> In the dhcpd.conf I have
> INTERFACES="eth0" ;
>
> I would like dhcp to only listen to eth0
>
> //Ger
>
>
>
> --
> Gerard Hooton.
> Department of Electrical & Electronic Engineering
> University College Cork.
> College Road.
> Cork.
>
> 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/
>


More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell