Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2008 14:11:12 -0700
From:      "Tobias Hoellrich" <thoellri@adobe.com>
To:        "Sam Fourman Jr." <sfourman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: dhclient and dhcpd
Message-ID:  <E891374F64B9194FB5BFFF28935811CA02A3F1EC@namail2.corp.adobe.com>
In-Reply-To: <11167f520806101407o7511b89eyf9dbc50d00231975@mail.gmail.com>
References:  <11167f520806101407o7511b89eyf9dbc50d00231975@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Sam 
> Fourman Jr.
> Sent: Tuesday, June 10, 2008 3:08 PM
> To: questions@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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E891374F64B9194FB5BFFF28935811CA02A3F1EC>