From owner-freebsd-questions Fri Sep 21 5:21:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls20.mediaone.net (chmls20.mediaone.net [24.147.1.156]) by hub.freebsd.org (Postfix) with ESMTP id AC4D637B41A for ; Fri, 21 Sep 2001 05:21:36 -0700 (PDT) Received: from mercedes.local.domain (h000103d2e005.ne.mediaone.net [66.31.215.73]) by chmls20.mediaone.net (8.11.1/8.11.1) with SMTP id f8LCKXx16322; Fri, 21 Sep 2001 08:20:33 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Chris Browning To: tonspaan@xs4all.nl (Ton Spaan) Subject: Re: Can't get on the net Date: Fri, 21 Sep 2001 08:27:37 -0400 X-Mailer: KMail [version 1.2] References: <3ba9c6e3.34509513@newszilla.xs4all.nl> In-Reply-To: <3ba9c6e3.34509513@newszilla.xs4all.nl> Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <0109210827370K.00429@mercedes.local.domain> Content-Transfer-Encoding: 8bit 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 This belongs on -questions, not -newbies. That being said, here's a few pointers... On Thursday 20 September 2001 06:44, Ton Spaan wrote: > Hi, > > I build my first FreeBSD server. I tried. > I got both of my NIC's working. Pretty work. > > One of them gets his configuration from the DHCP server of my cable > provider. > The other one I managed to bind IP to for my local network. > If I connect trough a hub to this NIC I can send a ping and get a > replay. You have already gotten a lot further on your own than a lot of folks do. > > But when I configure my IE to use this FreeBSD as a proxy I get the > message page not found. I think what you want is a gateway/router w/NAT rather than a proxy. > > I also can't ping a server or an IP-number on the net. > > I guess it has something to do with the DNS configuration. If you're can't ping IP numbers, it's not a DNS problem; it's more basic than that. What's happening is that you can ping the inside (your LAN) interface of the FreeBSD box, but the FreeBSD box doesn't know how to send the packets from its inside interface to its outside interface. I would assume that you cannot ping the outside interface of your FreeBSD box. So first, you want it to act as a gateway. Read the man page for rc.conf. Next, if your LAN is using private IP addresses, nothing on the Internet will route them. You need to have them translated to the IP of your outside interface, which is a public IP address and will be routed. This is Network Address Translation (NAT). If you have a dial-up modem there's one method; if you have a broadband connection there's another method. > > I downloaded and installed a DHCP server for my FreeBSD machine. > But I don't know how to configure it. Like I said, that's more than some 'newbies' can manage. Look at the man page for dhcpd (the demon) and at the man page for dhcpd.conf (the config file). > > The DNS server does it has to be the DNS server of my provider? The short answer is yes. > Do I need to configure a gateway? Yes. I'm going to move this to -questions. Look there for replies. -- ---------------------------- Chris Browning brownicm@prokyon.com ---------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message