Re: DHCP on Aliase eth0

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

 



On Thu, 2009-09-03 at 16:53 +0100, Gbenga Shobowale wrote:
> Hello All,
> I need to know if it is possible to run dhcp server on an aliase
> interface eth0:0 ?
> 
> I have configured a dhcp server for a network that should be on this
> interface but I can't get it to work.
> Anyone worked on something like this?
> 
> Best regards
> 

Very easy to do.  I've got an interface that is just a 'tap' interface
tap0  inet addr:192.168.89.1  that I want the dhcpd to listen on.

So my /etc/dhcp/dhcpd.conf is :

ddns-update-style interim;
ignore client-updates;
local-address 192.168.89.1;

subnet 192.168.89.0 netmask 255.255.255.0 {

# --- default gateway
	option routers			192.168.89.1;
	option subnet-mask		255.255.255.0;

	option nis-domain		"localdomain";
	option domain-name		"localdomain";
	option domain-name-servers	192.168.89.1, 208.67.222.222, 208.67.220.220;

	option time-offset		-18000;	# Eastern Standard Time

	range dynamic-bootp 192.168.89.128 192.168.89.254;
	default-lease-time 21600;
	max-lease-time 43200;
}
-- 
Brian Millett - [ Delenn and Sinclair, "The Gathering"]
"A poem: a story in meter or rhyme."
'Ahh. `There once was a man from Nantucket...`'
"You've been talking to Garibaldi again, haven't you?"

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux