BPF
BYU 158th Ward (BYU158@calliope.et.byu.edu)
Wed, 08 Jan 1997 15:58:07 -0700
I am trying to run DHCP from my linux box. I a currently running 2.0.11
kernal, and running the DHCP server program from the Internet Software
Consortium. HOwever, if linux is configured with more than one ethernet
card, the program will not work. It claims it needs either NIT or BPF
support. I modified the DHCP code to allow ignore all interfaces but
one. (in the dispatch.c added the line
(strcmp(&ifr.ifr_name[3], "1")))
between lines 130, and 131)
It now will run with multiple interfaces, however requires that my
default gateway be located on my interface answering DHCP requests. I
have also tried to complile BFP support in my kernal but have been
unable to do so.
I also thought perhaps I could do BPF on a user level like tcpdump. I
downloaded that source, but was unable to get that to work.
Does anyone have suggestions on how to either compile BFP support into
my kernal, or change the DHCP code to do filtering or let my default
gateway to be on another interface?
Thanks
Matthew Hammond
Network Manager, Brigham Young University College of Engineering
email: hammondm@et.byu.edu