From owner-freebsd-hackers Tue Jan 21 13:27:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA14708 for hackers-outgoing; Tue, 21 Jan 1997 13:27:22 -0800 (PST) Received: from igw3.watson.ibm.com (igw3.watson.ibm.com [129.34.139.18]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id NAA14692 for ; Tue, 21 Jan 1997 13:27:18 -0800 (PST) Received: from mailhub1.watson.ibm.com (mailhub1.watson.ibm.com [9.2.249.31]) by igw3.watson.ibm.com (8.7.6/8.7.1) with ESMTP id QAA07562; Tue, 21 Jan 1997 16:27:59 -0500 Received: from hawpub1.watson.ibm.com (hawpub1.watson.ibm.com [9.2.90.32]) by mailhub1.watson.ibm.com (8.8.2/01-15-97) with SMTP id QAA03494; Tue, 21 Jan 1997 16:27:14 -0500 Received: by hawpub1.watson.ibm.com (AIX 3.2/UCB 5.64/6/25/96) id AA70203; Tue, 21 Jan 1997 16:27:13 -0500 Date: Tue, 21 Jan 1997 16:27:13 -0500 From: kavitha Message-Id: <9701212127.AA70203@hawpub1.watson.ibm.com> To: tomy@gunpowder.Stanford.EDU Subject: WIDE DHCP Cc: hackers@freebsd.org Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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