ネットワーク


ネットワーク構成について


ネットワークの設定

  • 上記のネットワーク構成に基づいて、以下の様に設定しています。

    【/etc/sysconfig/network】
    NETWORKING=yes
    HOSTNAME=taro.home
    DOMAINNAME=home
    GATEWAY=192.168.0.1
    

    【/etc/sysconfig/network-scripts/ifcfg-eth0】
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.0.255
    IPADDR=192.168.0.4
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    ONBOOT=yes
    

    【/etc/hosts】
    127.0.0.1		localhost.home localhost
    192.168.0.2		hiroshi.home hiroshi
    192.168.0.3		michiko.home michiko
    192.168.0.4		taro.home taro
    

    【/etc/host.conf】
    order hosts,bind
    

    【/etc/resolv.conf】
    nameserver 192.168.0.1
    

トップへもどる


Copyright (c) 2001 Hiroshi Nakamura. All rights reserved.