Re: CentOs 6 DHCP Server and virtual interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/03/2013 06:38 AM, Grzegorz Sołtys wrote:
> Hello All
>
> I have looking for any specific answer for one thing.
>
> I have a virtualized Server with only one physical interface eth0 (WAN). 
> To run OpenVPN i need to use DHCP server. And here is the question: is 
> there a chance to run DHCP server on eth0:0 interface? Or it is impossible ?
>
> Thanks in advance.
>

From the EL6 Deployemtn Guide:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sect-Configuring_a_Multihomed_DHCP_Server.html


"If a system has three network interfaces cards -- eth0, eth1, and eth2
-- and it is only desired that the DHCP daemon listens on eth0, then
only specify eth0 in /etc/sysconfig/dhcpd"
DHCPDARGS="eth0"

So in your case, edit the file /etc/sysconfig/dhcpd and set:

DHCPDARGS="eth0:0";



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux