Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 1995 19:30:53 +0900
From:      Shigeru IKEDA <si@pickwick.bekkoame.or.jp>
To:        rogersb@synrome.com
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Loopback net
Message-ID:  <199504011030.TAA00220@pickwick.bekkoame.or.jp>
In-Reply-To: <9503232027.AA09342@uu10.psi.com> "rogersb@synrome.com"

next in thread | previous in thread | raw e-mail | index | archive | help
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 <si@pickwick.bekkoame.or.jp> 
http://www.bekkoame.or.jp/~si (not yet)
PGP public key available upon request.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504011030.TAA00220>