免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1428 | 回复: 4
打印 上一主题 下一主题

基础资料转载:如何配置联网的SUN机器 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-01-15 08:31 |只看该作者 |倒序浏览
How to configure a system to run on a network:

1.  /etc/hosts
        This file is used to resolve host name into IP
        addresses.  This file must be updated if no
        naming service is being used.

        This file should contain the IP and host name
        of each system on the local network, including
        any gateways or routers.

    Example:
        127.0.0.1 localhost  
        129.145.71.109 kishori loghost  #this is the IP and host
                                        #name for the local machine
        129.145.71.110 sage                #this is the IP and host
                                        #name for a host on the network

       
2.  #ifconfig -a
        Be sure that both the loopback and network interface
        are up and running.

    Example:
        lo0: flags=849<UP,LOOPBACK,RUNNING,MULTICAST>; mtu 8232
        inet 127.0.0.1 netmask ff000000
        le0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST>; mtu 1500
        inet 129.145.71.109 netmask ffffff00 broadcast 129.145.71.255

        If the interface to the network is not up and running do the following:

                #ifconfig le0 plumb

        NOTE:  The default may be hme0 (for most Ultra machines)

3.  /etc/netmasks

        This file should contain the netmasks.  If you are using the
        default netmasks and it appears in ifconfig -a, this file is
        not necessary.

    Example:

        # The netmasks file associates Internet Protocol (IP) address
        # masks with IP network numbers.
        #
        #         network-number        netmask
        #
        # Both the network-number and the netmasks are specified in
        # "decimal dot" notation, e.g:
        #
        #                 128.32.0.0 255.255.255.0
        #
        129.145.0.0        255.255.255.0

4.  /etc/defaultrouter

        If you want to define a default router include the router name in this
        file.

5.  /etc/hostname.le0 or /etc/hostname.hme0  (depending on you interface type)

        This file should contain the name of the local host.

6.  /etc/resolv.conf

        If you are using dns this file should contain the
        name of the domain and the IP address of the nameserver.
        It is acceptable to list more than one nameserver (up to 4).
        The nameservers will be consulted in the order listed.
        Be careful this file is very sensitive to extra spaces and tabs.

    Example:

        domain support.Corp.Sun.Com
        nameserver        129.150.254.2

7.  /etc/nsswitch.conf
        Check this file for the appropriate entries.  If a naming
        service is being used this file should reflect that.

8.  It is a good idea to reboot the system at this point.
    Check to see if the network is working by pinging other
    machines both inside and outside of your network.

论坛徽章:
0
2 [报告]
发表于 2003-01-15 08:48 |只看该作者

基础资料转载:如何配置联网的SUN机器

sp

论坛徽章:
0
3 [报告]
发表于 2003-01-15 10:10 |只看该作者

基础资料转载:如何配置联网的SUN机器

thank you

论坛徽章:
0
4 [报告]
发表于 2003-01-15 10:45 |只看该作者

基础资料转载:如何配置联网的SUN机器

good boy!!!^_^

论坛徽章:
0
5 [报告]
发表于 2003-08-15 12:29 |只看该作者

基础资料转载:如何配置联网的SUN机器

挺热闹!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP