<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Hello,<br>
<br>
Can you look at;<br>
"Multiple interfaces match the same subnet"<br>
<br>
whan can say "ifconfig -a "<br>
<br>
<br>
<br>
Martin Krellmann wrote:
<blockquote cite="mid:001401ca027f$fd0f2210$f72d6630$@de" type="cite">
<pre wrap="">Hi.
I am starting the server manually for debugging purposes:
/usr/sbin/dhcpd -d -cf /etc/dhcpd.conf -lf /var/lib/dhcp/db/dhcpd.leases -tf
/var/log/dhcpd.trace.log ipsec0
It generate the following output:
Internet Systems Consortium DHCP Server 4.1.0
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit <a class="moz-txt-link-freetext" href="http://www.isc.org/sw/dhcp/">http://www.isc.org/sw/dhcp/</a>
WARNING: Overwriting trace file "/var/log/dhcpd.trace.log"
Wrote 0 class decls to leases file.
Wrote 0 leases to leases file.
Multiple interfaces match the same subnet: eth0 eth2
Multiple interfaces match the same shared network: eth0 eth2
Multiple interfaces match the same subnet: eth0 eth1
Multiple interfaces match the same shared network: eth0 eth1
Multiple interfaces match the same subnet: eth0 ipsec0
Multiple interfaces match the same shared network: eth0 ipsec0
Listening on LPF/ipsec0/00:0a:e6:26:28:f8/0.0.0.0/0
Sending on LPF/ipsec0/00:0a:e6:26:28:f8/0.0.0.0/0
Sending on Socket/fallback/fallback-net
omapi_set_value (state, 1)
==> invalid argument
With tcpdump on ipsec0 I can see the incoming dhcp request and the outgoing
offer to the destination ip that should be assigned.
Greets,
Martin.
-----Ursprüngliche Nachricht-----
Von: <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users-bounces@lists.isc.org">dhcp-users-bounces@lists.isc.org</a>
[<a class="moz-txt-link-freetext" href="mailto:dhcp-users-bounces@lists.isc.org">mailto:dhcp-users-bounces@lists.isc.org</a>] Im Auftrag von Glenn Satchell
Gesendet: Samstag, 11. Juli 2009 19:27
An: <a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
Betreff: Re: Problems with destination IP of DHCP Offer Packages
</pre>
<blockquote type="cite">
<pre wrap="">Date: Sat, 11 Jul 2009 17:59:41 +0200
From: "Martin Krellmann" <a class="moz-txt-link-rfc2396E" href="mailto:martin2002@web.de"><martin2002@web.de></a>
Hi.
I am running dhcp server 4.1.0. It is listening directly on interface
"ipsec0" which is the interface of an ipsec tunnel. I need to send DHCP
offers out over this interface.
I am not using an relay agent because openswan, relay agent and dhcp
</pre>
</blockquote>
<pre wrap=""><!---->server
</pre>
<blockquote type="cite">
<pre wrap="">are then running on the same host and I could not get the internal routing
from the relay agent to the server working.
Let's say remote clients should get an ip address out of the subnet
"10.0.1.0/24". The ipsec server adds an route to the destination
255.255.255.255 on interface "ipsec0" so broadcast packages should be
transmitted over the tunnel. The problem is that the dhcp server does not
broadcast the offers but sends them to the IP that should be assigned to
</pre>
</blockquote>
<pre wrap=""><!---->the
</pre>
<blockquote type="cite">
<pre wrap="">client. So the package will never be routed over the ipsec tunnel and the
client gets no ip address.
Is this a configuration problem or is this a default behavior?
Greets,
Martin.
</pre>
</blockquote>
<pre wrap=""><!---->
when dhcpd start up it there a line indicating that it is listening on
interface ipsec0? Something like one of these (this is on Solaris, but
most of the line should be close to yours) :
Listening on DLPI/hme0/08:00:20:b0:eb:e3/192.168.14.0/24
Sending on DLPI/hme0/08:00:20:b0:eb:e3/192.168.14.0/24
Sending on Socket/fallback/fallback-net
regards,
-glenn
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
<br>
</body>
</html>