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>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org=20
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Sam=20
> Fourman Jr.
> Sent: Tuesday, June 10, 2008 3:08 PM
> To: questions@freebsd.org
> Subject: dhclient and dhcpd
>=20
> quick question I can't seem to figure out
> I have a FreeBSD 7 computer and I am having trouble with dhclient
>=20
> here is my setup
>=20
> Ethernet cable directly from fxp0 to a DSL Modem(that serves=20
> 192.168.0.x via
> DHCP)
> A wireless card(ral0) in hostap mode it has a static ip of=20
> 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.
>=20
> 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=20
> the ral0 dhcpd
> server.
> how do I tell fxp0 to forget about ral0 and listen for the=20
> DSL modem's dhcp
> server ?
>=20
> isn't there some quick dhclient.conf setting?

man dhclient.conf suggests you should use:

	reject 192.168.1.1;

Hope this helps
  Tobias



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