From owner-freebsd-questions Sat Apr 1 09:09:45 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA17688 for questions-outgoing; Sat, 1 Apr 1995 09:09:45 -0800 Received: from bekkoame.bekkoame.or.jp (bekkoame.bekkoame.or.jp [202.11.252.2]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA17676 for ; Sat, 1 Apr 1995 09:09:42 -0800 Received: (from uucp@localhost) by bekkoame.bekkoame.or.jp (8.6.10+2.4W/3.3W7) id CAA24174; Sun, 2 Apr 1995 02:09:09 +0900 >Received: (from si@localhost) by pickwick.bekkoame.or.jp (8.6.8/3.3W8-uucp) id TAA00220; Sat, 1 Apr 1995 19:30:53 +0900 Date: Sat, 1 Apr 1995 19:30:53 +0900 From: Shigeru IKEDA Message-Id: <199504011030.TAA00220@pickwick.bekkoame.or.jp> To: rogersb@synrome.com CC: freebsd-questions@FreeBSD.org In-reply-to: <9503232027.AA09342@uu10.psi.com> "rogersb@synrome.com" Subject: Re: Loopback net Content-Type: text Content-Length: 2199 Sender: questions-owner@FreeBSD.org Precedence: bulk hello. my machines domain name is 'pickwick.bekkoame.or.jp' I use Dialup PPP occasionally. here is my setting: /etc/hosts # $Id: hosts,v 1.4 1994/10/08 14:12:27 shigeru Exp shigeru $ # # Host Database # This file should contain the addresses and aliases # for local hosts that share this file. # In the presence of the domain name service or NIS, this file may # not be consulted at all; see /etc/host.conf for the resolution order. # # 127.0.0.1 localhost localhost.bekkoame.or.jp # # Imaginary network. 127.0.0.1 pickwick pickwick.bekkoame.or.jp # # # NB: 0 is not a valid network number. PLEASE PLEASE PLEASE do not try # to invent your own network numbers but instead get one from your # network provider (if any) or from the Internet Registry (ftp to # rs.internic.net, directory `/templates'). # /etc/networks # @(#)networks 5.1 (Berkeley) 6/30/90 # # Your Local Networks Database # your-net 127 # your comment your-netmask 255.255.255 # subnet mask for your-net # # Your subnets # subnet1 127.0.1 alias1 # comment 1 subnet2 127.0.2 alias2 # comment 2 # # Internet networks (from nic.ddn.mil) # /etc/netstart #!/bin/sh - # # $Id: netstart,v 1.4 1994/09/18 07:33:06 shigeru Exp shigeru $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 routedflags=-q timedflags=NO xntpdflags="NO" ntpdate="NO" rwhod=NO sendmail_flags="-bd -q30m" #kerberos_server=YES #nfs_server=YES #name_server=YES #gated=YES # my-name is my symbolic name # my-netmask is specified in /etc/networks # hostname=`cat /etc/myname` hostname $hostname if [ -e /etc/hostname.ed0 ]; then ifconfig ed0 `cat /etc/hostname.ed0` fi if [ -e /etc/hostname.ed1 ]; then ifconfig ed1 `cat /etc/hostname.ed1` fi if [ -e /etc/hostname.ie0 ]; then ifconfig ie0 `cat /etc/hostname.ie0` fi if [ -e /etc/hostname.is0 ]; then ifconfig is0 `cat /etc/hostname.is0` fi #if [ -e /etc/hostname.ppp0 ]; then # ifconfig ppp0 `cat /etc/hostname.ppp0` #fi # set the address for the loopback interface ifconfig lo0 inet localhost # use loopback, not the wire #route add $hostname localhost hope this help -- Shigeru IKEDA http://www.bekkoame.or.jp/~si (not yet) PGP public key available upon request.