Ask Your Question

How to tie dhcp-server to a specific ethernet interface

asked 2016-09-16 09:52:23 -0500

jjc gravatar image

I am trying to build a router in a Fedora24 computer. The box has three Ethernet interfaces: (1) enp1s0 -- Internet, (2) enp4s0 -- LAN, (3) enp5s0 -- No Connection. I have downloaded dhcpd (dhcp-server 4.3.4-3). After reading the man pages, I don't see a way to tie dhcpd to connect only to (2) enp4s0 (LAN). I need someone to explain this to me or direct me to the information. Thanks in advance.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-09-16 14:29:22 -0500

ssieb gravatar image

If you look in the /etc/sysconfig/dhcpd file where that setting used to be, it says that it will only listen on interfaces that you have configured in the dhcpd.conf file.

edit flag offensive delete link more


Thank you so much. I did read that, but I did not understand it to apply to my question. Again, thanks.

jjc gravatar imagejjc ( 2016-09-16 15:18:42 -0500 )edit

answered 2016-09-17 14:32:37 -0500

fcomida gravatar image
edit flag offensive delete link more

Question Tools


Asked: 2016-09-16 09:52:23 -0500

Seen: 166 times

Last updated: Sep 17 '16