Re: [Dnsmasq-discuss] DHCP on interface without IP

2011-07-24 Thread Sergei Zhirikov
On 2011-07-22 23:05, Michael Fork wrote: Is it possible to use dnsmasq to serve DHCP on an interface with no IP Address? The answer is right there: http://tools.ietf.org/html/rfc2131 To save you some time: no, it is not possible. -- Sergei.

Re: [Dnsmasq-discuss] patch to support systemd socket activation

2011-11-17 Thread Sergei Zhirikov
On 2011-11-15 10:01, Jan Seiffert wrote: 2011/11/14 Michael Stapelberg: Hi Simon, Excerpts from Simon Kelley's message of 2011-11-14 20:15:25 +: I'm not a systemd expert, by any means, (I didn't write the code above) but I'd like to understand the advantages and problems with the two metho

[Dnsmasq-discuss] dnsmasq fails to handle a dynamic interface that goes and comes back

2012-06-08 Thread Sergei Zhirikov
Hi, I'm observing strange behaviour of dnsmasq that looks like a bug: Software: dnsmasq-2.61 running without "bind-interfaces" option openvpn-2.2.2 in server mode with tap interface (tap0) Sequence of events: 1. dnsmasq is started (tap0 interface does not exist yet) 2. openvpn i

[Dnsmasq-discuss] [PATCH] Bind server sockets to a specific IP address

2012-06-26 Thread Sergei Zhirikov
Hi, The attached patch introduces a new configuration option 'bind-address', which tells dnsmasq to bind DNS and TFTP server sockets to a particular address (it has no effect if 'bind-interfaces' is specified). At most one IPv4 and one IPv6 address can be specified. This is useful when dnsmasq

[Dnsmasq-discuss] Answering DHCPINFORM from other interfaces

2009-10-17 Thread Sergei Zhirikov
Hi, I'm using dnsmasq as a DHCP and DNS server on my Linux home gateway, which is also a IPSec/L2TP VPN server. For IP address allocation for the VPN PPP tunnels I use ppp-dhcpc plugin, which pretends to be a DHCP relay and requests IP addresses from dnsmasq. That part works fine. However, wh

Re: [Dnsmasq-discuss] Answering DHCPINFORM from other interfaces

2009-10-17 Thread Sergei Zhirikov
ge (I tried also with a TUN device, just to see if it could be added, and got the same error message). -- Kind regards, Sergei. Am 17.10.2009 14:04, schrieb Sergei Zhirikov: Hi, I'm using dnsmasq as a DHCP and DNS server on my Linux home gateway, which is also a IPSec/L2TP VPN server. F

Re: [Dnsmasq-discuss] Answering DHCPINFORM from other interfaces

2009-10-18 Thread Sergei Zhirikov
richardvo...@gmail.com wrote: On Sat, Oct 17, 2009 at 1:18 PM, Sergei Zhirikov wrote: Michael Rack wrote: You have to setup a bridge on your linux-router and assign every dynamic created ppp-interface to that. brctl addif br0 pppx Configure DNSMASQ to listen on the bridges interface

Re: [Dnsmasq-discuss] Answering DHCPINFORM from other interfaces

2009-10-18 Thread Sergei Zhirikov
e from the peer via the PPP link, so as far as pppd is concerned, those are just normal traffic. Kind regards, Sergei. Am 17.10.2009 20:18, schrieb Sergei Zhirikov: Michael Rack wrote: You have to setup a bridge on your linux-router and assign every dynamic created ppp-interface to that.

Re: [Dnsmasq-discuss] Answering DHCPINFORM from other interfaces (solved)

2009-10-19 Thread Sergei Zhirikov
Sergei Zhirikov wrote: Hi, I'm using dnsmasq as a DHCP and DNS server on my Linux home gateway, which is also a IPSec/L2TP VPN server. For IP address allocation for the VPN PPP tunnels I use ppp-dhcpc plugin, which pretends to be a DHCP relay and requests IP addresses from dnsmasq. That

Re: [Dnsmasq-discuss] Answering DHCPINFORM from other interfaces

2009-10-19 Thread Sergei Zhirikov
richardvo...@gmail.com wrote: On Sun, Oct 18, 2009 at 10:41 AM, Sergei Zhirikov wrote: richardvo...@gmail.com wrote: On Sat, Oct 17, 2009 at 1:18 PM, Sergei Zhirikov wrote: Michael Rack wrote: You have to setup a bridge on your linux-router and assign every dynamic created ppp-interface to

[Dnsmasq-discuss] Is this a documentation error?

2009-12-20 Thread Sergei Zhirikov
Hi, The man page of dnsmasq-2.51 contains the following line: -F, --dhcp-range=[[net:]network-id,],[[,],][,] Looking at the options parsing code I would say it should be: -F, --dhcp-range=[[net:]network-id,],[,[,]][,] The latter also appears to match the examples in dnsmasq.conf.example. Is

[Dnsmasq-discuss] [BUG] Bogus IP address in the syslog messages

2010-02-20 Thread Sergei Zhirikov
Hi, On of the DHCP clients in my network believes that is has the same hostname as the machine where dnsmasq-2.52 is running. That by itself is a result of misconfiguration, but the reaction of dnsmasq seems a bit odd. I get the following messages in syslog when that client tries to renew its

Re: [Dnsmasq-discuss] [BUG] Bogus IP address in the syslog messages

2010-02-20 Thread Sergei Zhirikov
On 2010-02-20 14:19, Simon Kehlley wrote: Sergei Zhirikov wrote: Hi, On of the DHCP clients in my network believes that is has the same hostname as the machine where dnsmasq-2.52 is running. That by itself is a result of misconfiguration, but the reaction of dnsmasq seems a bit odd. I get the

Re: [Dnsmasq-discuss] [BUG] Bogus IP address in the syslog messages

2010-02-25 Thread Sergei Zhirikov
On 2010-02-20 17:21, Simon Kelley wrote: Sergei Zhirikov wrote: As I said, there is only one IP address. I have also used tcpdump to watch both DHCP and DNS communication. The address 216.230.6.8 does not show up anywhere. (As a sidenote: I found it a bit surprising that despite "not g

Re: [Dnsmasq-discuss] [BUG] Bogus IP address in the syslog messages

2010-02-25 Thread Sergei Zhirikov
On 2010-02-20 17:21, Simon Kelley wrote: Sergei Zhirikov wrote: As I said, there is only one IP address. I have also used tcpdump to watch both DHCP and DNS communication. The address 216.230.6.8 does not show up anywhere. (As a sidenote: I found it a bit surprising that despite "not g

Re: [Dnsmasq-discuss] Single-file config

2010-07-04 Thread Sergei Zhirikov
On 2010-07-03 14:23, Johan Vromans wrote: I'm experimenting with dnsmasq to build a very simple DNS/DHCP server. I'm going to employ this server on a FritzBox DSL modem/router and some other small systems as well. Currently there are two things that do not yet work as I want. First, it would be

Re: [Dnsmasq-discuss] Single-file config

2010-07-04 Thread Sergei Zhirikov
On 2010-07-04 10:20, Johan Vromans wrote: Sergei Zhirikov writes: It's not a requirement. There is "no-hosts" configuration option. Sure. But how to specify the hosts names then? If you have all the hosts names and IP addresses specified using "dhcp-host" then

Re: [Dnsmasq-discuss] Mutliple Subnets - Different Servers - Chaining Dnsmasqs

2010-07-11 Thread Sergei Zhirikov
On 2010-07-11 02:18, Lord Devi wrote: Hello. I have a fairly simple home network, to which I have recently added a second subnet to for my virtual machines. While my primary DNS/DHCP server is a Dnsmasq instance running on my DD-WRT router, my second subnet is hosted from a machine inside the La