freeBSD ネットワーク関係 memo

cat /etc/hosts
::1 localhost localhost.example.jp
127.0.0.1 localhost localhost.example.jp
192.168.10.102 BSD.example.jp BSD
192.168.10.102 BSD.example.jp.

cat /etc/rc.conf

# -- sysinstall generated deltas -- # Wed Apr 22 01:18:59 2009
# Created: Wed Apr 22 01:18:59 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.10.1"
hostname="BSD.example.jp"
ifconfig_fxp0="inet 192.168.10.102 netmask 255.255.255.0"
keymap="jp.106"
linux_enable="YES"
moused_enable="YES"
sshd_enable="YES"

cat /etc/host.conf
# Auto-generated from nsswitch.conf
hosts
dns

とりあえず、この3つでいいのかな?
[PR]
by tenten909 | 2009-04-24 03:50 | PC-Unix等