Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 21:45:55 -0800 (PST)
From:      Henry smith <getzz11@yahoo.com>
To:        Scott Nolde <scott@smnolde.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: NATD question
Message-ID:  <20011109054555.81069.qmail@web21101.mail.yahoo.com>
In-Reply-To: <20011108215318.Y44248-100000@bsd.smnolde.com>

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

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 <scott@smnolde.com> 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 <getzz11@yahoo.com>
>  >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 <connected to the internet>
>  >  ... inet 24.205.96.8
>  >#ifconfig xl1 <connected to LAN>
>  >  ... 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




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