|
ping 10.0.0.159能通;ping www.google.cn提示ping unknow host.
/etc/sysconfig/network-..ipv4
ONBOOT=yes
SERVICE=ipv4-static
IP=10.0.0.159
#GATEWAY=10.0.0.1
NETMASK=255.255.255.0
PREFIX=24
BROADCAST=211.141.90.68
/etc/hosts
# Begin /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.0.0.159 mylfs.mydomain.org mylfs
# End /etc/hosts
/etc/host.conf
order hosts,bind
multi on
nospoof on
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mylfs
GATEWAY=10.0.0.1
FORWARD_IPV4=yes
GATEWAYDEV=eth0
GATEWAYDEV=wlan0
/etc/nsswitch.conf
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
hosts: files dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
# End /etc/nsswitch.conf
/etc/resolv.conf
# Begin /etc/resolv.conf
nameserver 211.141.90.68
nameserver 202.106.196.115
# End /etc/resolv.conf
电脑连接路由上网,有两个网卡;在xp能上网;211.141.90.68与xp一样 |
|