[DHCP] relay agent probleempje

Pagina: 1
Acties:

  • robbertb
  • Registratie: September 2000
  • Niet online
Ik wil graag op mijn windows clients een IP via mijn linuxbak van @home krijgen. Omdat ik 3 ipadressen heb.
Situatie:

@home Dhcp server---------linux--------windowsclient

Nu krijg ik dit helemaal niet aan de praat :(
Ik weet niet of het probleem em zit omdat @home graag een hostname(bv "cc12345-a") wil hebben, en je die voor @home moet mee sturen?

Maargoed, ik dacht ik ga dit eerst es lokaal testen. Maar ook dat werkt niet.
Lokale situatie:
dhcpserver--------linux------windowsclient


Ik heb DHCP V3.0 (de nieuwste dus).
Ik heb op verschillende manieren dhcrelay gestart, maar dat maakt niks uit:
-dhcrelay 192.194.35.162 -d
-dhcrelay -d -i eth1 192.194.36.162 -i eth0
-dhcrelay -d -i eth0 -i eth1 -a -A 1400 -m forward 192.194.35.162


dhcrelay:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Internet Software Consortium DHCP Relay Agent V3.0rc7
Copyright 1997-2000 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth0/00:50:da:37:20:11
Sending on LPF/eth0/00:50:da:37:20:11
Listening on LPF/eth1/00:01:02:b0:4c:98
Sending on LPF/eth1/00:01:02:b0:4c:98
Sending on Socket/fallback
ip length 328 disagrees with bytes received 1500.
accepting packet with data after udp payload.
forwarded BOOTREQUEST for 00:01:02:b1:d3:5a to 192.194.36.162
ip length 328 disagrees with bytes received 1500.
accepting packet with data after udp payload.
forwarded BOOTREQUEST for 00:01:02:b1:d3:5a to 192.194.36.162
ip length 328 disagrees with bytes received 1500.
accepting packet with data after udp payload.

tcpdump -i eth0 (naar dhcpserver)
[code}
16:37:09.127189 joop.systeam-linux.nl.bootps > 192.194.35.162.bootps: (request)
xid:0x9cfec6fe secs:3072 G:joop.systeam-linux.nl ether 0:1:3:26:91:47 [|bootp]
16:39:05.177373 23 > 0 at-lap#0 1489
16:39:07.355708 2.00:30:c1:2d:81:4c.452 > 2.ff:ff:ff:ff:ff:ff.452:ipx-sap-resp 30c '0030C12D814C83DCHP4500' addr 2.00:30:c1:2d:81:4c
16:39:07.356552 0:30:c1:2d:81:4c > Broadcast sap e0 ui/C
>>> Unknown IPX Data: (141 bytes)
[000] FF FF 00 60 00 00 00 00 00 02 FF FF FF FF FF FF ...`.... ........
[010] 04 52 00 00 00 02 00 30 C1 2D 81 4C 04 52 00 02 .R.....0 .-.L.R..
[020] 03 0C 30 30 33 30 43 31 32 44 38 31 34 43 38 30 ..0030C1 2D814C80
[030] 44 43 48 50 34 35 30 30 00 00 00 00 00 00 00 00 DCHP4500 ........
[040] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
[050] 00 00 00 00 00 02 00 30 C1 2D 81 4C 40 0C 00 01 .......0 .-.L@...
[060] 4E 03 4E 45 54 00 C0 17 00 02 00 01 00 01 51 80 N.NET... ......Q.
[070] 00 08 05 42 55 43 48 55 C0 43 C0 17 00 02 00 01 ...BUCHU .C......
[080] 00 01 51 80 00 07 04 43 48 49 41 C0 43 ..Q....C HIA.C

16:39:07.516042 0:50:da:96:4b:1c 1:0:0:0:0:0 8781 1514:
16:39:09.796282 arp who-has 192.194.35.162 tell joop.systeam-linux.nl (0:50:da:37:20:11)
16:39:09.796431 arp reply 192.194.35.162 is-at 0:1:2:b0:4b:c5 (0:50:da:37:20:11)
[/code]

tcpdump -i eth1 (naar de windows client)
code:
1
2
3
4
5
tcpdump: listening on eth1
16:43:05.751254 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x75b2a0b2 [|bootp]16:43:11.763168 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x75b2a0b2 secs:1536 [|bootp]
16:43:13.029363 0:1:2:b1:d3:5a 0:0:0:0:0:1 loopback 1514:
16:43:17.763591 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0x75b2a0b2 secs:3072 [|bootp]
16:44:17.534773 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xa7ccd2cc secs:4608 [|bootp]

En nu krijg ik op mn windowsclient het bericht "De DHCPserver is niet beschikbaar".
Iemand een idee?

P.S. de ipadressen zijn verzonnen.
Hopelijk kan iemand me helpen, ik ben al es eerder hiermee gekomen, maar heb nou meer informatie. Ik ben echt radeloos, ik weet het niet meer :(

  • robbertb
  • Registratie: September 2000
  • Niet online
Niemand????????????

  • robbertb
  • Registratie: September 2000
  • Niet online
Niemand een idee, of kan dit gewoon niet :?

  • robbertb
  • Registratie: September 2000
  • Niet online
Laatste keer dan maar, dat ik deze topic zelf weer omhoog gooi.. vind et namelijk behoorlijk frustrerend dat ik dhcrelay niet werkend krijg.
Heeft iemand nog ideeen ? plss