- 论坛徽章:
- 0
|
/etc/sysconfig/network-scripts/ifcfg-eth0
信息
# Virtio Network Device
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=fa:16:3e:09:b6:1e
/////////////////////////////////////////////////////////////
/etc/sysconfig/network
信息
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
/////////////////////////////////////////////////////////////
/etc/hosts
信息
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
//////////////////////////////////////////////////////////////////////////////////////////////
route命令信息
[root@f683eba8-8281-4088-a5b7-e4f716e66c82 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.0.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 10.0.0.147 0.0.0.0 UG 0 0 0 eth0
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
问题:可以ping通网内机子和网关.不能ping通域名,也不能ping通外网.(可以ping 通ssh连接的这台vps的机子.也就是说能ping通(ssh)连上他的那台电脑.);
求解决啊:可以向我索要这个vps去解决。
|
|