----- "chloe K" <chloekcy2000 at yahoo.ca> wrote:>Hi How can I do the dhcp to assign ip for eth2 network only? eth1 and eth0 can igorn thank you Edit your /etc/sysconfig/dhcpd file. Ensure the 'DHCPDARGS' line looks like this: DHCPDARGS=eth2 Save the file then restart DHCP. --Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090708/28431200/attachment-0003.html>
Hi ? How can I do the dhcp to assign ip for eth2 network?only? ? eth1 and eth0 can igorn ? thank you __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090708/6a0a71a2/attachment-0003.html>
thank you ? how can I put the name server in dhcpd.conf ?for the client?as I use ISP nameserver? this name server?has to change when I change other ISP too ? eg: ? dhcpd.conf ? option domain-name-servers?????? x.x.x.x; ? ? thank you --- On Wed, 7/8/09, Tim Nelson <tnelson at rockbochs.com> wrote: From: Tim Nelson <tnelson at rockbochs.com> Subject: Re: [CentOS] dhcp question To: "CentOS mailing list" <centos at centos.org> Received: Wednesday, July 8, 2009, 12:27 PM #yiv1433150591 p {margin:0;} ----- "chloe K" <chloekcy2000 at yahoo.ca> wrote:>Hi ? How can I do the dhcp to assign ip for eth2 network?only? ? eth1 and eth0 can igorn ? thank you Edit your /etc/sysconfig/dhcpd file. Ensure the 'DHCPDARGS' line looks like this: DHCPDARGS=eth2 Save the file then restart DHCP. --Tim -----Inline Attachment Follows----- _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos __________________________________________________________________ Make your browsing faster, safer, and easier with the new Internet Explorer? 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090708/57f748bf/attachment-0003.html>
chloe K wrote:> thank you > > how can I put the name server in dhcpd.conf for the client as I use > ISP nameserver? > this name server has to change when I change other ISP too > >run your own local DNS caching server, and give the DHCP clients 192.168.0.1 or whatever your local network gateway IP is.
On Wed, Jul 8, 2009 at 6:03 PM, chloe K<chloekcy2000 at yahoo.ca> wrote:> thank you > > how can I put the name server in dhcpd.conf ?for the client?as I use ISP > nameserver? > this name server?has to change when I change other ISP too > > eg: > > dhcpd.conf > > option domain-name-servers?????? x.x.x.x; > > > thank youChloe K, ? I don`t really understand your question as per setting name server option in DHCP but lets see:- are you trying to put a domain name ?like option domain-name "chloe.k"; or putting the domain-name-servers "x.x.x.x"; ? You will still have to change the option domain-name-servers "x.x.x.x" when you change an ISP anyways. Please just be specific.
can i know how to set up dns cache server? ? do you have any useful website? ? thank you --- On Wed, 7/8/09, John R Pierce <pierce at hogranch.com> wrote: From: John R Pierce <pierce at hogranch.com> Subject: Re: [CentOS] dhcp question To: "CentOS mailing list" <centos at centos.org> Received: Wednesday, July 8, 2009, 1:08 PM chloe K wrote:> thank you >? > how can I put the name server in dhcpd.conf? for the client as I use > ISP nameserver? > this name server has to change when I change other ISP too >? >run your own local DNS caching server, and give the DHCP clients 192.168.0.1 or whatever your local network gateway IP is. _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos __________________________________________________________________ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20090708/8d7ceed3/attachment-0003.html>
chloe K wrote:> can i know how to set up dns cache server? > > do you have any useful website? >yum install caching-nameserver chkconfig named on service named start will work if that's all you want. But don't install that package if you also want it to act as a primary server for your own local names (and if you have more than a few machines you probably do want that). -- Les Mikesell lesmikesell at gmail.com
chloe K wrote:> can i know how to set up dns cache server? > > do you have any useful website? > >for your use, dnsmasq would do nicely. with the rpmforge repo configured... # yum install dnsmasq # chkconfig dnsmasq on # service dnsmasq start *done* dnsmasq has some configuration options in /etc/dnsmasq.conf as well as man pages explaining more. there's some notes on it here, http://www.thekelleys.org.uk/dnsmasq/doc.html