Solaris 8网络管理笔记(想加精华贴)[2]

[入库:2005年9月19日] [更新:2007年3月24日]

本文简介:

Added "Locale" macro to dhcptab.
Added server macro to dhcptab - txd01.
DHCP server started.

###     Common daemon option setup      ###

Would you like to specify nondefault daemon options (Y/[N]):n        # DHCP的后台程序指定,比如SYSLOG

###     DHCP server option setup        ###

Would you like to specify nondefault server options (Y/[N]): n       # 设置DHCP的不同选项,为简便,选 N

###     Select Networks For BOOTP/DHCP Support  ###

Enable DHCP/BOOTP support of networks you select? ([Y]/N):y          # 同意启用网络上DHCP支持

###     Configure Local Networks        ###

Configure BOOTP/DHCP on local LAN network: 192.168.0.0? ([Y]/N):y    # 本地网络
Do you want hostnames generated and inserted in the SUNWfiles hosts table? (Y/[N]):n
Enter starting IP address [192.168.0.0]: 192.168.0.100               # IP地址池的初始IP
Enter the number of clients you want to add (x < 255): 10            # IP地址池的IP数量
Disable (ping) verification of 192.168.0.0 address(es)? (Y/[N]):n    # 不要关闭ping验证
\ 100% Complete.
Configured 10 entries for network: 192.168.0.0.

###     Configure Remote Networks       ###

Would you like to configure BOOTP/DHCP service on remote networks? ([Y]/N):

[b:fa6325c222]三、常见的以太网故障解决方法命令[/b:fa6325c222]
 1 ifconfig
 基本上会用solaris的人,就应该会用这个命令了,它可以列出系统安装的所有的网络接口的详细信息.

bash-2.03# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.0.188 netmask ffffff00 broadcast 192.168.0.255
        ether 8:0:20:a7:91:ce 
这个命令也可以用来创建和配置系统要安装的网络接口,后面我会有详细的例子.
  2  netstat 
 该命令有多种用途,例如显示路由表、可用的服务端口以及目前建立的连接等。

bash-2.03# netstat

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q  State
-------------------- -------------------- ----- ------ ----- ------ -------
u10.32783            192.168.0.118.6000   65219      0 24820      0 ESTABLISHED
u10.32797            192.168.0.118.6000   65391      0 24820      0 ESTABLISHED
u10.32798            192.168.0.118.6000   65291      0 24820      0 ESTABLISHED
localhost.32904      localhost.32875      32768      0 32768      0 ESTABLISHED
localhost.32875      localhost.32904      32768      0 32768      0 ESTABLISHED
.....................................
Active UNIX domain sockets

本文关键:Solaris 8网络管理笔记(想加精华贴)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top