Date: Mon, 9 Sep 1996 07:40:11 +0300 (AST) From: The ShadowS Know <shadows@whitefang.com> To: questions@freebsd.org Subject: Re: freebsd dip Message-ID: <Pine.NEB.3.95.960909073426.10841C-100000@broken.whitefang.com> In-Reply-To: <199609080718.AAA17384@taurus.oac.uci.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -------------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.960909073426.10841C-100000>