From owner-freebsd-questions Fri Dec 4 09:33:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28263 for freebsd-questions-outgoing; Fri, 4 Dec 1998 09:33:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dax.belen.k12.nm.us (dax.belen.k12.nm.us [206.206.121.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28258 for ; Fri, 4 Dec 1998 09:33:29 -0800 (PST) (envelope-from wildcard@dax.belen.k12.nm.us) Received: from localhost (wildcard@localhost) by dax.belen.k12.nm.us (8.8.7/8.8.7) with SMTP id KAA17883; Fri, 4 Dec 1998 10:39:18 -0700 (MST) (envelope-from wildcard@dax.belen.k12.nm.us) Date: Fri, 4 Dec 1998 10:39:18 -0700 (MST) From: wildcardus freakis To: Roger Hall cc: freebsd-questions@FreeBSD.ORG Subject: Re: Network help In-Reply-To: <2C10B557AEBDD011872500A0C933CDDB4D8739@mail.esigroup.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok...I don't know if you are using NAT (natd) or not but I do know that RFC1918 address cannot talk to public addresses without a Network Address Traslation server/device/service...any regular router will drop packets marked with RFC 1918 address.... Please correct me if I am wrong....but the default router should be your NAT server. Sasha On Fri, 4 Dec 1998, Roger Hall wrote: > In /stand/sysinstall I configured the network with an IP address of > 192.30.2.125 (which is an internal virtual lan), a gateway of > 205.218.124.1 and Name Server 205.218.124.2. The 205 addresses are > public internet address. > > In /etc/rc.conf: > network_interfaces="ep0 sl0 lp0" > ifconfig_ep0="inet 192.30.2.125 netmask 255.255.255.0" > ifconfig_sl0="inet 192.30.2.125 netmask 255.255.255.0" > ifconfig_sl0="inet 192.30.2.125 netmask 255.255.255.0" (that's right, > two sl's) > ifconfig_lo0="inet 192.30.2.125 netmask 255.255.255.0" > > defaultrouter="205.218.124.1" > > But netstat -r is very short: > > localhost localhost > 192.30.2 link#2 > > I can ping any 192 address, but 205 is unreachable. Obviously there is > no route, but why, and how to fix? And isn't that route supposed to say > "192.30.2.0"? > > When I try "route add default gw" as described on page 319 of the > complete Freebsd, I get: > > route: bad address: gw > > TIA! > > Roger Hall > Webmaster > http://www.esigroup.com > 501.975.0840.296 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message