From owner-freebsd-questions Sun Sep 8 21:40:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA27902 for questions-outgoing; Sun, 8 Sep 1996 21:40:21 -0700 (PDT) Received: from broken.whitefang.com (broken.whitefang.com [199.173.153.182]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA27883 for ; Sun, 8 Sep 1996 21:40:08 -0700 (PDT) Received: from localhost (shadows@localhost) by broken.whitefang.com (8.7.5/8.7.3) with SMTP id HAA10924 for ; Mon, 9 Sep 1996 07:40:19 +0300 (AST) X-Authentication-Warning: broken.whitefang.com: shadows owned process doing -bs Date: Mon, 9 Sep 1996 07:40:11 +0300 (AST) From: The ShadowS Know Reply-To: shadows@whitefang.com To: questions@freebsd.org Subject: Re: freebsd dip In-Reply-To: <199609080718.AAA17384@taurus.oac.uci.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 8 Sep 1996, Dat Mai Ha wrote: > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 128.200.1.201 UGSc 0 0 sl0 > 127.0.0.1 127.0.0.1 UH 0 80 lo0 > 128.200.1.201 128.200.244.188 UH 1 0 sl0 type add route 128.200.244.188 127.0.0.1 I take it 128.200.244.188 is your IP address. Then you'll be able to easily telnet back into your machine. The rest seems fine. > I dont' know what is FreeBSD box? FreeBSD box or Linux box just means the OS, you could call it slang, and pardon the confusion I might of caused you with the term. > Do I have to recompile my kernel w/ a slip device and how I do the > setting routing for freeBSD? (as you mentioned -> make sure you have > your own ip routed back to your loopback driver.) > > Also, in my hosts file I put as follow: > 127.0.0.1 valentine.bsd.com localhost > 192.168.0.1 valentine.bsd.com valentine That doesnt look right. Try it like this 127.0.0.1 localhost 192.168.0.1 valentine.bsd.com valentine Although I must say the second IP look sort of strange. The routing command I showed you above should get you to route your packets back to your loopback driver (localhost) when you telnet to your internet IP. /etc/hosts is only for lookups and its best kept simple as not to confuse any applications. Especially by having 2 hosts under 2 IPs. I dont recommened that. ------------------------------------------------------------------------------- ShadowS WhiteFang Unix Software Development Thamer Al-Herbish And Consultancy. shadows@whitefang.com Specialising in Custom Network Applications for Unix Systems. -------------------------------------------------------------------------------