<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div id="zimbraEditorContainer" style="font-family: Andale Mono; font-size: 10pt; color: #000000" class="5">You need to have:</div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000" class="5"><br data-mce-bogus="1"></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000" class="5">subnet 10.10.10.31 netmask 255.255.255.255 {</div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000" class="5">}</div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000" class="5"><br data-mce-bogus="1"></div><div style="font-family: Andale Mono; font-size: 10pt; color: #000000" class="5">in your config.  That, obtusely, tells the server to listen on that interface.  Not sure where you came up with the 10.200.200.31 address - i don't see that listed in your network config anywhere.<br><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Boris Behrens" <bb@kervyn.de><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Wednesday, February 20, 2019 9:02:58 AM<br><b>Subject: </b>problem with configuring dhcpd for "unknown" networks<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div>I would like to run a dhcpd behind a dhcp relay. And it does not have any address from the network it should serve.</div><div>These are the dhcp and network config:</div><div>--</div><div><div><font face="monospace, monospace"># cat /etc/dhcp/dhcpd.conf</font></div><div><font face="monospace, monospace">local-address 10.200.200.31;</font></div><div><font face="monospace, monospace">subnet 10.200.200.31 netmask 255.255.255.255 {</font></div><div><font face="monospace, monospace">  # I thought this one would help, but it doesn't</font></div><div><font face="monospace, monospace">}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">authoritative;<br></font></div><div><font face="monospace, monospace">option domain-name "<a href="http://example.com" target="_blank">example.com</a>";</font></div><div><font face="monospace, monospace">option domain-name-servers <a href="http://ns01.example.com" target="_blank">ns01.example.com</a>;</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">default-lease-time 3600; #  1 std</font></div><div><font face="monospace, monospace">max-lease-time 86400;    # 24 std</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">log-facility local7;</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">subnet 10.20.0.0 netmask 255.255.128.0 {</font></div><div><font face="monospace, monospace">  range 10.20.0.1 10.20.127.250;</font></div><div><font face="monospace, monospace">  option domain-name-servers <a href="http://dus-ns01.users.example.com" target="_blank">dus-ns01.users.example.com</a>, <a href="http://dus-ns02.users.example.com" target="_blank">dus-ns02.users.example.com</a>, <a href="http://fra-ns01.example.com" target="_blank">fra-ns01.example.com</a>, <a href="http://fra-ns02.example.com" target="_blank">fra-ns02.example.com</a>;</font></div><div><font face="monospace, monospace">  option domain-name "<a href="http://users.example.com" target="_blank">users.example.com</a>";</font></div><div><font face="monospace, monospace">  option routers 10.20.127.254;</font></div><div><font face="monospace, monospace">  option broadcast-address 10.20.127.255;</font></div><div><font face="monospace, monospace">  default-lease-time 3600; #  1 std</font></div><div><font face="monospace, monospace">  max-lease-time 86400;    # 24 std</font></div><div><font face="monospace, monospace">}</font></div></div><div>--</div><div><div><font face="monospace, monospace"># ip a</font></div><div><font face="monospace, monospace">1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000</font></div><div><font face="monospace, monospace">    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</font></div><div><font face="monospace, monospace">    inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> scope host lo</font></div><div><font face="monospace, monospace">       valid_lft forever preferred_lft forever</font></div><div><font face="monospace, monospace">    inet6 ::1/128 scope host</font></div><div><font face="monospace, monospace">       valid_lft forever preferred_lft forever</font></div><div><font face="monospace, monospace">2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default</font></div><div><font face="monospace, monospace">    link/void</font></div><div><font face="monospace, monospace">    inet <a href="http://127.0.0.1/32" target="_blank">127.0.0.1/32</a> scope host venet0</font></div><div><font face="monospace, monospace">       valid_lft forever preferred_lft forever</font></div><div><font face="monospace, monospace">    inet <a href="http://10.10.10.31/32" target="_blank">10.10.10.31/32</a> brd 10.10.10.31 scope global venet0:0</font></div><div><font face="monospace, monospace">       valid_lft forever preferred_lft forever</font></div><div><font face="monospace, monospace">--</font></div><div>But I always the the error "Not configured to listen on any interfaces!".</div><br><div>How do I tell the dhcpd to just listen to the interface and serve dhcp requests without giving it an address in this network?</div><br><div>Cheers</div><div> Boris</div><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im groüen Saal.<br></div></div></div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div></div><div><br></div></div></body></html>