手机
当前位置:查字典教程网 >操作系统 >Solaris >配置DNS 和网关
配置DNS 和网关
摘要:#ifconfighme0unplumb--停止网卡#ifconfighme0plumb--起用网卡#ifconfighme0inet192...

# ifconfig hme0 unplumb --停止网卡

# ifconfig hme0 plumb --起用网卡

# ifconfig hme0 inet 192.168.1.1 netmask 255.255.255.0 up --添加ip、子网掩码

# vi /etc/defaultrouter---添加网关

# echo "myhost" > /etc/nodename --- 添加主机名

#echo "domain domain.com" > /etc/resolv.conf---设置域名,可免

#echo "nameserver 218.218.218.218" >> /etc/resolv.conf ---DNS的IP

# vi /etc/nsswitch.conf 更改 hosts:file dns ----设置查询方式

【配置DNS 和网关】相关文章:

忘记solaris root密码的解决办法

Solaris 10下载地址

详细Solaris 11 安装图解教程

solaris系统下更改IP地址

SOLARIS系统下SSH安装和自动运行

solaris/linux 增加swap交换空间的方法

查看solaris下安装硬盘个数

Solaris系统命令中英对照

solaris8+apache2+weblogic813+db2_82客户端+128 安装过程

Solaris 10 OS 快速安裝配置 Apache + Mysql + php

精品推荐
分类导航