From owner-freebsd-questions Sat May 27 20:20:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 11F7F37B53E for ; Sat, 27 May 2000 20:20:03 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id XAA54250; Sat, 27 May 2000 23:19:26 -0400 (EDT) (envelope-from cjc) Date: Sat, 27 May 2000 23:19:25 -0400 From: "Crist J. Clark" To: Jahanur R Subedar Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Getway setup help through cable modem! Message-ID: <20000527231925.A52838@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from jahanur@jjsoft.com on Sat, May 27, 2000 at 01:04:47AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, May 27, 2000 at 01:04:47AM -0500, Jahanur R Subedar wrote: > > HI Folks, > > The service ppl came and installed the cable modem with Static IP. > I am trying to make a Freebsd 2.2.5 server to act as an Getway for my > 4 other internal Lan computers. > > This is what I have done so far: > 1) Installed a network card in the Freebsd machine. > 2) Configured the rc.conf file for ifconfig with the static IP address > given to me by cable modem company. > 3) also Configured an alias of the same NIC with virtual IP address to see > the Local LAN. Couple of things: 1) Where did this "virtual" IP address come from? 2) LAN means local area network. Isn't "local LAN" somewhat redundant? 3) You have no "local LAN." Everything connected to the hub is all one LAN with the cable LAN. > 4) Set the Defaultrouter="cable_modem_ip_address" > 5) Set the Getway_enable+"YES" > 6) modified the hosts, resolve.conf and hosts.equiv. ^^^^^^^^^^^ I would strongly suggest you not trust IP addresses when you are hooked up to a untruested network like a coax cable LAN. > 7) Connected a RJ45 UTP cable from the HUB "out_to_hub" port to the cable > modem RJ45 port. > 8) Connected one of the RJ45 from the HUB to the NIC of the FreeBSD RJ45. Do all of the link lights come on? > 9) Reebooted the system. > > I am still not being able to go outside from the FreeBSD. From what you described, your FreeBSD box should talk to the outside just fine. However, from what you descrbed, it is not acting like a gateway for anyone. > Please help me where am I doing wrong. > Do you think I need IPFW/NATD installed? Probably. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message