阅 读 文 章

贡献去年在论坛粘贴的资料,138页的WORD。

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(race) | 时间:2007-05-27 | 浏览:人次 ]


后和裸机上装dos622感觉一样,原来学汇编的时候我就是在vmware里装的dos622,省了
不少麻烦。          

一块网卡两个ip
方法一:
编辑/etc/hostname.iprb0:1
编辑/etc/hosts
方法二:
把下列内容加到/etc/rc2里
ifconfig iprb0:1 192.168.2.57.netmask 255.255.255.0
一块网卡帮定三个ip,并且子网掩码不同
作者:zico 
搞定!如下: 
/etc/hosts 
127.0.0.1 localhost 
210.xxx.xx1.xx dbs loghost 
192.168.9.15 mytestip 
192.168.9.65 mytestip2 

/etc/netmasks 
210.xx.xx.0 255.255.255.0 
192.168.9.0 255.255.255.192 
192.168.9.64 255.255.255.252 
/etc/hme0 
dbs 
/etc/hme0:1 
mytestip 
/etc/hme0:2 
mytestip2 

#init 6 

... 

#ifconfig -a 
lo0: flags=1000849 mtu 8232 index 1 
inet 127.0.0.1 netmask ff000000 
hme0: flags=1000843 mtu 1500 index 2 
inet 210.xxx0.2xx.xx netmask ffffff00 broadcast 210.82.31.255 
hme0:1: flags=1000843 mtu 1500 index 2 
inet 192.168.9.15 netmask ffffffc0 broadcast 192.168.9.63 
hme0:2: flags=1000843 mtu 1500 index 2 
inet 192.168.9.65 netmask fffffffc broadcast 192.168.9.67 
sun官方网站
1. How can I bind multiple (virtual) IP addresses to a single network interface card ? 
The following steps demonstrate how to configure the ethernet (elx0) device to support more than one IP address. 
Create a text file in the /etc directory called hostname.elx0:1 and add this entry to file: 
virtual 
Add this IP address and hostname in the /etc/hosts file: 
10.0.0.1 virtual 
Create a new script file in the /etc/rc2.d directory called S70virtual, and add these entries in this file (for permanent change): 
ifconfig elx0:1 10.0.0.1 up netmask 255.255.255.0 
Reboot the system. 
To delete a logical interface, use the unplumb command . For example, 
example% ifconfig elx0:1 down unplumb will delete the logical interface elx0:1. 

3.配置DNS服务器
在Solaris 中,in.named 进程域名服务器。通过网络初始化脚本S72inetsvc在level 2级上启动的,启动后,它读取/etc/named.conf以获取它所管理的区域和区域数据库文件。区域文件除了包含主机名到IP地址的映射外,还包含其他内容。
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 资料 论坛 去年 贡献 文件 系统 使用 安装 可以 需要

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.