网络配置生效的问题?

Wikipedia,自由的百科全书

配置项临时使用重启失效永久生效需要重启
主机名hostname <new name>
不要在Window(CDE, JDS)界面中使用
/etc/nodename
/etc/hostname.<Interface>
/etc/inet/hosts
IP地址ifconfig <Interface> plumb
ifconfig <Interface> <IP> up
/etc/inet/hosts
网络掩码ifconfig <Interface> <netmask> up/etc/netmasks
Gateway网关route add default <IP Gateway>/etc/defaultrouter
DHCP 客户端ifconfig <Interface> plumb
ifconfig <Interface> dhcp start
touch /etc/hostname.<Interface>
touch /etc/dhcp.<Interface>
Domain 域名domainname <yourdomain.com>echo <yourdomain.com> > /etc/defaultdomain
Personal tools