Centos6 ping 外网返回 connect: Network is unreachable
2017-08-12 20:18
726 查看
今天在虚拟机上装了一个centos 联网方式为桥接方式,虚拟机装好后局域网都可以ping通,但是ping外网就返回 connect: Network is unreachable
后来发现需要在/etc/sysconfig/network-scripts 下加一个 route-eth1 配置文件 eth
为网卡的名称
route-eth1的配置内容如下:
default via 192.168.0.1
#92.168.0.1为网关IP
后来发现需要在/etc/sysconfig/network-scripts 下加一个 route-eth1 配置文件 eth
为网卡的名称
route-eth1的配置内容如下:
default via 192.168.0.1
#92.168.0.1为网关IP
相关文章推荐
- VM下安装Centos6.4发ping外网时出现"network is unreachable"解决
- CentOS6.5 出现 connect:network is unreachable
- centos7 connect: Network is unreachable
- linux 出现ping,错误提示:connect :network is unreachable
- 解决:connect Network is unreachable 和 ping unknown host www.baidu.com
- CentOS启动网络提示connect: Network is unreachable(配置静态路由)
- CentOS启动网络提示connect: Network is unreachable
- 【linux】虚拟机安装centos后ping ip地址出现错误:Network is unreachable
- centos下问题:connect:network is unreachable
- windows平台下安装linux虚拟机,宿主机与虚拟机ping不通,提示connect network is unreachable
- Linux之CentOS操作系统日常问题(一):connect:network is unreachable
- rhel6.5 网卡ping不通 报错connect: network is unreachable
- centos--网络配置问题,提示connect: Network is unreachable
- windows平台下安装linux虚拟机,宿主机与虚拟机ping不通,提示connect network is unreachable
- centos7 minimal connect: Network is unreachable(转)
- ping: sendto: Network is unreachable
- Debian ping同一网段成功,其他网段:network is unreachable
- ping: sendto: Network is unreachable
- ”ssh: connect to host gmail.com port 22: Network is unreachable"的解决办法
- 【问题】安装linux5网络ping不通——network isunreachable