Re: Pump, dhchp, dns and dnsmasq

2011-02-08 Thread Tixy
On Tue, 2011-02-08 at 04:44 +, T o n g wrote: On Mon, 07 Feb 2011 04:27:06 +, T o n g wrote: $ dig maroon @maroon ; DiG 9.7.1-P2 maroon @maroon ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 53975 ;; flags: qr aa rd ra; QUERY: 1,

Re: Pump, dhchp, dns and dnsmasq

2011-02-08 Thread T o n g
On Tue, 08 Feb 2011 09:12:09 +, Tixy wrote: ;; ANSWER SECTION: maroon. 0 IN A 127.0.0.1 ;; Query time: 0 msec ;; SERVER: 192.168.0.100#53(192.168.0.100) ;; WHEN: Sun Feb 6 23:20:41 2011 ;; MSG SIZE rcvd: 40 This is the problem that I

Re: Pump, dhchp, dns and dnsmasq

2011-02-07 Thread Tixy
On Mon, 2011-02-07 at 03:15 +, T o n g wrote: On second though, if I dedicate a box for dnsmasq as both dhcp and dns ow this could be arranged. server, can I use a dhcp client on the very box to obtain the fixed IP address configured in dnsmasq? I know this is kind of chicken-egg

Re: Pump, dhchp, dns and dnsmasq

2011-02-07 Thread Tixy
On Mon, 2011-02-07 at 10:58 +, T o n g wrote: On Mon, 07 Feb 2011 07:23:33 +, Tixy wrote: Had kvm1 got it's ip address by DHCP at this point? Dnsmasq doesn't return results for machines until after its served out an address. . . Ahh... no wonder. Thanks -- what a good relieve.

Re: Pump, dhchp, dns and dnsmasq

2011-02-07 Thread T o n g
On Mon, 07 Feb 2011 11:12:37 +, Tixy wrote: I also had another thought, Is kvm1 a virtual machine? If so, does it even get to talk directly to the dnsmasq server or is the host doing NAT and it's own configuration for the guest? See my blog,

Re: Pump, dhchp, dns and dnsmasq

2011-02-06 Thread Tixy
On Sun, 2011-02-06 at 04:07 +, T o n g wrote: In that case, I assume that the dnsmasq server need to be configured to be on a static IP, correct? Any I need to manually set up everything else, like route, etc, correct? Yes, in /etc/network/interfaces I have: allow-hotplug eth0 iface

Re: Pump, dhchp, dns and dnsmasq

2011-02-06 Thread T o n g
On Sat, 05 Feb 2011 20:19:43 +, Tixy wrote: . . . adding a dhcp-host line in dnsmasq.conf for each NIC. E.g. the entry for the machine I'm typing on is dhcp-host=00:28:58:3A:EB:A1,192.168.2.20,computer2,infinite ^ ^^ ^ MAC

Re: Pump, dhchp, dns and dnsmasq

2011-02-06 Thread Tixy
On Mon, 2011-02-07 at 04:27 +, T o n g wrote: On Sat, 05 Feb 2011 20:19:43 +, Tixy wrote: . . . adding a dhcp-host line in dnsmasq.conf for each NIC. E.g. the entry for the machine I'm typing on is dhcp-host=00:28:58:3A:EB:A1,192.168.2.20,computer2,infinite ^

Pump, dhchp, dns and dnsmasq

2011-02-05 Thread T o n g
Hi, Some questions around pump, dhchp, dns and dnsmasq, - Some dhcp server *requires* that hostnames be sent. I've found document on how to send hostnames with other dhchp clients except pump. Now, how can I configure pump to send hostnames when making dhchp requests? - The dnsmasq can

Re: Pump, dhchp, dns and dnsmasq

2011-02-05 Thread Tixy
On Sat, 2011-02-05 at 15:34 +, T o n g wrote: [...] - The dnsmasq can be used as both dhchp and dns server. This is ideal for a home network. My question is, my router is currently acting as both dhchp and dns server for the moment, if I dedicate a box for dnsmasq as both dhchp and

Re: Pump, dhchp, dns and dnsmasq

2011-02-05 Thread T o n g
On Sat, 05 Feb 2011 20:19:43 +, Tixy wrote: You'll have to disable DHCP on your router so only your new box responds to DHCP requests. . . Thanks for your answer, Tixy. In that case, I assume that the dnsmasq server need to be configured to be on a static IP, correct? Any I need to