Date: Tue, 21 Jan 1997 16:27:13 -0500 From: kavitha <kavitha@watson.ibm.com> To: tomy@gunpowder.Stanford.EDU Cc: hackers@freebsd.org Subject: WIDE DHCP Message-ID: <9701212127.AA70203@hawpub1.watson.ibm.com>
next in thread | raw e-mail | index | archive | help
Hello, Has anyone tried the WIDE implemenation of DHCP on FreeBSD?. I have an implementation of Mobile-IP protocol (RFC2002) on FreeBSD(verr 2.1.5). I have noticed that the WIDE implementation of DHCP supports the option, "MOBILEIP_HA" for acquiring the Home Address through DHCP. Now I want to test my mobile_ip protocol with DHCP. When I tried to run the WIDE implementaion DHCP, I'm facing the following problems: 1. First of all it doesn't compile properly. I think the line "#ifndef BSDOS" in flushroute.c (line no.142 ) needs to be replaced by "#if !defined(BSDOS) && !defined(__FreeBSD__)". as there is no "kinfo.h" in FreeBSD. 2. When I compile with the above modifications, while running it gets stuck at open("/dev/bpf*",O_RDWR) in "initialize" in dhcpc_subr.c with the message "Can't open bpf to read the dhcp messages /dev/bpf9: No such file or directory". Isn't it supposed to create the file if there is none? Or am I supposed to keep some bpf files in /dev? Currently I'm just running the client without the server just to see if it sends out any message. I'm stuck here. Also could you please tell me how to use this "mobileip" option. Nothing is specified in any of the README files or docs about specifying the options. Do I have to put the option in a file or something, from which the client will read and will put it in the DHCPREQUEST message? Are there any other commad line parameters that I will have to specify to include these options other than "dhcpc -d ze0"? Any info regarding this will be much appreciated. Thanks in Advance Regards, Kavitha
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9701212127.AA70203>