Windows系統(tǒng)(windows 2003為例)
位置:開始—>設置—>控制面板-->網(wǎng)絡連接-->本地連接[屬性]-->Internet協(xié)議(TCP/IP) [屬性]
Linux系統(tǒng)(CentOS為例)
修改網(wǎng)卡配置文件:vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0c:29:e9:e8:04
IPV6INIT=yes
IPV6_AUTOCONF=yes
ONBOOT=yes
TYPE=Ethernet
IPADDR=X.X.X.X //填入已分配的IP、掩碼和網(wǎng)關
NETMASK= X.X.X.X
GATEWAY= X.X.X.X
修改DNS配置文件:vi /etc/resolv.conf
nameserver 211.155.23.88
nameserver 211.155.27.88
保存退出,執(zhí)行/etc/init.d/network restart重啟網(wǎng)卡則可;