dhcp relay op drie kwart
Hoi,
Mij is het nog niet gelukt om een dhcp relay werkend te krijgen.
Het betreft 2 Debian computers plus een derde die Debian moet gaan draaien,
maar eigenlijk is dit een netwerk probleem^Wuitdaging.
Tekening:
+------+ +-----+ +-----+
| | 192.168.1.x/24 | | 172.24.0.x/24 | |
| N +--------------------+ D +------------------+ S |
| | .11 .24 |1 0| .24 .49 | |
+------+ +-----+ +-----+
Legenda:
N: Nieuwe computer
D: Development computer, heeft twee netwerk interfaces
S: DHCP server
Op D draait de dhcp relay software. En die luistert op interface 1.
Op interface 0 is S bereikbaar.
In de syslog van S staat o.a.
Mar 16 00:15:04 S dhcpd: DHCPDISCOVER from 00:0c:42:53:17:1e via 192.168.1.24
Mar 16 00:15:04 S dhcpd: DHCPOFFER on 192.168.1.11 to 00:0c:42:53:17:1e via 192.168.1.24
Mar 16 00:15:04 S dhcpd: DHCPDISCOVER from 00:0c:42:53:17:1e via 192.168.1.24
Mar 16 00:15:04 S dhcpd: DHCPOFFER on 192.168.1.11 to 00:0c:42:53:17:1e via 192.168.1.24
Met tcpdump is dat ook te zien op D
# tcpdump -ni eth0 port bootpc or port bootps
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
00:35:38.557608 IP 172.24.0.24.67 > 172.24.0.49.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:35:38.558707 IP 172.24.0.49.67 > 192.168.1.24.67: BOOTP/DHCP, Reply, length 300
00:35:38.758375 IP 172.24.0.24.67 > 172.24.0.49.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:35:38.759503 IP 172.24.0.49.67 > 192.168.1.24.67: BOOTP/DHCP, Reply, length 300
Op de andere interface van D zijn alleen maar request te zien:
# tcpdump -ni eth1 port bootpc or port bootps
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
00:39:33.398622 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:39:33.599387 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:39:33.800151 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:39:34.000923 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:39:34.201684 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
00:39:34.402452 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:0c:42:53:17:1e, length 300
Ik zie dus maar 3/4 van het verwachte netwerk verkeer.
Wat zou ik moeten doen om het laatste kwart voor me kaar te krijgen?
Groeten
Geert Stappers
--
> And is there a policy on top-posting vs. bottom-posting?
Yes.
Reply to: