From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 21:11:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DC2F1065685 for ; Tue, 10 Jun 2008 21:11:15 +0000 (UTC) (envelope-from thoellri@adobe.com) Received: from exprod6og103.obsmtp.com (exprod6og103.obsmtp.com [64.18.1.185]) by mx1.freebsd.org (Postfix) with ESMTP id 60AB08FC13 for ; Tue, 10 Jun 2008 21:11:15 +0000 (UTC) (envelope-from thoellri@adobe.com) Received: from source ([192.150.11.134]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP; Tue, 10 Jun 2008 14:11:14 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id m5AL7uG3009123; Tue, 10 Jun 2008 14:07:56 -0700 (PDT) Received: from fe2.corp.adobe.com (fe2.corp.adobe.com [10.8.192.72]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id m5ALBDI0005819; Tue, 10 Jun 2008 14:11:13 -0700 (PDT) Received: from namail2.corp.adobe.com ([10.8.192.64]) by fe2.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 10 Jun 2008 14:11:13 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Jun 2008 14:11:12 -0700 Message-ID: In-Reply-To: <11167f520806101407o7511b89eyf9dbc50d00231975@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: dhclient and dhcpd Thread-Index: AcjLPhKXisNq22HeRNOVk02mM2q82wAAFhuA References: <11167f520806101407o7511b89eyf9dbc50d00231975@mail.gmail.com> From: "Tobias Hoellrich" To: "Sam Fourman Jr." X-OriginalArrivalTime: 10 Jun 2008 21:11:13.0639 (UTC) FILETIME=[839A2F70:01C8CB3E] Cc: freebsd-questions@freebsd.org Subject: RE: dhclient and dhcpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2008 21:11:15 -0000 > -----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