Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1174395
  • 博文数量: 245
  • 博客积分: 10185
  • 博客等级: 上将
  • 技术积分: 2744
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-30 17:07
文章分类

全部博文(245)

文章存档

2015年(1)

2014年(1)

2013年(1)

2012年(1)

2011年(37)

2010年(20)

2009年(14)

2008年(38)

2007年(88)

2006年(44)

分类:

2006-11-07 17:45:06

摘要: 本文介绍了solaris配置网络时的所有配置文件!!
 
第一章 网络地址和掩码
1. /etc/hostname.interface

Interface是网卡的型号,有le、hme等。Le是十兆网卡,hme为百兆网卡等等。后面跟一个数字,第一个十兆网卡为le0,第二个为le1;第二个百兆网卡为hme0,第二个为hme1等等。
文件的内容是这块网卡的名字,如Sunrise、Sunny。
#more /etc/hostname.le0
Sunrise
# more /etc/hostname.hme0
Sunny

2. /etc/hosts文件

系统名与IP地址的映射
与/etc/hostname.interface 协同工作,配置本机网卡地址
# more /etc%
阅读(867) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~