dhclient and dhcpd

Tobias Hoellrich thoellri at adobe.com
Tue Jun 10 21:11:15 UTC 2008


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org 
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Sam 
> Fourman Jr.
> Sent: Tuesday, June 10, 2008 3:08 PM
> To: questions at freebsd.org
> Subject: dhclient and dhcpd
> 
> quick question I can't seem to figure out
> I have a FreeBSD 7 computer and I am having trouble with dhclient
> 
> here is my setup
> 
> Ethernet cable directly from fxp0 to a DSL Modem(that serves 
> 192.168.0.x via
> DHCP)
> A wireless card(ral0) in hostap mode it has a static ip of 
> 192.168.1.1. I
> have dhcpd running and configured to listen on ral0 interface. it is
> supposed to had out DHCP(192.168.1.x) to wifi clients.
> 
> fxp0 needs to use dhclient to obtain a IP from the DSL modem
> the problem is, if I run dhclient fxp0, I get a reply from 
> the ral0 dhcpd
> server.
> how do I tell fxp0 to forget about ral0 and listen for the 
> DSL modem's dhcp
> server ?
> 
> isn't there some quick dhclient.conf setting?

man dhclient.conf suggests you should use:

	reject 192.168.1.1;

Hope this helps
  Tobias


More information about the freebsd-questions mailing list