From owner-freebsd-questions Thu Nov 8 21:46: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web21101.mail.yahoo.com (web21101.mail.yahoo.com [216.136.227.103]) by hub.freebsd.org (Postfix) with SMTP id 9104C37B41D for ; Thu, 8 Nov 2001 21:45:55 -0800 (PST) Message-ID: <20011109054555.81069.qmail@web21101.mail.yahoo.com> Received: from [209.8.72.252] by web21101.mail.yahoo.com via HTTP; Thu, 08 Nov 2001 21:45:55 PST Date: Thu, 8 Nov 2001 21:45:55 -0800 (PST) From: Henry smith Subject: Re: NATD question To: Scott Nolde Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20011108215318.Y44248-100000@bsd.smnolde.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have installed isc-dhcp2. ================== # dhcpd .... Listening on BPF/xl1/00:01:02:d0:b9:ae/192.168.1.1 Sending on BPF/xl1/00:01:02:d0:b9:ae/192.168.1.1 Listening on BPF/xl0/00:50:da:d4:84:f5/24.205.96.18 Sending on BPF/xl0/00:50:da:d4:84:f5/24.205.96.18 Sending on socket/fallback/fallback.net =================== My windows client is still not connected to the internet. After awhile, on my FreeBSD: dhcpd: Abandonging IP addess 192.168.1.1: declined dhcpd: Reclaiming abandoned IP address 192.168.1.1 dhcpd: Abandoning IP address 192.168.1.1: pinged before offer Any help is appreciated, Smith. --- Scott Nolde wrote: > Please see > http://www.mostgraveconcern.com/freebsd/ipfw.html. > > The typical network design for someone in your > situtuation is: > INET <--> FBSD router <--HUB--> clients > > If you wish your windows computer to get an IP > address using dhcp you'll > have to install a dhcp server on your freebsd > computer. Check the ports > collection out for isc-dhcpd2. > > - Scott > > smacked into the keyboard previously by > owner-freebsd-questions@FreeBSD.ORG: > > >Date: Thu, 8 Nov 2001 18:36:38 -0800 (PST) > >From: Henry smith > >To: freebsd-questions@FreeBSD.ORG > >Subject: NATD question > > > >Hi, > > > >I'm using cable modem to connect to the internet. > I > >want to make my FreeBSD box as a gateway of my > >microsoft windows client. > > > > > >==== FreeBSD Configuration ==== > > > >/etc/rc.conf: > > > >gateway_enable="YES" > >natd_enable="YES" > >natd_flags="" > > > >#ifconfig xl0 > > ... inet 24.205.96.8 > >#ifconfig xl1 > > ... inet 192.168.1.1 > >#ps x | grep natd > > 348 ?? Ss 0:00.04 natd -interface xl1 > >#ipfw list > > 00001 allow ip from any to any > > 00050 divert 8668 ip from any to any > > > >==== Windows Configuration ==== > > > >*** Obtain an IP address automatically > > > >======================================== > > > > > >My FreeBSD box is connected to the internet, but > my > >windows client is not connected to the internet. > > > >Does someone have any idea to help me ? > > > >Thank you very much, > > Smith. > > > > > >__________________________________________________ > >Do You Yahoo!? > >Find a job, post your resume. > >http://careers.yahoo.com > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-questions" in the body > of the message > > > > Scott Nolde > GPG Key 0xD869AB48 > __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message