LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2003, 07:40 AM   #1
exalik
Member
 
Registered: Mar 2003
Location: PARIS / FRANCE
Distribution: Mandrake 9.2rc2
Posts: 49

Rep: Reputation: 15
dhcpd.conf


Hello,

I would like to know the syntax of the INTERFACES="" section of dhcpd.conf

Is it INTERFACES="eth0, eth1", INTERFACES="eth0 eth1", or something like this ???

No interfaces are precised at the moment and it's running but i want to forbid the dhcp server to listen on ppp0 interface for security reason.

I can't try because i only access to the linux server by my local subnet ; so i could do something bad and can't access to the server after !

Thank you for your help.

Exalik
 
Old 04-03-2003, 08:25 AM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Interface specification does not belong in /etc/dhcpd.conf... dhcpd.conf is where you define your IP address range, DHCP Options (like domain name, DNS server, default gateway), static leases etc.

What you are looking for (this may be specific to Red Hat, you didn't give your distro) is '/etc/sysconfig/dhcpd'. If you add a line that says 'DHCPARGS="eth0 eth1"' it will only listen on these interfaces. To see a list of options that are valid for this DHCPARGS parameter, RTFM at 'man dhcpd'.
 
Old 10-15-2012, 09:13 AM   #3
Martin_E
LQ Newbie
 
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
I have just encountered a similar issue.

On Ubuntu using dhcp3-server the interfaces are specified in a file /etc/default/dhcp3-server

Eg.


# 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="eth2"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dhcpd subnet declaration problems in dhcpd.conf vcrispo Linux - Networking 6 07-15-2005 10:32 AM
dhcpd.conf nsk078 Linux - Wireless Networking 2 07-15-2004 07:53 PM
not getting /etc/dhcpd.conf sixth_sense Linux - General 12 04-09-2004 06:15 PM
dhcp.conf or dhcpd.conf? rogerbennett Linux - Networking 3 09-03-2003 12:25 PM
dhcpd.master or dhcpd.conf rickg Linux - Networking 0 04-11-2002 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration